@itilite/lumina-ui 1.0.10-alpha → 1.0.11-alpha

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.
@@ -1218,11 +1218,12 @@ function getPresets() {
1218
1218
  label: "Previous week",
1219
1219
  key: "previous-week",
1220
1220
  getRange: () => {
1221
- const dayOfWeek = today.getDay();
1222
- const start = new Date(today);
1223
- start.setDate(today.getDate() - dayOfWeek - 6);
1224
- const end = new Date(today);
1225
- return [start, end];
1221
+ const daysToLastSunday = today.getDay() === 0 ? 7 : today.getDay();
1222
+ const lastSunday = new Date(today);
1223
+ lastSunday.setDate(today.getDate() - daysToLastSunday);
1224
+ const monday = new Date(lastSunday);
1225
+ monday.setDate(lastSunday.getDate() - 6);
1226
+ return [monday, lastSunday];
1226
1227
  }
1227
1228
  },
1228
1229
  {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  AdvancedDateRangePicker,
3
3
  AdvancedDateRangePicker_default
4
- } from "../../chunk-GGWY2SYX.mjs";
4
+ } from "../../chunk-XECXKSTC.mjs";
5
5
  import "../../chunk-GU5F7Z7I.mjs";
6
6
  import "../../chunk-MLCMZRUC.mjs";
7
7
  import "../../chunk-FPH63V2R.mjs";
@@ -0,0 +1,453 @@
1
+ import {
2
+ Select_default
3
+ } from "./chunk-GU5F7Z7I.mjs";
4
+ import {
5
+ InternalCalendar_default
6
+ } from "./chunk-FPH63V2R.mjs";
7
+ import {
8
+ Button_default
9
+ } from "./chunk-AF2RKLH6.mjs";
10
+
11
+ // src/atom/AdvancedDateRangePicker/AdvancedDateRangePicker.tsx
12
+ import { memo, useCallback, useEffect, useMemo, useState } from "react";
13
+ import clsx from "clsx";
14
+ import dayjs from "dayjs";
15
+ import customParseFormat from "dayjs/plugin/customParseFormat.js";
16
+ import isSameOrBefore from "dayjs/plugin/isSameOrBefore.js";
17
+
18
+ // src/atom/AdvancedDateRangePicker/AdvancedDateRangePicker.module.scss
19
+ var AdvancedDateRangePicker_module_default = { "root": "AdvancedDateRangePicker-module__root___udir8", "singleCalendar": "AdvancedDateRangePicker-module__singleCalendar___qy2-H", "inner": "AdvancedDateRangePicker-module__inner___P4OHa", "left": "AdvancedDateRangePicker-module__left___T6E84", "sidebarItem": "AdvancedDateRangePicker-module__sidebarItem___-NXPm", "sidebarItemActive": "AdvancedDateRangePicker-module__sidebarItemActive___5GmBY", "main": "AdvancedDateRangePicker-module__main___G4MU9", "header": "AdvancedDateRangePicker-module__header___mxXEE", "timezoneWrapper": "AdvancedDateRangePicker-module__timezoneWrapper___886Qm", "dateTimeWrapper": "AdvancedDateRangePicker-module__dateTimeWrapper___unDQJ", "headerGroup": "AdvancedDateRangePicker-module__headerGroup___J7mJB", "headerLabel": "AdvancedDateRangePicker-module__headerLabel___Yvhkr", "headerSeparator": "AdvancedDateRangePicker-module__headerSeparator___Vwx6P", "timezoneSelect": "AdvancedDateRangePicker-module__timezoneSelect___f4oln", "timezoneSelectContainer": "AdvancedDateRangePicker-module__timezoneSelectContainer___8SMc4", "timezoneSelectInput": "AdvancedDateRangePicker-module__timezoneSelectInput___ol0-7", "timezoneDisabledBadge": "AdvancedDateRangePicker-module__timezoneDisabledBadge___VBxOd", "inputWrapper": "AdvancedDateRangePicker-module__inputWrapper___bFFNF", "dateTimeColumn": "AdvancedDateRangePicker-module__dateTimeColumn___tdDV3", "dateTimeGroup": "AdvancedDateRangePicker-module__dateTimeGroup___azF09", "dateInput": "AdvancedDateRangePicker-module__dateInput___0t9ww", "inputError": "AdvancedDateRangePicker-module__inputError___A5hid", "timeInput": "AdvancedDateRangePicker-module__timeInput___Jalr9", "errorMessage": "AdvancedDateRangePicker-module__errorMessage___gx7ag", "body": "AdvancedDateRangePicker-module__body___f8XYj", "footer": "AdvancedDateRangePicker-module__footer___rsJ2w", "doneBtn": "AdvancedDateRangePicker-module__doneBtn___mt-Sv" };
20
+
21
+ // src/atom/AdvancedDateRangePicker/AdvancedDateRangePicker.tsx
22
+ import { jsx, jsxs } from "react/jsx-runtime";
23
+ dayjs.extend(customParseFormat);
24
+ dayjs.extend(isSameOrBefore);
25
+ var DEFAULT_TIME = { hour: "12", minute: "00", period: "PM" };
26
+ function getPresets() {
27
+ const today = /* @__PURE__ */ new Date();
28
+ today.setHours(0, 0, 0, 0);
29
+ return [
30
+ {
31
+ label: "Custom",
32
+ key: "custom",
33
+ getRange: () => [null, null]
34
+ },
35
+ {
36
+ label: "Yesterday",
37
+ key: "yesterday",
38
+ getRange: () => {
39
+ const d = new Date(today);
40
+ d.setDate(d.getDate() - 1);
41
+ return [d, d];
42
+ }
43
+ },
44
+ {
45
+ label: "Previous week",
46
+ key: "previous-week",
47
+ getRange: () => {
48
+ const daysToLastSunday = today.getDay() === 0 ? 7 : today.getDay();
49
+ const lastSunday = new Date(today);
50
+ lastSunday.setDate(today.getDate() - daysToLastSunday);
51
+ const monday = new Date(lastSunday);
52
+ monday.setDate(lastSunday.getDate() - 6);
53
+ return [monday, lastSunday];
54
+ }
55
+ },
56
+ {
57
+ label: "This month",
58
+ key: "this-month",
59
+ getRange: () => {
60
+ const start = new Date(today.getFullYear(), today.getMonth(), 1);
61
+ const end = new Date(today.getFullYear(), today.getMonth() + 1, 0);
62
+ return [start, end];
63
+ }
64
+ },
65
+ {
66
+ label: "Previous month",
67
+ key: "previous-month",
68
+ getRange: () => {
69
+ const start = new Date(today.getFullYear(), today.getMonth() - 1, 1);
70
+ const end = new Date(today.getFullYear(), today.getMonth(), 0);
71
+ return [start, end];
72
+ }
73
+ },
74
+ {
75
+ label: "Previous quarter",
76
+ key: "previous-quarter",
77
+ getRange: () => {
78
+ const month = today.getMonth();
79
+ const quarter = Math.floor(month / 3);
80
+ const startMonth = (quarter - 1) * 3;
81
+ const start = new Date(today.getFullYear(), startMonth, 1);
82
+ const end = new Date(today.getFullYear(), startMonth + 3, 0);
83
+ return [start, end];
84
+ }
85
+ }
86
+ ];
87
+ }
88
+ function applyDateMask(v, prev) {
89
+ if (v.length < prev.length) return v;
90
+ const digits = v.replace(/[^\d]/g, "").slice(0, 8);
91
+ if (digits.length >= 2) {
92
+ const d = Number(digits.slice(0, 2));
93
+ if (d < 1 || d > 31) return prev;
94
+ }
95
+ if (digits.length >= 4) {
96
+ const m = Number(digits.slice(2, 4));
97
+ if (m < 1 || m > 12) return prev;
98
+ }
99
+ let result = "";
100
+ if (digits.length > 0) result += digits.slice(0, 2);
101
+ if (digits.length >= 2) result += "-";
102
+ if (digits.length > 2) result += digits.slice(2, 4);
103
+ if (digits.length >= 4) result += "-";
104
+ if (digits.length > 4) result += digits.slice(4, 8);
105
+ return result.slice(0, 10);
106
+ }
107
+ function applyTimeMask(v, prev) {
108
+ if (v.length < prev.length) return v;
109
+ const digits = v.replace(/[^\d]/g, "").slice(0, 4);
110
+ if (digits.length >= 2) {
111
+ const h = Number(digits.slice(0, 2));
112
+ if (h < 1 || h > 12) return prev;
113
+ }
114
+ if (digits.length >= 4) {
115
+ const m = Number(digits.slice(2, 4));
116
+ if (m > 59) return prev;
117
+ }
118
+ let result = "";
119
+ if (digits.length > 0) result += digits.slice(0, 2);
120
+ if (digits.length >= 2) result += ":";
121
+ if (digits.length > 2) result += digits.slice(2, 4);
122
+ if (v.toUpperCase().includes("A")) result += " AM";
123
+ else if (v.toUpperCase().includes("P")) result += " PM";
124
+ else if (digits.length === 4) result += " ";
125
+ return result.slice(0, 8);
126
+ }
127
+ function formatForDisplay(date) {
128
+ if (!date) return "";
129
+ return dayjs(date).format("DD-MM-YYYY");
130
+ }
131
+ function validateDateString(raw) {
132
+ const regex = /^(0[1-9]|[12][0-9]|3[01])-(0[1-9]|1[0-2])-\d{4}$/;
133
+ if (!regex.test(raw)) return false;
134
+ const [d, m, y] = raw.split("-").map(Number);
135
+ const date = new Date(y, m - 1, d);
136
+ return date.getFullYear() === y && date.getMonth() === m - 1 && date.getDate() === d;
137
+ }
138
+ function validateTimeString(raw) {
139
+ const regex = /^(0[1-9]|1[0-2]):(0[0-9]|[1-5][0-9])\s(AM|PM)$/i;
140
+ return regex.test(raw);
141
+ }
142
+ function parseDateInput(raw) {
143
+ if (!validateDateString(raw)) return null;
144
+ return dayjs(raw, "DD-MM-YYYY", true).toDate();
145
+ }
146
+ function parseTimeInput(raw) {
147
+ if (!validateTimeString(raw)) return null;
148
+ const match = raw.match(/^(\d{1,2}):(\d{2})\s*(AM|PM)$/i);
149
+ if (!match) return null;
150
+ return {
151
+ hour: match[1].padStart(2, "0"),
152
+ minute: match[2].padStart(2, "0"),
153
+ period: match[3].toUpperCase()
154
+ };
155
+ }
156
+ function formatTime(t) {
157
+ return `${t.hour}:${t.minute} ${t.period}`;
158
+ }
159
+ var DateTimeInputGroup = memo(function DateTimeInputGroup2({
160
+ label,
161
+ dateValue,
162
+ timeValue,
163
+ dateError,
164
+ timeError,
165
+ onDateChange,
166
+ onTimeChange
167
+ }) {
168
+ const [isDateFocused, setIsDateFocused] = useState(false);
169
+ const [isTimeFocused, setIsTimeFocused] = useState(false);
170
+ const showDateError = dateError && !isDateFocused;
171
+ const showTimeError = timeError && !isTimeFocused;
172
+ return /* @__PURE__ */ jsxs("div", { className: AdvancedDateRangePicker_module_default.headerGroup, children: [
173
+ /* @__PURE__ */ jsx("span", { className: AdvancedDateRangePicker_module_default.headerLabel, children: label }),
174
+ /* @__PURE__ */ jsx("div", { className: AdvancedDateRangePicker_module_default.dateTimeColumn, children: /* @__PURE__ */ jsxs("div", { className: AdvancedDateRangePicker_module_default.dateTimeGroup, children: [
175
+ /* @__PURE__ */ jsxs("div", { className: AdvancedDateRangePicker_module_default.inputWrapper, children: [
176
+ /* @__PURE__ */ jsx(
177
+ "input",
178
+ {
179
+ type: "text",
180
+ placeholder: "dd-mm-yyyy",
181
+ value: dateValue,
182
+ onFocus: () => setIsDateFocused(true),
183
+ onBlur: () => setIsDateFocused(false),
184
+ onChange: (e) => onDateChange(e.target.value),
185
+ className: clsx(AdvancedDateRangePicker_module_default.dateInput, { [AdvancedDateRangePicker_module_default.inputError]: showDateError })
186
+ }
187
+ ),
188
+ showDateError && /* @__PURE__ */ jsx("span", { className: AdvancedDateRangePicker_module_default.errorMessage, children: "Enter valid date" })
189
+ ] }),
190
+ /* @__PURE__ */ jsxs("div", { className: AdvancedDateRangePicker_module_default.inputWrapper, children: [
191
+ /* @__PURE__ */ jsx(
192
+ "input",
193
+ {
194
+ type: "text",
195
+ placeholder: "12:00 PM",
196
+ value: timeValue,
197
+ onFocus: () => setIsTimeFocused(true),
198
+ onBlur: () => setIsTimeFocused(false),
199
+ onChange: (e) => onTimeChange(e.target.value),
200
+ className: clsx(AdvancedDateRangePicker_module_default.timeInput, { [AdvancedDateRangePicker_module_default.inputError]: showTimeError })
201
+ }
202
+ ),
203
+ showTimeError && /* @__PURE__ */ jsx("span", { className: AdvancedDateRangePicker_module_default.errorMessage, children: "Enter valid time" })
204
+ ] })
205
+ ] }) })
206
+ ] });
207
+ });
208
+ function AdvancedDateRangePicker({
209
+ value,
210
+ onChange,
211
+ confirmLabel = "Done",
212
+ className = "",
213
+ disabled = false,
214
+ disablePastDates = false,
215
+ minDate = null,
216
+ maxDate = null,
217
+ showSingleCalendar = false,
218
+ id = "adv-drp",
219
+ defaultTimezone = "UTC",
220
+ isTimezoneDisabled = false,
221
+ timezoneOptions = [],
222
+ defaultPreset = "custom",
223
+ presets
224
+ }) {
225
+ var _a, _b, _c;
226
+ const PRESETS = useMemo(() => presets || getPresets(), [presets]);
227
+ const [startDate, setStartDate] = useState((_a = value == null ? void 0 : value.startDate) != null ? _a : null);
228
+ const [endDate, setEndDate] = useState((_b = value == null ? void 0 : value.endDate) != null ? _b : null);
229
+ const [timezone, setTimezone] = useState((_c = value == null ? void 0 : value.timezone) != null ? _c : defaultTimezone);
230
+ const [fromDateStr, setFromDateStr] = useState(formatForDisplay(startDate));
231
+ const [toDateStr, setToDateStr] = useState(formatForDisplay(endDate));
232
+ const [fromTimeStr, setFromTimeStr] = useState(
233
+ (value == null ? void 0 : value.startTime) ? formatTime(value.startTime) : "12:00 PM"
234
+ );
235
+ const [toTimeStr, setToTimeStr] = useState(
236
+ (value == null ? void 0 : value.endTime) ? formatTime(value.endTime) : "12:00 PM"
237
+ );
238
+ const [activePreset, setActivePreset] = useState(defaultPreset);
239
+ const isSingle = showSingleCalendar;
240
+ const fromDateError = useMemo(() => fromDateStr.length > 0 && (fromDateStr.length < 10 || !validateDateString(fromDateStr)), [fromDateStr]);
241
+ const toDateError = useMemo(() => toDateStr.length > 0 && (toDateStr.length < 10 || !validateDateString(toDateStr)), [toDateStr]);
242
+ const fromTimeError = useMemo(() => fromTimeStr.length > 0 && (fromTimeStr.length < 8 || !validateTimeString(fromTimeStr)), [fromTimeStr]);
243
+ const toTimeError = useMemo(() => toTimeStr.length > 0 && (toTimeStr.length < 8 || !validateTimeString(toTimeStr)), [toTimeStr]);
244
+ const isReady = useMemo(() => {
245
+ return startDate !== null && endDate !== null && validateDateString(fromDateStr) && validateDateString(toDateStr) && validateTimeString(fromTimeStr) && validateTimeString(toTimeStr) && dayjs(startDate).isSameOrBefore(dayjs(endDate), "day");
246
+ }, [startDate, endDate, fromDateStr, toDateStr, fromTimeStr, toTimeStr]);
247
+ useEffect(() => {
248
+ var _a2, _b2, _c2;
249
+ if (value) {
250
+ setStartDate((_a2 = value.startDate) != null ? _a2 : null);
251
+ setEndDate((_b2 = value.endDate) != null ? _b2 : null);
252
+ setTimezone((_c2 = value.timezone) != null ? _c2 : defaultTimezone);
253
+ if (value.startTime) setFromTimeStr(formatTime(value.startTime));
254
+ if (value.endTime) setToTimeStr(formatTime(value.endTime));
255
+ if (value.activePreset) {
256
+ setActivePreset(value.activePreset);
257
+ } else {
258
+ const matchedPreset = PRESETS.find((p) => {
259
+ if (p.key === "custom") return false;
260
+ const [s, e] = p.getRange();
261
+ if (!s || !e || !value.startDate || !value.endDate) return false;
262
+ return dayjs(s).isSame(dayjs(value.startDate), "day") && dayjs(e).isSame(dayjs(value.endDate), "day");
263
+ });
264
+ setActivePreset(matchedPreset ? matchedPreset.key : "custom");
265
+ }
266
+ }
267
+ }, [value, defaultTimezone, PRESETS]);
268
+ useEffect(() => {
269
+ setFromDateStr(formatForDisplay(startDate));
270
+ }, [startDate]);
271
+ useEffect(() => {
272
+ setToDateStr(formatForDisplay(endDate));
273
+ }, [endDate]);
274
+ const rangeValue = useMemo(() => [
275
+ startDate ? startDate.toISOString() : "",
276
+ endDate ? endDate.toISOString() : ""
277
+ ], [startDate, endDate]);
278
+ const handleRangeChange = useCallback(
279
+ (range) => {
280
+ const [s, e] = range;
281
+ if (s) {
282
+ const sDateByDayjs = dayjs(s, "D MMM, YYYY").toDate();
283
+ setStartDate(sDateByDayjs);
284
+ } else {
285
+ setStartDate(null);
286
+ }
287
+ if (e) {
288
+ const eDateByDayjs = dayjs(e, "D MMM, YYYY").toDate();
289
+ setEndDate(eDateByDayjs);
290
+ } else {
291
+ setEndDate(null);
292
+ }
293
+ setActivePreset("custom");
294
+ },
295
+ []
296
+ );
297
+ const handlePreset = useCallback(
298
+ (preset) => {
299
+ const [s, e] = preset.getRange();
300
+ setStartDate(s);
301
+ setEndDate(e);
302
+ setActivePreset(preset.key);
303
+ },
304
+ []
305
+ );
306
+ const handleFromDateChange = useCallback((v) => {
307
+ const masked = applyDateMask(v, fromDateStr);
308
+ setFromDateStr(masked);
309
+ setActivePreset("custom");
310
+ if (masked.length === 10) {
311
+ const parsed = parseDateInput(masked);
312
+ if (parsed) {
313
+ setStartDate(parsed);
314
+ if (endDate && dayjs(parsed).isAfter(dayjs(endDate), "day")) {
315
+ setEndDate(null);
316
+ }
317
+ }
318
+ }
319
+ }, [fromDateStr, endDate]);
320
+ const handleToDateChange = useCallback((v) => {
321
+ const masked = applyDateMask(v, toDateStr);
322
+ setToDateStr(masked);
323
+ setActivePreset("custom");
324
+ if (masked.length === 10) {
325
+ const parsed = parseDateInput(masked);
326
+ if (parsed) {
327
+ setEndDate(parsed);
328
+ if (startDate && dayjs(parsed).isBefore(dayjs(startDate), "day")) {
329
+ setStartDate(null);
330
+ }
331
+ }
332
+ }
333
+ }, [toDateStr, startDate]);
334
+ const handleFromTimeChange = useCallback((v) => {
335
+ const masked = applyTimeMask(v, fromTimeStr);
336
+ setFromTimeStr(masked);
337
+ setActivePreset("custom");
338
+ }, [fromTimeStr]);
339
+ const handleToTimeChange = useCallback((v) => {
340
+ const masked = applyTimeMask(v, toTimeStr);
341
+ setToTimeStr(masked);
342
+ setActivePreset("custom");
343
+ }, [toTimeStr]);
344
+ const handleDone = useCallback(() => {
345
+ var _a2, _b2;
346
+ if (!isReady) return;
347
+ const fromTime = (_a2 = parseTimeInput(fromTimeStr)) != null ? _a2 : DEFAULT_TIME;
348
+ const toTime = (_b2 = parseTimeInput(toTimeStr)) != null ? _b2 : DEFAULT_TIME;
349
+ onChange == null ? void 0 : onChange({
350
+ startDate,
351
+ endDate,
352
+ startTime: fromTime,
353
+ endTime: toTime,
354
+ timezone,
355
+ activePreset
356
+ });
357
+ }, [isReady, onChange, startDate, endDate, fromTimeStr, toTimeStr, timezone, activePreset]);
358
+ return /* @__PURE__ */ jsxs("div", { className: clsx(AdvancedDateRangePicker_module_default.root, className, { [AdvancedDateRangePicker_module_default.singleCalendar]: isSingle }), id, children: [
359
+ /* @__PURE__ */ jsxs("div", { className: AdvancedDateRangePicker_module_default.inner, children: [
360
+ /* @__PURE__ */ jsx("aside", { className: AdvancedDateRangePicker_module_default.left, children: PRESETS.map((p) => /* @__PURE__ */ jsx(
361
+ "button",
362
+ {
363
+ type: "button",
364
+ onClick: () => handlePreset(p),
365
+ className: clsx(AdvancedDateRangePicker_module_default.sidebarItem, {
366
+ [AdvancedDateRangePicker_module_default.sidebarItemActive]: activePreset === p.key
367
+ }),
368
+ children: p.label
369
+ },
370
+ p.key
371
+ )) }),
372
+ /* @__PURE__ */ jsxs("div", { className: AdvancedDateRangePicker_module_default.main, children: [
373
+ /* @__PURE__ */ jsxs("header", { className: AdvancedDateRangePicker_module_default.header, children: [
374
+ /* @__PURE__ */ jsxs("div", { className: AdvancedDateRangePicker_module_default.timezoneWrapper, children: [
375
+ /* @__PURE__ */ jsx("span", { className: AdvancedDateRangePicker_module_default.headerLabel, children: "Timezone" }),
376
+ isTimezoneDisabled ? (
377
+ /* Disabled state: plain text badge instead of empty dropdown */
378
+ /* @__PURE__ */ jsx("div", { className: AdvancedDateRangePicker_module_default.timezoneDisabledBadge, children: timezone })
379
+ ) : /* @__PURE__ */ jsx(
380
+ Select_default,
381
+ {
382
+ value: timezone,
383
+ onChange: (val) => {
384
+ if (val) setTimezone(String(val));
385
+ },
386
+ options: timezoneOptions,
387
+ size: "small",
388
+ allowClear: false,
389
+ enableSearch: false,
390
+ wrapperClassName: AdvancedDateRangePicker_module_default.timezoneSelectContainer,
391
+ inputClassName: AdvancedDateRangePicker_module_default.timezoneSelectInput
392
+ }
393
+ )
394
+ ] }),
395
+ /* @__PURE__ */ jsxs("div", { className: AdvancedDateRangePicker_module_default.dateTimeWrapper, children: [
396
+ /* @__PURE__ */ jsx(
397
+ DateTimeInputGroup,
398
+ {
399
+ label: "From",
400
+ dateValue: fromDateStr,
401
+ timeValue: fromTimeStr,
402
+ dateError: fromDateError,
403
+ timeError: fromTimeError,
404
+ onDateChange: handleFromDateChange,
405
+ onTimeChange: handleFromTimeChange
406
+ }
407
+ ),
408
+ /* @__PURE__ */ jsx(
409
+ DateTimeInputGroup,
410
+ {
411
+ label: "To",
412
+ dateValue: toDateStr,
413
+ timeValue: toTimeStr,
414
+ dateError: toDateError,
415
+ timeError: toTimeError,
416
+ onDateChange: handleToDateChange,
417
+ onTimeChange: handleToTimeChange
418
+ }
419
+ )
420
+ ] })
421
+ ] }),
422
+ /* @__PURE__ */ jsx("div", { className: AdvancedDateRangePicker_module_default.body, children: /* @__PURE__ */ jsx(
423
+ InternalCalendar_default,
424
+ {
425
+ id: `${id}-calendar`,
426
+ dateRange: rangeValue,
427
+ onChange: handleRangeChange,
428
+ disablePastDates,
429
+ minDate,
430
+ maxDate,
431
+ showSingleCalendar: isSingle
432
+ }
433
+ ) })
434
+ ] })
435
+ ] }),
436
+ /* @__PURE__ */ jsx("footer", { className: AdvancedDateRangePicker_module_default.footer, children: /* @__PURE__ */ jsx(
437
+ Button_default,
438
+ {
439
+ onClick: handleDone,
440
+ disabled: disabled || !isReady,
441
+ shape: "round",
442
+ children: confirmLabel
443
+ }
444
+ ) })
445
+ ] });
446
+ }
447
+ AdvancedDateRangePicker.displayName = "AdvancedDateRangePicker";
448
+ var AdvancedDateRangePicker_default = AdvancedDateRangePicker;
449
+
450
+ export {
451
+ AdvancedDateRangePicker,
452
+ AdvancedDateRangePicker_default
453
+ };
package/dist/index.js CHANGED
@@ -2248,11 +2248,12 @@ function getPresets() {
2248
2248
  label: "Previous week",
2249
2249
  key: "previous-week",
2250
2250
  getRange: () => {
2251
- const dayOfWeek = today.getDay();
2252
- const start = new Date(today);
2253
- start.setDate(today.getDate() - dayOfWeek - 6);
2254
- const end = new Date(today);
2255
- return [start, end];
2251
+ const daysToLastSunday = today.getDay() === 0 ? 7 : today.getDay();
2252
+ const lastSunday = new Date(today);
2253
+ lastSunday.setDate(today.getDate() - daysToLastSunday);
2254
+ const monday = new Date(lastSunday);
2255
+ monday.setDate(lastSunday.getDate() - 6);
2256
+ return [monday, lastSunday];
2256
2257
  }
2257
2258
  },
2258
2259
  {
package/dist/index.mjs CHANGED
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  UserProfile_default
3
3
  } from "./chunk-N2WTNCQU.mjs";
4
- import {
5
- Tag_default
6
- } from "./chunk-4VZB2KR2.mjs";
7
4
  import {
8
5
  Radio_default
9
6
  } from "./chunk-2EBPXGRY.mjs";
10
7
  import {
11
8
  RangePicker_default
12
9
  } from "./chunk-4JX54OKI.mjs";
13
- import {
14
- Slider_default
15
- } from "./chunk-D3N7VFER.mjs";
16
10
  import {
17
11
  Switch_default
18
12
  } from "./chunk-MNARBWAJ.mjs";
13
+ import {
14
+ Slider_default
15
+ } from "./chunk-D3N7VFER.mjs";
19
16
  import {
20
17
  Table
21
18
  } from "./chunk-X3NDICAU.mjs";
19
+ import {
20
+ Tag_default
21
+ } from "./chunk-4VZB2KR2.mjs";
22
22
  import {
23
23
  AdvancedDateRangePicker
24
- } from "./chunk-GGWY2SYX.mjs";
24
+ } from "./chunk-XECXKSTC.mjs";
25
25
  import {
26
26
  Select_default
27
27
  } from "./chunk-GU5F7Z7I.mjs";
@@ -30,12 +30,12 @@ import {
30
30
  } from "./chunk-MLCMZRUC.mjs";
31
31
  import "./chunk-FPH63V2R.mjs";
32
32
  import "./chunk-ZTRM4HZJ.mjs";
33
- import {
34
- Checkbox_default
35
- } from "./chunk-UQZNUEZE.mjs";
36
33
  import {
37
34
  Avatar_default
38
35
  } from "./chunk-IWO2Y5QX.mjs";
36
+ import {
37
+ Checkbox_default
38
+ } from "./chunk-UQZNUEZE.mjs";
39
39
  import {
40
40
  LoadingSpinner_default
41
41
  } from "./chunk-QKTMWS4J.mjs";
package/dist/styles.css CHANGED
@@ -772,87 +772,6 @@
772
772
  margin-bottom: 2rem;
773
773
  }
774
774
 
775
- /* src/atom/Tooltip/Tooltip.module.scss */
776
- .Tooltip-module__light___H5oCc .ant-tooltip-content .ant-tooltip-inner {
777
- background-color: white !important;
778
- color: #111827;
779
- border-radius: 0.5rem;
780
- padding: 0.625rem;
781
- --tw-text-opacity: 1;
782
- color: rgb(33 40 55 / var(--tw-text-opacity, 1));
783
- }
784
- .Tooltip-module__light___H5oCc .ant-tooltip-arrow:before {
785
- background-color: white !important;
786
- }
787
-
788
- /* src/atom/Radio/Radio.module.scss */
789
- .Radio-module__radio___1CPAk {
790
- display: flex;
791
- align-items: center;
792
- }
793
- .Radio-module__radio___1CPAk.Radio-module__size_small___nRXgM .ant-radio .ant-radio-inner {
794
- height: 16px;
795
- width: 16px;
796
- }
797
- .Radio-module__radio___1CPAk.Radio-module__size_medium___uSzPl .ant-radio .ant-radio-inner {
798
- height: 20px;
799
- width: 20px;
800
- }
801
- .Radio-module__radio___1CPAk.Radio-module__size_large___ubpHs .ant-radio .ant-radio-inner {
802
- height: 24px;
803
- width: 24px;
804
- }
805
- .Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu .ant-radio-checked .ant-radio-inner {
806
- border-color: #EC5D25;
807
- background-color: #EC5D25;
808
- }
809
- .Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu .ant-radio-checked:hover .ant-radio-inner {
810
- border-color: #B94710;
811
- background-color: #B94710;
812
- }
813
- .Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu .ant-radio-checked:focus-visible {
814
- outline: 2px solid #0A65E7;
815
- }
816
- .Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu.Radio-module__disabled___AF98Z {
817
- cursor: not-allowed;
818
- }
819
- .Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu.Radio-module__disabled___AF98Z .ant-radio-checked .ant-radio-inner {
820
- border-color: #B6BAC3;
821
- background-color: #B6BAC3;
822
- }
823
- .Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu.Radio-module__disabled___AF98Z .ant-radio-checked .ant-radio-inner::after {
824
- transform: scale(0.375);
825
- background-color: #FFFFFF;
826
- }
827
- .Radio-module__radio___1CPAk.Radio-module__type_unchecked___Xrb-7 .ant-radio .ant-radio-inner {
828
- border-color: #B6BAC3;
829
- }
830
- .Radio-module__radio___1CPAk.Radio-module__type_unchecked___Xrb-7 .ant-radio:hover .ant-radio-inner {
831
- border-color: #6B7280;
832
- }
833
- .Radio-module__radio___1CPAk.Radio-module__type_unchecked___Xrb-7 .ant-radio:focus-visible {
834
- outline: 2px solid #0A65E7;
835
- }
836
- .Radio-module__radio___1CPAk.Radio-module__type_unchecked___Xrb-7.Radio-module__disabled___AF98Z {
837
- cursor: not-allowed;
838
- }
839
- .Radio-module__radio___1CPAk.Radio-module__type_unchecked___Xrb-7.Radio-module__disabled___AF98Z .ant-radio .ant-radio-inner {
840
- border-color: #B6BAC3;
841
- background-color: #F9FAFB;
842
- }
843
- .Radio-module__radio___1CPAk.Radio-module__variant_normal___FQkTC {
844
- color: #363E4F;
845
- font-weight: 400;
846
- font-size: 0.875rem;
847
- line-height: 20px;
848
- }
849
- .Radio-module__radio___1CPAk.Radio-module__variant_emphasized___Fgpv6 {
850
- color: #363E4F;
851
- font-weight: 500;
852
- font-size: 0.875rem;
853
- line-height: 20px;
854
- }
855
-
856
775
  /* src/atom/Checkbox/Checkbox.module.scss */
857
776
  .Checkbox-module__checkbox___xxg5L {
858
777
  display: flex;
@@ -951,27 +870,40 @@
951
870
  background: white;
952
871
  }
953
872
 
954
- /* src/molecules/UserProfile/UserProfile.module.scss */
955
- .UserProfile-module__userProfile___cRMm9 {
956
- display: flex;
957
- align-items: center;
958
- gap: 0.625rem
873
+ /* src/atom/Slider/Slider.module.scss */
874
+ .Slider-module__label___9Uea- {
875
+ font-size: 13px;
876
+ line-height: 18px;
877
+ --tw-text-opacity: 1;
878
+ color: rgb(54 62 79 / var(--tw-text-opacity, 1));
959
879
  }
960
- .UserProfile-module__userProfile___cRMm9 .UserProfile-module__profileContent___tfy8E {
961
- display: flex;
962
- flex-direction: column
880
+
881
+ .Slider-module__slider___JCS-c.ant-slider {
882
+ margin-left: 0px;
883
+ margin-right: 0px;
963
884
  }
964
- .UserProfile-module__userProfile___cRMm9 .UserProfile-module__profileContent___tfy8E .UserProfile-module__profileHeader___5qYbt {
965
- display: flex;
966
- align-items: center;
967
- gap: 0.5rem
885
+ .Slider-module__slider___JCS-c.ant-slider .ant-slider-handle::after {
886
+ box-shadow: 0 0 0 2px #ec5d25;
887
+ transform: scale(1.25);
968
888
  }
969
- .UserProfile-module__userProfile___cRMm9 .UserProfile-module__profileContent___tfy8E .UserProfile-module__profileHeader___5qYbt .UserProfile-module__profileName___x8pg- {
970
- margin: 0px
889
+ .Slider-module__slider___JCS-c.ant-slider .ant-slider-handle::before {
890
+ content: unset;
971
891
  }
972
- .UserProfile-module__userProfile___cRMm9 .UserProfile-module__profileContent___tfy8E .UserProfile-module__profileEmail___ZWKDd {
973
- margin: 0px;
974
- margin-top: 0.125rem
892
+ .Slider-module__slider___JCS-c.ant-slider .ant-slider-handle:hover::after, .Slider-module__slider___JCS-c.ant-slider .ant-slider-handle:active::after {
893
+ inset-inline-start: -1px;
894
+ inset-block-start: -1px;
895
+ }
896
+ .Slider-module__slider___JCS-c.ant-slider .ant-slider-track {
897
+ --tw-bg-opacity: 1;
898
+ background-color: rgb(236 93 37 / var(--tw-bg-opacity, 1));
899
+ height: 2px;
900
+ }
901
+ .Slider-module__slider___JCS-c.Slider-module__disableFill___rjbsy.ant-slider .ant-slider-track {
902
+ background-color: transparent;
903
+ }
904
+ .Slider-module__slider___JCS-c.Slider-module__disableFill___rjbsy .ant-slider-rail {
905
+ --tw-bg-opacity: 1;
906
+ background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
975
907
  }
976
908
 
977
909
  /* src/atom/Button/Button.module.scss */
@@ -1168,6 +1100,19 @@
1168
1100
  outline: none;
1169
1101
  }
1170
1102
 
1103
+ /* src/atom/Tooltip/Tooltip.module.scss */
1104
+ .Tooltip-module__light___H5oCc .ant-tooltip-content .ant-tooltip-inner {
1105
+ background-color: white !important;
1106
+ color: #111827;
1107
+ border-radius: 0.5rem;
1108
+ padding: 0.625rem;
1109
+ --tw-text-opacity: 1;
1110
+ color: rgb(33 40 55 / var(--tw-text-opacity, 1));
1111
+ }
1112
+ .Tooltip-module__light___H5oCc .ant-tooltip-arrow:before {
1113
+ background-color: white !important;
1114
+ }
1115
+
1171
1116
  /* src/atom/Switch/Switch.module.scss */
1172
1117
  .Switch-module__switch___fUHZL.ant-switch.ant-switch-small {
1173
1118
  height: 0.75rem;
@@ -1186,115 +1131,6 @@
1186
1131
  background-color: rgb(236 93 37 / var(--tw-bg-opacity, 1))
1187
1132
  }
1188
1133
 
1189
- /* src/atom/Slider/Slider.module.scss */
1190
- .Slider-module__label___9Uea- {
1191
- font-size: 13px;
1192
- line-height: 18px;
1193
- --tw-text-opacity: 1;
1194
- color: rgb(54 62 79 / var(--tw-text-opacity, 1));
1195
- }
1196
-
1197
- .Slider-module__slider___JCS-c.ant-slider {
1198
- margin-left: 0px;
1199
- margin-right: 0px;
1200
- }
1201
- .Slider-module__slider___JCS-c.ant-slider .ant-slider-handle::after {
1202
- box-shadow: 0 0 0 2px #ec5d25;
1203
- transform: scale(1.25);
1204
- }
1205
- .Slider-module__slider___JCS-c.ant-slider .ant-slider-handle::before {
1206
- content: unset;
1207
- }
1208
- .Slider-module__slider___JCS-c.ant-slider .ant-slider-handle:hover::after, .Slider-module__slider___JCS-c.ant-slider .ant-slider-handle:active::after {
1209
- inset-inline-start: -1px;
1210
- inset-block-start: -1px;
1211
- }
1212
- .Slider-module__slider___JCS-c.ant-slider .ant-slider-track {
1213
- --tw-bg-opacity: 1;
1214
- background-color: rgb(236 93 37 / var(--tw-bg-opacity, 1));
1215
- height: 2px;
1216
- }
1217
- .Slider-module__slider___JCS-c.Slider-module__disableFill___rjbsy.ant-slider .ant-slider-track {
1218
- background-color: transparent;
1219
- }
1220
- .Slider-module__slider___JCS-c.Slider-module__disableFill___rjbsy .ant-slider-rail {
1221
- --tw-bg-opacity: 1;
1222
- background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
1223
- }
1224
-
1225
- /* src/atom/Modal/Modal.module.scss */
1226
- .Modal-module__modal___PKrAi.Modal-module__footerMargintopDisable___4B6u- .Modal-module__ant-modal-footer___HKsDR {
1227
- margin-top: 0;
1228
- margin-top: 0px;
1229
- }
1230
- .Modal-module__modal___PKrAi .ant-modal-footer .primaryFooter {
1231
- padding: 24px;
1232
- padding: 1.5rem;
1233
- display: flex;
1234
- justify-content: flex-end;
1235
- }
1236
- .Modal-module__modal___PKrAi .ant-modal-footer .primaryFooter .Modal-module__okBtn___Ut8e5,
1237
- .Modal-module__modal___PKrAi .ant-modal-footer .primaryFooter .Modal-module__cancelBtn___i0Rm8 {
1238
- min-width: 92px;
1239
- }
1240
- .Modal-module__modal___PKrAi .ant-modal-footer .secondaryFooter {
1241
- padding: 24px;
1242
- padding: 1.5rem;
1243
- padding-top: 0px;
1244
- display: flex;
1245
- justify-content: flex-end;
1246
- }
1247
- .Modal-module__modal___PKrAi .ant-modal-footer .secondaryFooter .Modal-module__okBtn___Ut8e5,
1248
- .Modal-module__modal___PKrAi .ant-modal-footer .secondaryFooter .Modal-module__cancelBtn___i0Rm8 {
1249
- width: 50%;
1250
- }
1251
- .Modal-module__modal___PKrAi .ant-modal-content {
1252
- padding: 0;
1253
- border-radius: 0.75rem;
1254
- padding: 0px;
1255
- }
1256
- .Modal-module__modal___PKrAi .ant-modal-content .ant-modal-header {
1257
- margin-bottom: 0px;
1258
- padding: 1rem;
1259
- }
1260
- @media (min-width: 576px) {
1261
- .Modal-module__modal___PKrAi .ant-modal-content .ant-modal-header {
1262
- padding: 1.5rem;
1263
- }
1264
- }
1265
- .Modal-module__modal___PKrAi .ant-modal-content .ant-modal-header .ant-modal-title {
1266
- justify-content: flex-start;
1267
- padding-right: 1.25rem;
1268
- font-size: 1.25rem;
1269
- font-weight: 500;
1270
- line-height: 1.75rem;
1271
- --tw-text-opacity: 1;
1272
- color: rgb(17 24 39 / var(--tw-text-opacity, 1));
1273
- }
1274
- .Modal-module__modal___PKrAi .ant-modal-content .ant-modal-close {
1275
- display: flex;
1276
- align-items: flex-end;
1277
- justify-content: center;
1278
- }
1279
- .Modal-module__modal___PKrAi .ant-modal-content .ant-modal-close .ant-modal-close-x {
1280
- display: flex;
1281
- align-items: center;
1282
- justify-content: center;
1283
- }
1284
- .Modal-module__modal___PKrAi .ant-modal-content .ant-modal-body {
1285
- padding: 0 1.5rem 1.5rem;
1286
- max-height: 65vh;
1287
- overflow: auto;
1288
- }
1289
- .Modal-module__modal___PKrAi .ant-modal-content .ant-modal-close {
1290
- top: 1.5rem;
1291
- right: 1.5rem;
1292
- padding-bottom: 0.25rem;
1293
- }
1294
- .Modal-module__modal___PKrAi .ant-btn-primary {
1295
- margin-inline-start: 0.5rem;
1296
- }
1297
-
1298
1134
  /* src/atom/Tag/Tag.module.scss */
1299
1135
  .Tag-module__tag___PIkhI {
1300
1136
  border-radius: 0.25rem;
@@ -1850,6 +1686,170 @@
1850
1686
  min-width: 180px;
1851
1687
  }
1852
1688
 
1689
+ /* src/atom/Radio/Radio.module.scss */
1690
+ .Radio-module__radio___1CPAk {
1691
+ display: flex;
1692
+ align-items: center;
1693
+ }
1694
+ .Radio-module__radio___1CPAk.Radio-module__size_small___nRXgM .ant-radio .ant-radio-inner {
1695
+ height: 16px;
1696
+ width: 16px;
1697
+ }
1698
+ .Radio-module__radio___1CPAk.Radio-module__size_medium___uSzPl .ant-radio .ant-radio-inner {
1699
+ height: 20px;
1700
+ width: 20px;
1701
+ }
1702
+ .Radio-module__radio___1CPAk.Radio-module__size_large___ubpHs .ant-radio .ant-radio-inner {
1703
+ height: 24px;
1704
+ width: 24px;
1705
+ }
1706
+ .Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu .ant-radio-checked .ant-radio-inner {
1707
+ border-color: #EC5D25;
1708
+ background-color: #EC5D25;
1709
+ }
1710
+ .Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu .ant-radio-checked:hover .ant-radio-inner {
1711
+ border-color: #B94710;
1712
+ background-color: #B94710;
1713
+ }
1714
+ .Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu .ant-radio-checked:focus-visible {
1715
+ outline: 2px solid #0A65E7;
1716
+ }
1717
+ .Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu.Radio-module__disabled___AF98Z {
1718
+ cursor: not-allowed;
1719
+ }
1720
+ .Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu.Radio-module__disabled___AF98Z .ant-radio-checked .ant-radio-inner {
1721
+ border-color: #B6BAC3;
1722
+ background-color: #B6BAC3;
1723
+ }
1724
+ .Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu.Radio-module__disabled___AF98Z .ant-radio-checked .ant-radio-inner::after {
1725
+ transform: scale(0.375);
1726
+ background-color: #FFFFFF;
1727
+ }
1728
+ .Radio-module__radio___1CPAk.Radio-module__type_unchecked___Xrb-7 .ant-radio .ant-radio-inner {
1729
+ border-color: #B6BAC3;
1730
+ }
1731
+ .Radio-module__radio___1CPAk.Radio-module__type_unchecked___Xrb-7 .ant-radio:hover .ant-radio-inner {
1732
+ border-color: #6B7280;
1733
+ }
1734
+ .Radio-module__radio___1CPAk.Radio-module__type_unchecked___Xrb-7 .ant-radio:focus-visible {
1735
+ outline: 2px solid #0A65E7;
1736
+ }
1737
+ .Radio-module__radio___1CPAk.Radio-module__type_unchecked___Xrb-7.Radio-module__disabled___AF98Z {
1738
+ cursor: not-allowed;
1739
+ }
1740
+ .Radio-module__radio___1CPAk.Radio-module__type_unchecked___Xrb-7.Radio-module__disabled___AF98Z .ant-radio .ant-radio-inner {
1741
+ border-color: #B6BAC3;
1742
+ background-color: #F9FAFB;
1743
+ }
1744
+ .Radio-module__radio___1CPAk.Radio-module__variant_normal___FQkTC {
1745
+ color: #363E4F;
1746
+ font-weight: 400;
1747
+ font-size: 0.875rem;
1748
+ line-height: 20px;
1749
+ }
1750
+ .Radio-module__radio___1CPAk.Radio-module__variant_emphasized___Fgpv6 {
1751
+ color: #363E4F;
1752
+ font-weight: 500;
1753
+ font-size: 0.875rem;
1754
+ line-height: 20px;
1755
+ }
1756
+
1757
+ /* src/atom/Modal/Modal.module.scss */
1758
+ .Modal-module__modal___PKrAi.Modal-module__footerMargintopDisable___4B6u- .Modal-module__ant-modal-footer___HKsDR {
1759
+ margin-top: 0;
1760
+ margin-top: 0px;
1761
+ }
1762
+ .Modal-module__modal___PKrAi .ant-modal-footer .primaryFooter {
1763
+ padding: 24px;
1764
+ padding: 1.5rem;
1765
+ display: flex;
1766
+ justify-content: flex-end;
1767
+ }
1768
+ .Modal-module__modal___PKrAi .ant-modal-footer .primaryFooter .Modal-module__okBtn___Ut8e5,
1769
+ .Modal-module__modal___PKrAi .ant-modal-footer .primaryFooter .Modal-module__cancelBtn___i0Rm8 {
1770
+ min-width: 92px;
1771
+ }
1772
+ .Modal-module__modal___PKrAi .ant-modal-footer .secondaryFooter {
1773
+ padding: 24px;
1774
+ padding: 1.5rem;
1775
+ padding-top: 0px;
1776
+ display: flex;
1777
+ justify-content: flex-end;
1778
+ }
1779
+ .Modal-module__modal___PKrAi .ant-modal-footer .secondaryFooter .Modal-module__okBtn___Ut8e5,
1780
+ .Modal-module__modal___PKrAi .ant-modal-footer .secondaryFooter .Modal-module__cancelBtn___i0Rm8 {
1781
+ width: 50%;
1782
+ }
1783
+ .Modal-module__modal___PKrAi .ant-modal-content {
1784
+ padding: 0;
1785
+ border-radius: 0.75rem;
1786
+ padding: 0px;
1787
+ }
1788
+ .Modal-module__modal___PKrAi .ant-modal-content .ant-modal-header {
1789
+ margin-bottom: 0px;
1790
+ padding: 1rem;
1791
+ }
1792
+ @media (min-width: 576px) {
1793
+ .Modal-module__modal___PKrAi .ant-modal-content .ant-modal-header {
1794
+ padding: 1.5rem;
1795
+ }
1796
+ }
1797
+ .Modal-module__modal___PKrAi .ant-modal-content .ant-modal-header .ant-modal-title {
1798
+ justify-content: flex-start;
1799
+ padding-right: 1.25rem;
1800
+ font-size: 1.25rem;
1801
+ font-weight: 500;
1802
+ line-height: 1.75rem;
1803
+ --tw-text-opacity: 1;
1804
+ color: rgb(17 24 39 / var(--tw-text-opacity, 1));
1805
+ }
1806
+ .Modal-module__modal___PKrAi .ant-modal-content .ant-modal-close {
1807
+ display: flex;
1808
+ align-items: flex-end;
1809
+ justify-content: center;
1810
+ }
1811
+ .Modal-module__modal___PKrAi .ant-modal-content .ant-modal-close .ant-modal-close-x {
1812
+ display: flex;
1813
+ align-items: center;
1814
+ justify-content: center;
1815
+ }
1816
+ .Modal-module__modal___PKrAi .ant-modal-content .ant-modal-body {
1817
+ padding: 0 1.5rem 1.5rem;
1818
+ max-height: 65vh;
1819
+ overflow: auto;
1820
+ }
1821
+ .Modal-module__modal___PKrAi .ant-modal-content .ant-modal-close {
1822
+ top: 1.5rem;
1823
+ right: 1.5rem;
1824
+ padding-bottom: 0.25rem;
1825
+ }
1826
+ .Modal-module__modal___PKrAi .ant-btn-primary {
1827
+ margin-inline-start: 0.5rem;
1828
+ }
1829
+
1830
+ /* src/molecules/UserProfile/UserProfile.module.scss */
1831
+ .UserProfile-module__userProfile___cRMm9 {
1832
+ display: flex;
1833
+ align-items: center;
1834
+ gap: 0.625rem
1835
+ }
1836
+ .UserProfile-module__userProfile___cRMm9 .UserProfile-module__profileContent___tfy8E {
1837
+ display: flex;
1838
+ flex-direction: column
1839
+ }
1840
+ .UserProfile-module__userProfile___cRMm9 .UserProfile-module__profileContent___tfy8E .UserProfile-module__profileHeader___5qYbt {
1841
+ display: flex;
1842
+ align-items: center;
1843
+ gap: 0.5rem
1844
+ }
1845
+ .UserProfile-module__userProfile___cRMm9 .UserProfile-module__profileContent___tfy8E .UserProfile-module__profileHeader___5qYbt .UserProfile-module__profileName___x8pg- {
1846
+ margin: 0px
1847
+ }
1848
+ .UserProfile-module__userProfile___cRMm9 .UserProfile-module__profileContent___tfy8E .UserProfile-module__profileEmail___ZWKDd {
1849
+ margin: 0px;
1850
+ margin-top: 0.125rem
1851
+ }
1852
+
1853
1853
  /* src/atom/RangePicker/RangePicker.module.scss */
1854
1854
  .RangePicker-module__range_start___hGQp-::after {
1855
1855
  content: "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itilite/lumina-ui",
3
- "version": "1.0.10-alpha",
3
+ "version": "1.0.11-alpha",
4
4
  "description": "Itilite Lumina Design System UI Components",
5
5
  "sideEffects": false,
6
6
  "license": "MIT",