@itilite/lumina-ui 1.0.13-alpha → 1.0.14-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.
package/dist/index.js CHANGED
@@ -59,7 +59,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
59
59
  // src/index.ts
60
60
  var index_exports = {};
61
61
  __export(index_exports, {
62
- AdvancedDateRangePicker: () => AdvancedDateRangePicker,
62
+ AdvancedDateRangePicker: () => AdvancedDateRangePicker_default,
63
63
  Avatar: () => Avatar_default,
64
64
  Button: () => Button_default,
65
65
  Checkbox: () => Checkbox_default,
@@ -70,7 +70,7 @@ __export(index_exports, {
70
70
  Select: () => Select_default,
71
71
  Slider: () => Slider_default,
72
72
  Switch: () => Switch_default,
73
- Table: () => Table,
73
+ Table: () => Table_default,
74
74
  Tag: () => Tag_default,
75
75
  Tooltip: () => Tooltip_default,
76
76
  UserProfile: () => UserProfile_default
@@ -1415,15 +1415,6 @@ function CustomRangePicker(props) {
1415
1415
  const [selectedDate, setSelectedDate] = (0, import_react3.useState)(
1416
1416
  !isRange && dateRange[0] ? new Date(dateRange[0]) : null
1417
1417
  );
1418
- (0, import_react3.useEffect)(() => {
1419
- const newStart = dateRange[0] ? new Date(dateRange[0]) : null;
1420
- const newEnd = dateRange[1] ? new Date(dateRange[1]) : null;
1421
- setStartDate(newStart);
1422
- setEndDate(newEnd);
1423
- if (newStart) {
1424
- setCurrentDate(new Date(newStart.getFullYear(), newStart.getMonth(), 1));
1425
- }
1426
- }, [dateRange]);
1427
1418
  const getDaysBetween = (start, end) => {
1428
1419
  if (!start || !end) return 0;
1429
1420
  const startDay = (0, import_dayjs.default)(start).startOf("day");
@@ -1565,11 +1556,8 @@ function CustomRangePicker(props) {
1565
1556
  if (isDateDisabled(date)) return;
1566
1557
  if (!isRange) {
1567
1558
  setSelectedDate(date);
1568
- onChangeRef.current(null, (0, import_dayjs.default)(date).format("D MMM, YYYY"));
1569
1559
  return;
1570
1560
  }
1571
- let nextStart = startDate;
1572
- let nextEnd = endDate;
1573
1561
  const isCheckinCheckoutSame = (0, import_dayjs.default)(date).format("D MMM, YYYY") === (0, import_dayjs.default)(startDate).format("D MMM, YYYY");
1574
1562
  if (showNightCount && isCheckinCheckoutSame) {
1575
1563
  setStartDate(null);
@@ -1577,34 +1565,32 @@ function CustomRangePicker(props) {
1577
1565
  setIsSelectingEnd(false);
1578
1566
  setHoverDate(null);
1579
1567
  showToastError("Check-in and check-out dates cannot be the same.");
1580
- onChangeRef.current(null, ["", ""]);
1581
1568
  return;
1582
1569
  }
1583
1570
  if (!startDate || startDate && endDate) {
1584
- nextStart = date;
1585
- nextEnd = null;
1586
- setStartDate(nextStart);
1587
- setEndDate(nextEnd);
1571
+ setStartDate(date);
1572
+ setEndDate(null);
1588
1573
  setIsSelectingEnd(true);
1589
1574
  setHoverDate(null);
1590
1575
  } else if (startDate && !endDate) {
1591
1576
  if (date < startDate) {
1592
- nextEnd = startDate;
1593
- nextStart = date;
1577
+ setEndDate(startDate);
1578
+ setStartDate(date);
1594
1579
  } else {
1595
- nextEnd = date;
1580
+ setEndDate(date);
1596
1581
  }
1597
- setStartDate(nextStart);
1598
- setEndDate(nextEnd);
1599
1582
  setIsSelectingEnd(false);
1600
1583
  setHoverDate(null);
1601
1584
  }
1602
- onChangeRef.current(null, [
1603
- nextStart ? (0, import_dayjs.default)(nextStart).format("D MMM, YYYY") : "",
1604
- nextEnd ? (0, import_dayjs.default)(nextEnd).format("D MMM, YYYY") : ""
1605
- ]);
1606
1585
  };
1607
1586
  (0, import_react3.useEffect)(() => {
1587
+ if (isRange) {
1588
+ sessionStorage.removeItem("rangePickerStartDate");
1589
+ onChangeRef.current(null, [
1590
+ startDate ? (0, import_dayjs.default)(startDate).format("D MMM, YYYY") : "",
1591
+ endDate ? (0, import_dayjs.default)(endDate).format("D MMM, YYYY") : ""
1592
+ ]);
1593
+ }
1608
1594
  if (isRange && startDate && !endDate) {
1609
1595
  sessionStorage.setItem(
1610
1596
  "rangePickerStartDate",
@@ -1612,6 +1598,11 @@ function CustomRangePicker(props) {
1612
1598
  );
1613
1599
  }
1614
1600
  }, [startDate, endDate, isRange]);
1601
+ (0, import_react3.useEffect)(() => {
1602
+ if (!isRange && selectedDate) {
1603
+ onChangeRef.current(null, (0, import_dayjs.default)(selectedDate).format("D MMM, YYYY"));
1604
+ }
1605
+ }, [selectedDate, isRange]);
1615
1606
  const handleDateHover = (date) => {
1616
1607
  if (isDateDisabled(date) || !isRange) return;
1617
1608
  if (isSelectingEnd && startDate && !endDate) {
@@ -2671,6 +2662,7 @@ function AdvancedDateRangePicker({
2671
2662
  ] });
2672
2663
  }
2673
2664
  AdvancedDateRangePicker.displayName = "AdvancedDateRangePicker";
2665
+ var AdvancedDateRangePicker_default = AdvancedDateRangePicker;
2674
2666
 
2675
2667
  // src/atom/Slider/Slider.tsx
2676
2668
  var import_antd9 = require("antd");
@@ -2923,7 +2915,6 @@ function Table(props) {
2923
2915
  "bodyCellClassName",
2924
2916
  "rowClassName"
2925
2917
  ]);
2926
- const isChildVariant = isAccordion || isToolbar;
2927
2918
  const resolvedPagination = buildPagination(pagination, {
2928
2919
  total,
2929
2920
  current,
@@ -2957,7 +2948,7 @@ function Table(props) {
2957
2948
  const isSelected = current2.some((k) => k === key);
2958
2949
  const newKeys = isSelected ? current2.filter((k) => k !== key) : [...current2, key];
2959
2950
  const newRows = (dataSource != null ? dataSource : []).filter(
2960
- (r) => newKeys.some((k) => k === getKey(r))
2951
+ (r, idx) => newKeys.some((k) => k === getKey(r, idx))
2961
2952
  );
2962
2953
  onChange(newKeys, newRows, { type: "single" });
2963
2954
  }
@@ -3013,6 +3004,7 @@ function Table(props) {
3013
3004
  );
3014
3005
  }
3015
3006
  Table.displayName = "Table";
3007
+ var Table_default = Table;
3016
3008
 
3017
3009
  // src/molecules/UserProfile/UserProfile.tsx
3018
3010
  var import_clsx13 = __toESM(require("clsx"));
package/dist/index.mjs CHANGED
@@ -1,12 +1,15 @@
1
+ import {
2
+ Table_default
3
+ } from "./chunk-ANJI6SPV.mjs";
1
4
  import {
2
5
  UserProfile_default
3
6
  } from "./chunk-N2WTNCQU.mjs";
7
+ import {
8
+ RangePicker_default
9
+ } from "./chunk-PSBEYGD4.mjs";
4
10
  import {
5
11
  Radio_default
6
12
  } from "./chunk-2EBPXGRY.mjs";
7
- import {
8
- RangePicker_default
9
- } from "./chunk-4JX54OKI.mjs";
10
13
  import {
11
14
  Slider_default
12
15
  } from "./chunk-D3N7VFER.mjs";
@@ -17,10 +20,7 @@ import {
17
20
  Tag_default
18
21
  } from "./chunk-4VZB2KR2.mjs";
19
22
  import {
20
- Table
21
- } from "./chunk-X3NDICAU.mjs";
22
- import {
23
- AdvancedDateRangePicker
23
+ AdvancedDateRangePicker_default
24
24
  } from "./chunk-IPVJEGDI.mjs";
25
25
  import {
26
26
  Select_default
@@ -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
- Avatar_default
35
- } from "./chunk-IWO2Y5QX.mjs";
36
33
  import {
37
34
  Checkbox_default
38
35
  } from "./chunk-UQZNUEZE.mjs";
36
+ import {
37
+ Avatar_default
38
+ } from "./chunk-IWO2Y5QX.mjs";
39
39
  import {
40
40
  LoadingSpinner_default
41
41
  } from "./chunk-QKTMWS4J.mjs";
@@ -47,7 +47,7 @@ import {
47
47
  } from "./chunk-AF2RKLH6.mjs";
48
48
  import "./chunk-FWCSY2DS.mjs";
49
49
  export {
50
- AdvancedDateRangePicker,
50
+ AdvancedDateRangePicker_default as AdvancedDateRangePicker,
51
51
  Avatar_default as Avatar,
52
52
  Button_default as Button,
53
53
  Checkbox_default as Checkbox,
@@ -58,7 +58,7 @@ export {
58
58
  Select_default as Select,
59
59
  Slider_default as Slider,
60
60
  Switch_default as Switch,
61
- Table,
61
+ Table_default as Table,
62
62
  Tag_default as Tag,
63
63
  Tooltip_default as Tooltip,
64
64
  UserProfile_default as UserProfile
package/dist/styles.css CHANGED
@@ -762,117 +762,6 @@
762
762
 
763
763
 
764
764
  /* CSS Modules */
765
- /* src/atom/Checkbox/Checkbox.module.scss */
766
- .Checkbox-module__checkbox___xxg5L {
767
- display: flex;
768
- align-items: center;
769
- }
770
- .Checkbox-module__checkbox___xxg5L.Checkbox-module__size_small___Kknlo .ant-checkbox .ant-checkbox-inner {
771
- height: 16px;
772
- width: 16px;
773
- }
774
- .Checkbox-module__checkbox___xxg5L.Checkbox-module__size_medium___V6Ah8 .ant-checkbox .ant-checkbox-inner {
775
- height: 20px;
776
- width: 20px;
777
- }
778
- .Checkbox-module__checkbox___xxg5L.Checkbox-module__size_medium___V6Ah8 .ant-checkbox .ant-checkbox-inner::after {
779
- inset-inline-start: 27%;
780
- }
781
- .Checkbox-module__checkbox___xxg5L.Checkbox-module__size_large___eWjFY .ant-checkbox .ant-checkbox-inner {
782
- height: 24px;
783
- width: 24px;
784
- }
785
- .Checkbox-module__checkbox___xxg5L.Checkbox-module__size_large___eWjFY .ant-checkbox .ant-checkbox-inner::after {
786
- inset-inline-start: 33%;
787
- }
788
- .Checkbox-module__checkbox___xxg5L.Checkbox-module__type_checked___5742T .ant-checkbox-checked .ant-checkbox-inner {
789
- border-color: #ec5d25;
790
- background-color: #ec5d25;
791
- }
792
- .Checkbox-module__checkbox___xxg5L.Checkbox-module__type_checked___5742T.ant-checkbox-wrapper:hover
793
- .ant-checkbox-checked:not(.ant-checkbox-disabled)
794
- .ant-checkbox-inner {
795
- --tw-bg-opacity: 1;
796
- background-color: rgb(185 71 16 / var(--tw-bg-opacity, 1));
797
- }
798
- .Checkbox-module__checkbox___xxg5L.Checkbox-module__type_checked___5742T .ant-checkbox-checked:focus-visible {
799
- outline: 2px solid #0a65e7;
800
- }
801
- .Checkbox-module__checkbox___xxg5L.Checkbox-module__type_checked___5742T.Checkbox-module__disabled___v-RG1 {
802
- cursor: not-allowed;
803
- }
804
- .Checkbox-module__checkbox___xxg5L.Checkbox-module__type_checked___5742T.Checkbox-module__disabled___v-RG1 .ant-checkbox-checked .ant-checkbox-inner {
805
- opacity: 0.5;
806
- border-color: #ec5d25;
807
- background-color: #ec5d25;
808
- }
809
- .Checkbox-module__checkbox___xxg5L.Checkbox-module__type_checked___5742T.Checkbox-module__disabled___v-RG1 .ant-checkbox-checked .ant-checkbox-inner::after {
810
- border-color: #ffffff;
811
- }
812
- .Checkbox-module__checkbox___xxg5L.Checkbox-module__type_unchecked___QFMpP .ant-checkbox .ant-checkbox-inner {
813
- border-color: #b6bac3;
814
- }
815
- .Checkbox-module__checkbox___xxg5L.Checkbox-module__type_unchecked___QFMpP .ant-checkbox:hover .ant-checkbox-inner {
816
- border-color: #6b7280;
817
- }
818
- .Checkbox-module__checkbox___xxg5L.Checkbox-module__type_unchecked___QFMpP .ant-checkbox:focus-visible {
819
- outline: 2px solid #0a65e7;
820
- }
821
- .Checkbox-module__checkbox___xxg5L.Checkbox-module__type_unchecked___QFMpP.Checkbox-module__disabled___v-RG1 {
822
- cursor: not-allowed;
823
- }
824
- .Checkbox-module__checkbox___xxg5L.Checkbox-module__type_unchecked___QFMpP.Checkbox-module__disabled___v-RG1 .ant-checkbox .ant-checkbox-inner {
825
- border-color: #b6bac3;
826
- background-color: #f9fafb;
827
- }
828
- .Checkbox-module__checkbox___xxg5L .ant-checkbox-disabled + span {
829
- color: #363e4f;
830
- }
831
- .Checkbox-module__checkbox___xxg5L.Checkbox-module__variant_normal___faYKo {
832
- color: #363e4f;
833
- font-weight: 400;
834
- font-size: 0.875rem;
835
- line-height: 20px;
836
- }
837
- .Checkbox-module__checkbox___xxg5L.Checkbox-module__variant_emphasized___-koYj {
838
- color: #363e4f;
839
- font-weight: 500;
840
- font-size: 0.875rem;
841
- line-height: 20px;
842
- }
843
- .Checkbox-module__checkbox___xxg5L.Checkbox-module__variant_indeterminate___J5Xcc.Checkbox-module__disabled___v-RG1 .ant-checkbox-indeterminate .ant-checkbox-inner {
844
- opacity: 0.5;
845
- border-color: #ec5d25;
846
- background-color: #ec5d25;
847
- }
848
- .Checkbox-module__checkbox___xxg5L.Checkbox-module__variant_indeterminate___J5Xcc.Checkbox-module__disabled___v-RG1 .ant-checkbox-indeterminate .ant-checkbox-inner::after {
849
- border-color: #ffffff;
850
- }
851
- .Checkbox-module__checkbox___xxg5L.Checkbox-module__variant_indeterminate___J5Xcc .ant-checkbox-indeterminate .ant-checkbox-inner {
852
- border-color: #ec5d25 !important;
853
- background-color: #ec5d25 !important;
854
- }
855
- .Checkbox-module__checkbox___xxg5L.Checkbox-module__variant_indeterminate___J5Xcc .ant-checkbox-indeterminate .ant-checkbox-inner::after {
856
- inset-inline-start: 50%;
857
- width: 60%;
858
- height: 3px;
859
- border-radius: 4px;
860
- background: white;
861
- }
862
-
863
- /* src/atom/Tooltip/Tooltip.module.scss */
864
- .Tooltip-module__light___H5oCc .ant-tooltip-content .ant-tooltip-inner {
865
- background-color: white !important;
866
- color: #111827;
867
- border-radius: 0.5rem;
868
- padding: 0.625rem;
869
- --tw-text-opacity: 1;
870
- color: rgb(33 40 55 / var(--tw-text-opacity, 1));
871
- }
872
- .Tooltip-module__light___H5oCc .ant-tooltip-arrow:before {
873
- background-color: white !important;
874
- }
875
-
876
765
  /* src/atom/Slider/Slider.module.scss */
877
766
  .Slider-module__label___9Uea- {
878
767
  font-size: 13px;
@@ -1103,6 +992,29 @@
1103
992
  outline: none;
1104
993
  }
1105
994
 
995
+ /* src/atom/Tooltip/Tooltip.module.scss */
996
+ .Tooltip-module__light___H5oCc .ant-tooltip-content .ant-tooltip-inner {
997
+ background-color: white !important;
998
+ color: #111827;
999
+ border-radius: 0.5rem;
1000
+ padding: 0.625rem;
1001
+ --tw-text-opacity: 1;
1002
+ color: rgb(33 40 55 / var(--tw-text-opacity, 1));
1003
+ }
1004
+ .Tooltip-module__light___H5oCc .ant-tooltip-arrow:before {
1005
+ background-color: white !important;
1006
+ }
1007
+
1008
+ /* src/atom/LoadingSpinner/LoadingSpinner.module.scss */
1009
+ .LoadingSpinner-module__spinnerContainer___DiPLf {
1010
+ display: flex;
1011
+ justify-content: center;
1012
+ align-items: center;
1013
+ height: 100%;
1014
+ margin-top: 2rem;
1015
+ margin-bottom: 2rem;
1016
+ }
1017
+
1106
1018
  /* src/atom/Switch/Switch.module.scss */
1107
1019
  .Switch-module__switch___fUHZL.ant-switch.ant-switch-small {
1108
1020
  height: 0.75rem;
@@ -1181,6 +1093,104 @@
1181
1093
  background-color: rgb(241 243 245 / var(--tw-bg-opacity, 1))
1182
1094
  }
1183
1095
 
1096
+ /* src/atom/Checkbox/Checkbox.module.scss */
1097
+ .Checkbox-module__checkbox___xxg5L {
1098
+ display: flex;
1099
+ align-items: center;
1100
+ }
1101
+ .Checkbox-module__checkbox___xxg5L.Checkbox-module__size_small___Kknlo .ant-checkbox .ant-checkbox-inner {
1102
+ height: 16px;
1103
+ width: 16px;
1104
+ }
1105
+ .Checkbox-module__checkbox___xxg5L.Checkbox-module__size_medium___V6Ah8 .ant-checkbox .ant-checkbox-inner {
1106
+ height: 20px;
1107
+ width: 20px;
1108
+ }
1109
+ .Checkbox-module__checkbox___xxg5L.Checkbox-module__size_medium___V6Ah8 .ant-checkbox .ant-checkbox-inner::after {
1110
+ inset-inline-start: 27%;
1111
+ }
1112
+ .Checkbox-module__checkbox___xxg5L.Checkbox-module__size_large___eWjFY .ant-checkbox .ant-checkbox-inner {
1113
+ height: 24px;
1114
+ width: 24px;
1115
+ }
1116
+ .Checkbox-module__checkbox___xxg5L.Checkbox-module__size_large___eWjFY .ant-checkbox .ant-checkbox-inner::after {
1117
+ inset-inline-start: 33%;
1118
+ }
1119
+ .Checkbox-module__checkbox___xxg5L.Checkbox-module__type_checked___5742T .ant-checkbox-checked .ant-checkbox-inner {
1120
+ border-color: #ec5d25;
1121
+ background-color: #ec5d25;
1122
+ }
1123
+ .Checkbox-module__checkbox___xxg5L.Checkbox-module__type_checked___5742T.ant-checkbox-wrapper:hover
1124
+ .ant-checkbox-checked:not(.ant-checkbox-disabled)
1125
+ .ant-checkbox-inner {
1126
+ --tw-bg-opacity: 1;
1127
+ background-color: rgb(185 71 16 / var(--tw-bg-opacity, 1));
1128
+ }
1129
+ .Checkbox-module__checkbox___xxg5L.Checkbox-module__type_checked___5742T .ant-checkbox-checked:focus-visible {
1130
+ outline: 2px solid #0a65e7;
1131
+ }
1132
+ .Checkbox-module__checkbox___xxg5L.Checkbox-module__type_checked___5742T.Checkbox-module__disabled___v-RG1 {
1133
+ cursor: not-allowed;
1134
+ }
1135
+ .Checkbox-module__checkbox___xxg5L.Checkbox-module__type_checked___5742T.Checkbox-module__disabled___v-RG1 .ant-checkbox-checked .ant-checkbox-inner {
1136
+ opacity: 0.5;
1137
+ border-color: #ec5d25;
1138
+ background-color: #ec5d25;
1139
+ }
1140
+ .Checkbox-module__checkbox___xxg5L.Checkbox-module__type_checked___5742T.Checkbox-module__disabled___v-RG1 .ant-checkbox-checked .ant-checkbox-inner::after {
1141
+ border-color: #ffffff;
1142
+ }
1143
+ .Checkbox-module__checkbox___xxg5L.Checkbox-module__type_unchecked___QFMpP .ant-checkbox .ant-checkbox-inner {
1144
+ border-color: #b6bac3;
1145
+ }
1146
+ .Checkbox-module__checkbox___xxg5L.Checkbox-module__type_unchecked___QFMpP .ant-checkbox:hover .ant-checkbox-inner {
1147
+ border-color: #6b7280;
1148
+ }
1149
+ .Checkbox-module__checkbox___xxg5L.Checkbox-module__type_unchecked___QFMpP .ant-checkbox:focus-visible {
1150
+ outline: 2px solid #0a65e7;
1151
+ }
1152
+ .Checkbox-module__checkbox___xxg5L.Checkbox-module__type_unchecked___QFMpP.Checkbox-module__disabled___v-RG1 {
1153
+ cursor: not-allowed;
1154
+ }
1155
+ .Checkbox-module__checkbox___xxg5L.Checkbox-module__type_unchecked___QFMpP.Checkbox-module__disabled___v-RG1 .ant-checkbox .ant-checkbox-inner {
1156
+ border-color: #b6bac3;
1157
+ background-color: #f9fafb;
1158
+ }
1159
+ .Checkbox-module__checkbox___xxg5L .ant-checkbox-disabled + span {
1160
+ color: #363e4f;
1161
+ }
1162
+ .Checkbox-module__checkbox___xxg5L.Checkbox-module__variant_normal___faYKo {
1163
+ color: #363e4f;
1164
+ font-weight: 400;
1165
+ font-size: 0.875rem;
1166
+ line-height: 20px;
1167
+ }
1168
+ .Checkbox-module__checkbox___xxg5L.Checkbox-module__variant_emphasized___-koYj {
1169
+ color: #363e4f;
1170
+ font-weight: 500;
1171
+ font-size: 0.875rem;
1172
+ line-height: 20px;
1173
+ }
1174
+ .Checkbox-module__checkbox___xxg5L.Checkbox-module__variant_indeterminate___J5Xcc.Checkbox-module__disabled___v-RG1 .ant-checkbox-indeterminate .ant-checkbox-inner {
1175
+ opacity: 0.5;
1176
+ border-color: #ec5d25;
1177
+ background-color: #ec5d25;
1178
+ }
1179
+ .Checkbox-module__checkbox___xxg5L.Checkbox-module__variant_indeterminate___J5Xcc.Checkbox-module__disabled___v-RG1 .ant-checkbox-indeterminate .ant-checkbox-inner::after {
1180
+ border-color: #ffffff;
1181
+ }
1182
+ .Checkbox-module__checkbox___xxg5L.Checkbox-module__variant_indeterminate___J5Xcc .ant-checkbox-indeterminate .ant-checkbox-inner {
1183
+ border-color: #ec5d25 !important;
1184
+ background-color: #ec5d25 !important;
1185
+ }
1186
+ .Checkbox-module__checkbox___xxg5L.Checkbox-module__variant_indeterminate___J5Xcc .ant-checkbox-indeterminate .ant-checkbox-inner::after {
1187
+ inset-inline-start: 50%;
1188
+ width: 60%;
1189
+ height: 3px;
1190
+ border-radius: 4px;
1191
+ background: white;
1192
+ }
1193
+
1184
1194
  /* src/atom/Radio/Radio.module.scss */
1185
1195
  .Radio-module__radio___1CPAk {
1186
1196
  display: flex;
@@ -1249,112 +1259,6 @@
1249
1259
  line-height: 20px;
1250
1260
  }
1251
1261
 
1252
- /* src/atom/Modal/Modal.module.scss */
1253
- .Modal-module__modal___PKrAi.Modal-module__footerMargintopDisable___4B6u- .Modal-module__ant-modal-footer___HKsDR {
1254
- margin-top: 0;
1255
- margin-top: 0px;
1256
- }
1257
- .Modal-module__modal___PKrAi .ant-modal-footer .primaryFooter {
1258
- padding: 24px;
1259
- padding: 1.5rem;
1260
- display: flex;
1261
- justify-content: flex-end;
1262
- }
1263
- .Modal-module__modal___PKrAi .ant-modal-footer .primaryFooter .Modal-module__okBtn___Ut8e5,
1264
- .Modal-module__modal___PKrAi .ant-modal-footer .primaryFooter .Modal-module__cancelBtn___i0Rm8 {
1265
- min-width: 92px;
1266
- }
1267
- .Modal-module__modal___PKrAi .ant-modal-footer .secondaryFooter {
1268
- padding: 24px;
1269
- padding: 1.5rem;
1270
- padding-top: 0px;
1271
- display: flex;
1272
- justify-content: flex-end;
1273
- }
1274
- .Modal-module__modal___PKrAi .ant-modal-footer .secondaryFooter .Modal-module__okBtn___Ut8e5,
1275
- .Modal-module__modal___PKrAi .ant-modal-footer .secondaryFooter .Modal-module__cancelBtn___i0Rm8 {
1276
- width: 50%;
1277
- }
1278
- .Modal-module__modal___PKrAi .ant-modal-content {
1279
- padding: 0;
1280
- border-radius: 0.75rem;
1281
- padding: 0px;
1282
- }
1283
- .Modal-module__modal___PKrAi .ant-modal-content .ant-modal-header {
1284
- margin-bottom: 0px;
1285
- padding: 1rem;
1286
- }
1287
- @media (min-width: 576px) {
1288
- .Modal-module__modal___PKrAi .ant-modal-content .ant-modal-header {
1289
- padding: 1.5rem;
1290
- }
1291
- }
1292
- .Modal-module__modal___PKrAi .ant-modal-content .ant-modal-header .ant-modal-title {
1293
- justify-content: flex-start;
1294
- padding-right: 1.25rem;
1295
- font-size: 1.25rem;
1296
- font-weight: 500;
1297
- line-height: 1.75rem;
1298
- --tw-text-opacity: 1;
1299
- color: rgb(17 24 39 / var(--tw-text-opacity, 1));
1300
- }
1301
- .Modal-module__modal___PKrAi .ant-modal-content .ant-modal-close {
1302
- display: flex;
1303
- align-items: flex-end;
1304
- justify-content: center;
1305
- }
1306
- .Modal-module__modal___PKrAi .ant-modal-content .ant-modal-close .ant-modal-close-x {
1307
- display: flex;
1308
- align-items: center;
1309
- justify-content: center;
1310
- }
1311
- .Modal-module__modal___PKrAi .ant-modal-content .ant-modal-body {
1312
- padding: 0 1.5rem 1.5rem;
1313
- max-height: 65vh;
1314
- overflow: auto;
1315
- }
1316
- .Modal-module__modal___PKrAi .ant-modal-content .ant-modal-close {
1317
- top: 1.5rem;
1318
- right: 1.5rem;
1319
- padding-bottom: 0.25rem;
1320
- }
1321
- .Modal-module__modal___PKrAi .ant-btn-primary {
1322
- margin-inline-start: 0.5rem;
1323
- }
1324
-
1325
- /* src/molecules/UserProfile/UserProfile.module.scss */
1326
- .UserProfile-module__userProfile___cRMm9 {
1327
- display: flex;
1328
- align-items: center;
1329
- gap: 0.625rem
1330
- }
1331
- .UserProfile-module__userProfile___cRMm9 .UserProfile-module__profileContent___tfy8E {
1332
- display: flex;
1333
- flex-direction: column
1334
- }
1335
- .UserProfile-module__userProfile___cRMm9 .UserProfile-module__profileContent___tfy8E .UserProfile-module__profileHeader___5qYbt {
1336
- display: flex;
1337
- align-items: center;
1338
- gap: 0.5rem
1339
- }
1340
- .UserProfile-module__userProfile___cRMm9 .UserProfile-module__profileContent___tfy8E .UserProfile-module__profileHeader___5qYbt .UserProfile-module__profileName___x8pg- {
1341
- margin: 0px
1342
- }
1343
- .UserProfile-module__userProfile___cRMm9 .UserProfile-module__profileContent___tfy8E .UserProfile-module__profileEmail___ZWKDd {
1344
- margin: 0px;
1345
- margin-top: 0.125rem
1346
- }
1347
-
1348
- /* src/atom/LoadingSpinner/LoadingSpinner.module.scss */
1349
- .LoadingSpinner-module__spinnerContainer___DiPLf {
1350
- display: flex;
1351
- justify-content: center;
1352
- align-items: center;
1353
- height: 100%;
1354
- margin-top: 2rem;
1355
- margin-bottom: 2rem;
1356
- }
1357
-
1358
1262
  /* src/atom/Table/Table.module.scss */
1359
1263
  @charset "UTF-8";
1360
1264
  /* ============================================================
@@ -1868,6 +1772,102 @@
1868
1772
  min-width: 180px;
1869
1773
  }
1870
1774
 
1775
+ /* src/molecules/UserProfile/UserProfile.module.scss */
1776
+ .UserProfile-module__userProfile___cRMm9 {
1777
+ display: flex;
1778
+ align-items: center;
1779
+ gap: 0.625rem
1780
+ }
1781
+ .UserProfile-module__userProfile___cRMm9 .UserProfile-module__profileContent___tfy8E {
1782
+ display: flex;
1783
+ flex-direction: column
1784
+ }
1785
+ .UserProfile-module__userProfile___cRMm9 .UserProfile-module__profileContent___tfy8E .UserProfile-module__profileHeader___5qYbt {
1786
+ display: flex;
1787
+ align-items: center;
1788
+ gap: 0.5rem
1789
+ }
1790
+ .UserProfile-module__userProfile___cRMm9 .UserProfile-module__profileContent___tfy8E .UserProfile-module__profileHeader___5qYbt .UserProfile-module__profileName___x8pg- {
1791
+ margin: 0px
1792
+ }
1793
+ .UserProfile-module__userProfile___cRMm9 .UserProfile-module__profileContent___tfy8E .UserProfile-module__profileEmail___ZWKDd {
1794
+ margin: 0px;
1795
+ margin-top: 0.125rem
1796
+ }
1797
+
1798
+ /* src/atom/Modal/Modal.module.scss */
1799
+ .Modal-module__modal___PKrAi.Modal-module__footerMargintopDisable___4B6u- .Modal-module__ant-modal-footer___HKsDR {
1800
+ margin-top: 0;
1801
+ margin-top: 0px;
1802
+ }
1803
+ .Modal-module__modal___PKrAi .ant-modal-footer .primaryFooter {
1804
+ padding: 24px;
1805
+ padding: 1.5rem;
1806
+ display: flex;
1807
+ justify-content: flex-end;
1808
+ }
1809
+ .Modal-module__modal___PKrAi .ant-modal-footer .primaryFooter .Modal-module__okBtn___Ut8e5,
1810
+ .Modal-module__modal___PKrAi .ant-modal-footer .primaryFooter .Modal-module__cancelBtn___i0Rm8 {
1811
+ min-width: 92px;
1812
+ }
1813
+ .Modal-module__modal___PKrAi .ant-modal-footer .secondaryFooter {
1814
+ padding: 24px;
1815
+ padding: 1.5rem;
1816
+ padding-top: 0px;
1817
+ display: flex;
1818
+ justify-content: flex-end;
1819
+ }
1820
+ .Modal-module__modal___PKrAi .ant-modal-footer .secondaryFooter .Modal-module__okBtn___Ut8e5,
1821
+ .Modal-module__modal___PKrAi .ant-modal-footer .secondaryFooter .Modal-module__cancelBtn___i0Rm8 {
1822
+ width: 50%;
1823
+ }
1824
+ .Modal-module__modal___PKrAi .ant-modal-content {
1825
+ padding: 0;
1826
+ border-radius: 0.75rem;
1827
+ padding: 0px;
1828
+ }
1829
+ .Modal-module__modal___PKrAi .ant-modal-content .ant-modal-header {
1830
+ margin-bottom: 0px;
1831
+ padding: 1rem;
1832
+ }
1833
+ @media (min-width: 576px) {
1834
+ .Modal-module__modal___PKrAi .ant-modal-content .ant-modal-header {
1835
+ padding: 1.5rem;
1836
+ }
1837
+ }
1838
+ .Modal-module__modal___PKrAi .ant-modal-content .ant-modal-header .ant-modal-title {
1839
+ justify-content: flex-start;
1840
+ padding-right: 1.25rem;
1841
+ font-size: 1.25rem;
1842
+ font-weight: 500;
1843
+ line-height: 1.75rem;
1844
+ --tw-text-opacity: 1;
1845
+ color: rgb(17 24 39 / var(--tw-text-opacity, 1));
1846
+ }
1847
+ .Modal-module__modal___PKrAi .ant-modal-content .ant-modal-close {
1848
+ display: flex;
1849
+ align-items: flex-end;
1850
+ justify-content: center;
1851
+ }
1852
+ .Modal-module__modal___PKrAi .ant-modal-content .ant-modal-close .ant-modal-close-x {
1853
+ display: flex;
1854
+ align-items: center;
1855
+ justify-content: center;
1856
+ }
1857
+ .Modal-module__modal___PKrAi .ant-modal-content .ant-modal-body {
1858
+ padding: 0 1.5rem 1.5rem;
1859
+ max-height: 65vh;
1860
+ overflow: auto;
1861
+ }
1862
+ .Modal-module__modal___PKrAi .ant-modal-content .ant-modal-close {
1863
+ top: 1.5rem;
1864
+ right: 1.5rem;
1865
+ padding-bottom: 0.25rem;
1866
+ }
1867
+ .Modal-module__modal___PKrAi .ant-btn-primary {
1868
+ margin-inline-start: 0.5rem;
1869
+ }
1870
+
1871
1871
  /* src/atom/RangePicker/RangePicker.module.scss */
1872
1872
  .RangePicker-module__range_start___hGQp-::after {
1873
1873
  content: "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itilite/lumina-ui",
3
- "version": "1.0.13-alpha",
3
+ "version": "1.0.14-alpha",
4
4
  "description": "Itilite Lumina Design System UI Components",
5
5
  "sideEffects": false,
6
6
  "license": "MIT",