@verma-consulting/design-library 0.1.39 → 0.1.41

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.mjs CHANGED
@@ -212,7 +212,7 @@ var TablePagination_default = TablePagination;
212
212
 
213
213
  // src/index.tsx
214
214
  import {
215
- useTheme as useTheme12,
215
+ useTheme as useTheme13,
216
216
  styled as styled5,
217
217
  createTheme,
218
218
  ThemeProvider
@@ -358,7 +358,7 @@ import { Close } from "@mui/icons-material";
358
358
  import { jsx as jsx4, jsxs as jsxs2 } from "react/jsx-runtime";
359
359
  var BootstrapDialog = styled(Dialog)(({ theme }) => ({
360
360
  "& .MuiDialog-paper": {
361
- borderRadius: "24px"
361
+ borderRadius: 24
362
362
  },
363
363
  "& .MuiDialogContent-root": {
364
364
  padding: theme.spacing(4)
@@ -432,8 +432,8 @@ var FormDialog = ({
432
432
  var FormDialog_default = FormDialog;
433
433
 
434
434
  // src/InputFileUpload.tsx
435
- import { alpha as alpha3, styled as styled2 } from "@mui/material/styles";
436
- import { Button } from "@mui/material";
435
+ import { alpha as alpha3, styled as styled2, useTheme as useTheme4 } from "@mui/material/styles";
436
+ import { Box as Box3, Typography as Typography2 } from "@mui/material";
437
437
  import { CloudUpload } from "@mui/icons-material";
438
438
 
439
439
  // src/glassStyles.ts
@@ -449,6 +449,9 @@ var glassSurface = (theme) => ({
449
449
  WebkitBackdropFilter: "blur(18px) saturate(155%)",
450
450
  boxShadow: theme.palette.mode === "dark" ? "0 16px 40px rgba(0,0,0,0.34)" : "0 14px 34px rgba(15, 23, 42, 0.12)"
451
451
  });
452
+ var glassHover = (theme) => ({
453
+ background: theme.palette.mode === "dark" ? `linear-gradient(160deg, ${alpha2("#374151", 0.8)} 0%, ${alpha2("#1F2937", 0.74)} 100%)` : `linear-gradient(160deg, ${alpha2("#FFFFFF", 0.97)} 0%, ${alpha2("#EEF5FF", 0.86)} 100%)`
454
+ });
452
455
 
453
456
  // src/InputFileUpload.tsx
454
457
  import { jsx as jsx5, jsxs as jsxs3 } from "react/jsx-runtime";
@@ -463,38 +466,118 @@ var VisuallyHiddenInput = styled2("input")({
463
466
  whiteSpace: "nowrap",
464
467
  width: 1
465
468
  });
466
- var InputFileUpload = ({ name = "", onChange = () => null, title = "" }) => /* @__PURE__ */ jsxs3(
467
- Button,
468
- {
469
- role: void 0,
470
- component: "label",
471
- size: "small",
472
- variant: "contained",
473
- tabIndex: -1,
474
- startIcon: /* @__PURE__ */ jsx5(CloudUpload, { fontSize: "inherit" }),
475
- sx: {
476
- ...(theme) => glassSurface(theme),
477
- textTransform: "none",
478
- borderRadius: 999,
479
- px: 2.25,
480
- py: 0.75,
481
- color: "text.primary",
482
- borderColor: (theme) => alpha3(theme.palette.primary.main, 0.24),
483
- "&:hover": {
484
- borderColor: (theme) => alpha3(theme.palette.primary.main, 0.42)
485
- }
486
- },
487
- children: [
488
- title,
489
- /* @__PURE__ */ jsx5(VisuallyHiddenInput, { type: "file", name, onChange })
490
- ]
491
- }
492
- );
469
+ var InputFileUpload = ({
470
+ name = "",
471
+ onChange = () => null,
472
+ title = "Choose file",
473
+ subtitle = "Tap to browse",
474
+ accept,
475
+ multiple,
476
+ disabled = false,
477
+ fullWidth = false
478
+ }) => {
479
+ const theme = useTheme4();
480
+ return /* @__PURE__ */ jsxs3(
481
+ Box3,
482
+ {
483
+ component: "label",
484
+ sx: (t) => ({
485
+ ...glassSurface(t),
486
+ display: fullWidth ? "flex" : "inline-flex",
487
+ alignItems: "center",
488
+ gap: 2,
489
+ width: fullWidth ? "100%" : "auto",
490
+ maxWidth: "100%",
491
+ px: 2.25,
492
+ py: 1.75,
493
+ borderRadius: 2.5,
494
+ cursor: disabled ? "not-allowed" : "pointer",
495
+ opacity: disabled ? 0.52 : 1,
496
+ pointerEvents: disabled ? "none" : "auto",
497
+ transition: "box-shadow 0.2s ease, transform 0.2s ease",
498
+ borderStyle: "dashed",
499
+ borderWidth: 1,
500
+ borderColor: alpha3(
501
+ t.palette.primary.main,
502
+ t.palette.mode === "dark" ? 0.35 : 0.28
503
+ ),
504
+ "&:hover": !disabled ? {
505
+ ...glassHover(t),
506
+ borderColor: alpha3(t.palette.primary.main, 0.45),
507
+ boxShadow: t.palette.mode === "dark" ? "0 12px 28px rgba(0,0,0,0.38)" : "0 12px 28px rgba(15, 23, 42, 0.12)"
508
+ } : void 0,
509
+ "&:focus-within": {
510
+ outline: `2px solid ${alpha3(t.palette.primary.main, 0.45)}`,
511
+ outlineOffset: 2
512
+ }
513
+ }),
514
+ children: [
515
+ /* @__PURE__ */ jsx5(
516
+ Box3,
517
+ {
518
+ "aria-hidden": true,
519
+ sx: {
520
+ flexShrink: 0,
521
+ width: 44,
522
+ height: 44,
523
+ borderRadius: 2,
524
+ display: "flex",
525
+ alignItems: "center",
526
+ justifyContent: "center",
527
+ background: alpha3(
528
+ theme.palette.primary.main,
529
+ theme.palette.mode === "dark" ? 0.22 : 0.12
530
+ ),
531
+ border: `1px solid ${alpha3(theme.palette.primary.main, 0.25)}`,
532
+ color: "primary.main"
533
+ },
534
+ children: /* @__PURE__ */ jsx5(CloudUpload, { sx: { fontSize: 22 } })
535
+ }
536
+ ),
537
+ /* @__PURE__ */ jsxs3(Box3, { sx: { flex: 1, minWidth: 0, textAlign: "left" }, children: [
538
+ /* @__PURE__ */ jsx5(
539
+ Typography2,
540
+ {
541
+ variant: "subtitle2",
542
+ component: "span",
543
+ display: "block",
544
+ fontWeight: 700,
545
+ color: "text.primary",
546
+ letterSpacing: "-0.01em",
547
+ children: title
548
+ }
549
+ ),
550
+ /* @__PURE__ */ jsx5(
551
+ Typography2,
552
+ {
553
+ variant: "caption",
554
+ color: "text.secondary",
555
+ display: "block",
556
+ sx: { mt: 0.25 },
557
+ children: subtitle
558
+ }
559
+ )
560
+ ] }),
561
+ /* @__PURE__ */ jsx5(
562
+ VisuallyHiddenInput,
563
+ {
564
+ type: "file",
565
+ name,
566
+ onChange,
567
+ accept,
568
+ multiple,
569
+ disabled
570
+ }
571
+ )
572
+ ]
573
+ }
574
+ );
575
+ };
493
576
  var InputFileUpload_default = InputFileUpload;
494
577
 
495
578
  // src/ImageUploadAvatar.tsx
496
579
  import { useEffect, useRef, useState } from "react";
497
- import { Box as Box3, IconButton as IconButton2 } from "@mui/material";
580
+ import { Box as Box4, IconButton as IconButton2 } from "@mui/material";
498
581
  import { alpha as alpha4, styled as styled3 } from "@mui/material/styles";
499
582
  import { CloudUpload as CloudUpload2, Close as CloseIcon } from "@mui/icons-material";
500
583
  import { jsx as jsx6, jsxs as jsxs4 } from "react/jsx-runtime";
@@ -508,7 +591,7 @@ var HiddenInput = styled3("input")({
508
591
  clip: "rect(0 0 0 0)",
509
592
  border: 0
510
593
  });
511
- var Wrapper = styled3(Box3, {
594
+ var Wrapper = styled3(Box4, {
512
595
  shouldForwardProp: (prop) => prop !== "variant" && prop !== "size"
513
596
  })(({ theme, size, variant }) => ({
514
597
  position: "relative",
@@ -529,7 +612,7 @@ var PreviewImg = styled3("img")({
529
612
  objectFit: "cover",
530
613
  display: "block"
531
614
  });
532
- var Overlay = styled3(Box3)(({ theme }) => ({
615
+ var Overlay = styled3(Box4)(({ theme }) => ({
533
616
  position: "absolute",
534
617
  inset: 0,
535
618
  display: "flex",
@@ -637,12 +720,8 @@ var ImageUploadAvatar_default = ImageUploadAvatar;
637
720
 
638
721
  // src/FormSnackBar.tsx
639
722
  import { useEffect as useEffect2, useRef as useRef2, useState as useState2 } from "react";
640
- import {
641
- Alert,
642
- Grow,
643
- IconButton as IconButton3
644
- } from "@mui/material";
645
- import { alpha as alpha5, useTheme as useTheme4 } from "@mui/material/styles";
723
+ import { Alert, Grow, IconButton as IconButton3 } from "@mui/material";
724
+ import { alpha as alpha5, useTheme as useTheme5 } from "@mui/material/styles";
646
725
  import CloseIcon2 from "@mui/icons-material/Close";
647
726
  import { constants } from "@verma-consulting/common-library";
648
727
  import { jsx as jsx7 } from "react/jsx-runtime";
@@ -671,14 +750,12 @@ var FormSnackBar = ({
671
750
  autoHideDuration = 3500
672
751
  }) => {
673
752
  var _a2, _b;
674
- const theme = useTheme4();
753
+ const theme = useTheme5();
675
754
  const [queue, setQueue] = useState2([]);
676
755
  const idRef = useRef2(0);
677
756
  const prevOpenRef = useRef2(!!(snackBar == null ? void 0 : snackBar.open));
678
757
  const prevSignatureRef = useRef2("");
679
- const timersRef = useRef2(
680
- {}
681
- );
758
+ const timersRef = useRef2({});
682
759
  const type = (_a2 = snackBar.type) != null ? _a2 : "";
683
760
  const message = (_b = snackBar.message) != null ? _b : "";
684
761
  const severity = isSnackbarType(type) ? type : "info";
@@ -750,7 +827,7 @@ var FormSnackBar = ({
750
827
  sx: {
751
828
  width: "100%",
752
829
  pointerEvents: "auto",
753
- borderRadius: 3,
830
+ borderRadius: 2,
754
831
  px: { xs: 1.25, sm: 1.5 },
755
832
  py: 0.875,
756
833
  alignItems: "center",
@@ -837,7 +914,7 @@ var Loader = ({ size = 48, color = "primary" }) => {
837
914
  var Loader_default = Loader;
838
915
 
839
916
  // src/SkeletonBar.tsx
840
- import { Box as Box4, useTheme as useTheme5 } from "@mui/material";
917
+ import { Box as Box5, useTheme as useTheme6 } from "@mui/material";
841
918
  import { jsx as jsx9 } from "react/jsx-runtime";
842
919
  var SHIMMER_KEYFRAMES = {
843
920
  "@keyframes skeletonShimmer": {
@@ -851,11 +928,11 @@ var SkeletonBar = ({
851
928
  sx = {}
852
929
  }) => {
853
930
  var _a2, _b, _c, _d, _e, _f, _g, _h;
854
- const theme = useTheme5();
931
+ const theme = useTheme6();
855
932
  const base = theme.palette.mode === "dark" ? (_b = (_a2 = theme.palette.grey) == null ? void 0 : _a2[700]) != null ? _b : "#424242" : (_d = (_c = theme.palette.grey) == null ? void 0 : _c[200]) != null ? _d : "#e0e0e0";
856
933
  const highlight = theme.palette.mode === "dark" ? (_f = (_e = theme.palette.grey) == null ? void 0 : _e[600]) != null ? _f : "#616161" : (_h = (_g = theme.palette.grey) == null ? void 0 : _g[100]) != null ? _h : "#f5f5f5";
857
934
  return /* @__PURE__ */ jsx9(
858
- Box4,
935
+ Box5,
859
936
  {
860
937
  sx: {
861
938
  ...SHIMMER_KEYFRAMES,
@@ -876,11 +953,11 @@ var SkeletonBar_default = SkeletonBar;
876
953
 
877
954
  // src/EmptyState.tsx
878
955
  import React5 from "react";
879
- import { Box as Box5, Typography as Typography2, useTheme as useTheme6 } from "@mui/material";
956
+ import { Box as Box6, Typography as Typography3, useTheme as useTheme7 } from "@mui/material";
880
957
  import { DatasetOutlined } from "@mui/icons-material";
881
958
  import { jsx as jsx10, jsxs as jsxs5 } from "react/jsx-runtime";
882
959
  var EmptyState = ({ label, m = 8, icon }) => {
883
- const theme = useTheme6();
960
+ const theme = useTheme7();
884
961
  const text = label != null ? label : "No data created yet";
885
962
  const iconColor = theme.palette.mode === "dark" ? "rgba(255,255,255,0.42)" : "rgba(0,0,0,0.42)";
886
963
  const labelColor = theme.palette.mode === "dark" ? "rgba(255,255,255,0.50)" : "rgba(0,0,0,0.38)";
@@ -895,7 +972,7 @@ var EmptyState = ({ label, m = 8, icon }) => {
895
972
  }
896
973
  );
897
974
  return /* @__PURE__ */ jsxs5(
898
- Box5,
975
+ Box6,
899
976
  {
900
977
  sx: {
901
978
  display: "flex",
@@ -911,7 +988,7 @@ var EmptyState = ({ label, m = 8, icon }) => {
911
988
  children: [
912
989
  iconEl,
913
990
  /* @__PURE__ */ jsx10(
914
- Typography2,
991
+ Typography3,
915
992
  {
916
993
  variant: "body2",
917
994
  align: "center",
@@ -933,8 +1010,8 @@ var EmptyState = ({ label, m = 8, icon }) => {
933
1010
  var EmptyState_default = EmptyState;
934
1011
 
935
1012
  // src/Pill.tsx
936
- import { Button as Button2, Typography as Typography3, Icon } from "@mui/material";
937
- import { alpha as alpha7, useTheme as useTheme7 } from "@mui/material/styles";
1013
+ import { Button, Typography as Typography4, Icon } from "@mui/material";
1014
+ import { alpha as alpha7, useTheme as useTheme8 } from "@mui/material/styles";
938
1015
  import { jsx as jsx11, jsxs as jsxs6 } from "react/jsx-runtime";
939
1016
  var Pill = ({
940
1017
  variant = "filter",
@@ -946,15 +1023,15 @@ var Pill = ({
946
1023
  label = "",
947
1024
  disabled = false
948
1025
  }) => {
949
- const theme = useTheme7();
1026
+ const theme = useTheme8();
950
1027
  return /* @__PURE__ */ jsx11(
951
- Button2,
1028
+ Button,
952
1029
  {
953
1030
  variant: isSelected ? "contained" : "outlined",
954
1031
  color: color || "primary",
955
1032
  sx: {
956
1033
  ...glassSurface(theme),
957
- borderRadius: "999px",
1034
+ borderRadius: 16,
958
1035
  padding: "8px 16px",
959
1036
  minHeight: 38,
960
1037
  textTransform: "none",
@@ -978,7 +1055,7 @@ var Pill = ({
978
1055
  "data-testid": "pill-left-icon"
979
1056
  }
980
1057
  ),
981
- /* @__PURE__ */ jsx11(Typography3, { variant: "subtitle2", color: "inherit", fontWeight: 700, children: label }),
1058
+ /* @__PURE__ */ jsx11(Typography4, { variant: "subtitle2", color: "inherit", fontWeight: 700, children: label }),
982
1059
  rightIcon && /* @__PURE__ */ jsx11(
983
1060
  Icon,
984
1061
  {
@@ -1037,7 +1114,7 @@ var IOSSwitch = styled4((props) => /* @__PURE__ */ jsx12(Switch, { focusVisibleC
1037
1114
  boxShadow: theme.palette.mode === "dark" ? "0 2px 8px rgba(0,0,0,0.38)" : "0 2px 6px rgba(15,23,42,0.24)"
1038
1115
  },
1039
1116
  "& .MuiSwitch-track": {
1040
- borderRadius: 30 / 2,
1117
+ borderRadius: 16,
1041
1118
  background: theme.palette.mode === "light" ? "linear-gradient(120deg, rgba(245,248,255,0.92) 0%, rgba(224,232,245,0.92) 100%)" : "linear-gradient(120deg, rgba(55,65,81,0.74) 0%, rgba(31,41,55,0.8) 100%)",
1042
1119
  border: `1px solid ${alpha8("#FFFFFF", theme.palette.mode === "dark" ? 0.16 : 0.56)}`,
1043
1120
  backdropFilter: "blur(10px) saturate(145%)",
@@ -1052,7 +1129,7 @@ var IOSSwitch_default = IOSSwitch;
1052
1129
 
1053
1130
  // src/StatusPill.tsx
1054
1131
  import { Chip } from "@mui/material";
1055
- import { alpha as alpha9, useTheme as useTheme8 } from "@mui/material/styles";
1132
+ import { alpha as alpha9, useTheme as useTheme9 } from "@mui/material/styles";
1056
1133
  import { userStatus } from "@verma-consulting/common-library";
1057
1134
  import { jsx as jsx13 } from "react/jsx-runtime";
1058
1135
  var statusColorMap = {
@@ -1063,7 +1140,7 @@ var statusColorMap = {
1063
1140
  };
1064
1141
  var StatusPill = ({ status }) => {
1065
1142
  var _a2, _b, _c;
1066
- const theme = useTheme8();
1143
+ const theme = useTheme9();
1067
1144
  return /* @__PURE__ */ jsx13(
1068
1145
  Chip,
1069
1146
  {
@@ -1073,7 +1150,7 @@ var StatusPill = ({ status }) => {
1073
1150
  ...glassSurface(theme),
1074
1151
  minHeight: 38,
1075
1152
  fontWeight: 700,
1076
- borderRadius: "999px",
1153
+ borderRadius: 16,
1077
1154
  px: 1.25,
1078
1155
  letterSpacing: "0.01em",
1079
1156
  color: (_a2 = statusColorMap[status]) != null ? _a2 : theme.palette.text.primary,
@@ -1149,12 +1226,12 @@ import React7, { useEffect as useEffect3, useRef as useRef3, useState as useStat
1149
1226
  import {
1150
1227
  Autocomplete,
1151
1228
  TextField,
1152
- Typography as Typography4,
1229
+ Typography as Typography5,
1153
1230
  FormLabel,
1154
1231
  FormControl,
1155
1232
  IconButton as IconButton5
1156
1233
  } from "@mui/material";
1157
- import { alpha as alpha10, useTheme as useTheme9 } from "@mui/material/styles";
1234
+ import { alpha as alpha10, useTheme as useTheme10 } from "@mui/material/styles";
1158
1235
  import { Clear } from "@mui/icons-material";
1159
1236
  import { makeStyles as makeStyles2 } from "@mui/styles";
1160
1237
  import { Fragment as Fragment2, jsx as jsx15, jsxs as jsxs8 } from "react/jsx-runtime";
@@ -1163,7 +1240,7 @@ var useStyles2 = makeStyles2((theme) => ({
1163
1240
  margin: "4px",
1164
1241
  padding: "14px 8px",
1165
1242
  cursor: "pointer",
1166
- borderRadius: 14,
1243
+ borderRadius: 8,
1167
1244
  border: `1px solid ${alpha10("#FFFFFF", theme.palette.mode === "dark" ? 0.16 : 0.55)}`,
1168
1245
  backdropFilter: "blur(14px) saturate(150%)",
1169
1246
  background: theme.palette.mode === "dark" ? "linear-gradient(160deg, rgba(31,41,55,0.78), rgba(17,24,39,0.68))" : "linear-gradient(160deg, rgba(255,255,255,0.9), rgba(245,249,255,0.72))",
@@ -1194,7 +1271,7 @@ var SearchableSelect = React7.memo(
1194
1271
  defaultEditMode = false,
1195
1272
  multiple = false
1196
1273
  }) => {
1197
- const theme = useTheme9();
1274
+ const theme = useTheme10();
1198
1275
  const classes = useStyles2();
1199
1276
  const wrapperRef = useRef3(null);
1200
1277
  const inputRef = useRef3(null);
@@ -1340,7 +1417,7 @@ var SearchableSelect = React7.memo(
1340
1417
  InputProps: {
1341
1418
  ...params.InputProps,
1342
1419
  sx: {
1343
- borderRadius: 1.75,
1420
+ borderRadius: 2,
1344
1421
  backdropFilter: "blur(10px)",
1345
1422
  pr: 1.5,
1346
1423
  background: glassBackground,
@@ -1400,8 +1477,22 @@ var SearchableSelect = React7.memo(
1400
1477
  className: classes.defaultMode,
1401
1478
  style,
1402
1479
  children: [
1403
- /* @__PURE__ */ jsx15(FormLabel, { className: classes.formLabel, sx: { color: "text.secondary" }, children: label }),
1404
- /* @__PURE__ */ jsx15(Typography4, { className: classes.formValue, sx: { color: "text.primary" }, children: displayValue })
1480
+ /* @__PURE__ */ jsx15(
1481
+ FormLabel,
1482
+ {
1483
+ className: classes.formLabel,
1484
+ sx: { color: "text.secondary" },
1485
+ children: label
1486
+ }
1487
+ ),
1488
+ /* @__PURE__ */ jsx15(
1489
+ Typography5,
1490
+ {
1491
+ className: classes.formValue,
1492
+ sx: { color: "text.primary" },
1493
+ children: displayValue
1494
+ }
1495
+ )
1405
1496
  ]
1406
1497
  }
1407
1498
  );
@@ -1412,11 +1503,11 @@ var SearchableSelect_default = SearchableSelect;
1412
1503
  // src/FormDrawer.tsx
1413
1504
  import {
1414
1505
  Drawer,
1415
- Typography as Typography5,
1416
- Box as Box6,
1506
+ Typography as Typography6,
1507
+ Box as Box7,
1417
1508
  IconButton as IconButton6,
1418
1509
  Grid as Grid2,
1419
- useTheme as useTheme10,
1510
+ useTheme as useTheme11,
1420
1511
  useMediaQuery as useMediaQuery3
1421
1512
  } from "@mui/material";
1422
1513
  import { alpha as alpha11 } from "@mui/material/styles";
@@ -1429,7 +1520,7 @@ var FormDrawer = ({
1429
1520
  actions,
1430
1521
  children
1431
1522
  }) => {
1432
- const theme = useTheme10();
1523
+ const theme = useTheme11();
1433
1524
  const mdMatches = useMediaQuery3(theme.breakpoints.down("md"));
1434
1525
  return /* @__PURE__ */ jsxs9(
1435
1526
  Drawer,
@@ -1448,12 +1539,12 @@ var FormDrawer = ({
1448
1539
  },
1449
1540
  children: [
1450
1541
  /* @__PURE__ */ jsx16(
1451
- Box6,
1542
+ Box7,
1452
1543
  {
1453
1544
  p: 3,
1454
1545
  borderBottom: `1px solid ${alpha11(theme.palette.divider, 0.36)}`,
1455
1546
  children: /* @__PURE__ */ jsxs9(Grid2, { container: true, children: [
1456
- /* @__PURE__ */ jsx16(Grid2, { item: true, children: title && /* @__PURE__ */ jsx16(Typography5, { variant: "h6", fontWeight: "bold", children: title }) }),
1547
+ /* @__PURE__ */ jsx16(Grid2, { item: true, children: title && /* @__PURE__ */ jsx16(Typography6, { variant: "h6", fontWeight: "bold", children: title }) }),
1457
1548
  /* @__PURE__ */ jsx16(Grid2, { item: true, children: /* @__PURE__ */ jsx16(
1458
1549
  IconButton6,
1459
1550
  {
@@ -1472,9 +1563,9 @@ var FormDrawer = ({
1472
1563
  ] })
1473
1564
  }
1474
1565
  ),
1475
- /* @__PURE__ */ jsx16(Box6, { flex: 1, overflow: "auto", p: 3, children }),
1566
+ /* @__PURE__ */ jsx16(Box7, { flex: 1, overflow: "auto", p: 3, children }),
1476
1567
  actions && /* @__PURE__ */ jsx16(
1477
- Box6,
1568
+ Box7,
1478
1569
  {
1479
1570
  p: 2,
1480
1571
  borderTop: `1px solid ${alpha11(theme.palette.divider, 0.36)}`,
@@ -1502,11 +1593,11 @@ import {
1502
1593
  useState as useState5
1503
1594
  } from "react";
1504
1595
  import {
1505
- Box as Box7,
1596
+ Box as Box8,
1506
1597
  Stack,
1507
1598
  TextField as TextField2,
1508
1599
  MenuItem,
1509
- useTheme as useTheme11,
1600
+ useTheme as useTheme12,
1510
1601
  useMediaQuery as useMediaQuery4
1511
1602
  } from "@mui/material";
1512
1603
  import { alpha as alpha12 } from "@mui/material/styles";
@@ -1522,7 +1613,7 @@ var PhoneNumberField = ({
1522
1613
  autoFocus = false,
1523
1614
  onBlur
1524
1615
  }) => {
1525
- const theme = useTheme11();
1616
+ const theme = useTheme12();
1526
1617
  const smMatches = useMediaQuery4(theme.breakpoints.down("sm"));
1527
1618
  const countries = constants2.COUNTRIES || [];
1528
1619
  const glassInputSx = {
@@ -1623,7 +1714,7 @@ var PhoneNumberField = ({
1623
1714
  }
1624
1715
  };
1625
1716
  return /* @__PURE__ */ jsx17(
1626
- Box7,
1717
+ Box8,
1627
1718
  {
1628
1719
  ref: wrapperRef,
1629
1720
  onFocusCapture: () => setIsFocused(true),
@@ -1727,6 +1818,6 @@ export {
1727
1818
  createTheme,
1728
1819
  makeStyles3 as makeStyles,
1729
1820
  styled5 as styled,
1730
- useTheme12 as useTheme
1821
+ useTheme13 as useTheme
1731
1822
  };
1732
1823
  //# sourceMappingURL=index.mjs.map