@verma-consulting/design-library 0.1.12 → 0.1.14

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
@@ -158,13 +158,22 @@ import { Box } from "@mui/material";
158
158
  import { jsx as jsx2 } from "react/jsx-runtime";
159
159
  var TabPanel = (props) => {
160
160
  const { children, value, index, ...other } = props;
161
- return /* @__PURE__ */ jsx2("div", { role: "tabpanel", hidden: value !== index, id: `simple-tabpanel-${index}`, ...other, children: value === index && /* @__PURE__ */ jsx2(Box, { sx: { p: 2 }, children }) });
161
+ return /* @__PURE__ */ jsx2(
162
+ "div",
163
+ {
164
+ role: "tabpanel",
165
+ hidden: value !== index,
166
+ id: `simple-tabpanel-${index}`,
167
+ ...other,
168
+ children: value === index && /* @__PURE__ */ jsx2(Box, { sx: { p: 1 }, children })
169
+ }
170
+ );
162
171
  };
163
172
  var TabPanel_default = TabPanel;
164
173
 
165
174
  // src/index.tsx
166
175
  import {
167
- useTheme as useTheme7,
176
+ useTheme as useTheme9,
168
177
  styled as styled5,
169
178
  createTheme,
170
179
  ThemeProvider
@@ -299,12 +308,12 @@ var Logo_default = Logo;
299
308
  import { styled } from "@mui/material/styles";
300
309
  import {
301
310
  useTheme as useTheme2,
311
+ useMediaQuery as useMediaQuery2,
302
312
  Dialog,
303
313
  DialogTitle,
304
314
  DialogContent,
305
315
  DialogActions,
306
- IconButton as IconButton2,
307
- useMediaQuery as useMediaQuery2
316
+ IconButton as IconButton2
308
317
  } from "@mui/material";
309
318
  import { useTheme as useTheme3 } from "@mui/material/styles";
310
319
  import { Close } from "@mui/icons-material";
@@ -319,21 +328,37 @@ var BootstrapDialog = styled(Dialog)(({ theme }) => ({
319
328
  }));
320
329
  var BootstrapDialogTitle = (props) => {
321
330
  const { children, onClose, ...other } = props;
322
- return /* @__PURE__ */ jsxs3(DialogTitle, { sx: { m: 2, p: 2 }, ...other, children: [
323
- children,
324
- onClose ? /* @__PURE__ */ jsx4(
325
- IconButton2,
326
- {
327
- onClick: onClose,
328
- sx: {
329
- position: "absolute",
330
- right: 8,
331
- top: 8
332
- },
333
- children: /* @__PURE__ */ jsx4(Close, { color: "primary" })
334
- }
335
- ) : null
336
- ] });
331
+ return /* @__PURE__ */ jsxs3(
332
+ DialogTitle,
333
+ {
334
+ sx: {
335
+ px: 3,
336
+ py: 3,
337
+ pt: 3.5,
338
+ pb: 2.5,
339
+ fontSize: "1.25rem",
340
+ fontWeight: 600,
341
+ letterSpacing: "0.02em",
342
+ lineHeight: 1.35
343
+ },
344
+ ...other,
345
+ children: [
346
+ children,
347
+ onClose ? /* @__PURE__ */ jsx4(
348
+ IconButton2,
349
+ {
350
+ onClick: onClose,
351
+ sx: {
352
+ position: "absolute",
353
+ right: 16,
354
+ top: 16
355
+ },
356
+ children: /* @__PURE__ */ jsx4(Close, { color: "primary" })
357
+ }
358
+ ) : null
359
+ ]
360
+ }
361
+ );
337
362
  };
338
363
  var FormDialog = ({ open = false, setOpen, title = "", actions, children, maxWidth = "lg", ...props }) => {
339
364
  const theme = useTheme2();
@@ -595,10 +620,121 @@ var Loader = ({ size = 48, color = "primary" }) => {
595
620
  };
596
621
  var Loader_default = Loader;
597
622
 
623
+ // src/SkeletonBar.tsx
624
+ import { Box as Box4, useTheme as useTheme4 } from "@mui/material";
625
+ import { jsx as jsx9 } from "react/jsx-runtime";
626
+ var SHIMMER_KEYFRAMES = {
627
+ "@keyframes skeletonShimmer": {
628
+ "0%": { backgroundPosition: "200% 0" },
629
+ "100%": { backgroundPosition: "-200% 0" }
630
+ }
631
+ };
632
+ var SkeletonBar = ({
633
+ width = "100%",
634
+ height = 24,
635
+ sx = {}
636
+ }) => {
637
+ var _a, _b, _c, _d, _e, _f, _g, _h;
638
+ const theme = useTheme4();
639
+ const base = theme.palette.mode === "dark" ? (_b = (_a = theme.palette.grey) == null ? void 0 : _a[700]) != null ? _b : "#424242" : (_d = (_c = theme.palette.grey) == null ? void 0 : _c[200]) != null ? _d : "#e0e0e0";
640
+ 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";
641
+ return /* @__PURE__ */ jsx9(
642
+ Box4,
643
+ {
644
+ sx: {
645
+ ...SHIMMER_KEYFRAMES,
646
+ borderRadius: 2,
647
+ height,
648
+ width,
649
+ maxWidth: "100%",
650
+ overflow: "hidden",
651
+ background: `linear-gradient(90deg, ${base} 0%, ${highlight} 20%, ${base} 40%, ${base} 100%)`,
652
+ backgroundSize: "200% 100%",
653
+ animation: "skeletonShimmer 1.4s ease-in-out infinite",
654
+ ...sx
655
+ }
656
+ }
657
+ );
658
+ };
659
+ var SkeletonBar_default = SkeletonBar;
660
+
661
+ // src/EmptyState.tsx
662
+ import React4 from "react";
663
+ import { Box as Box5, Typography as Typography3, useTheme as useTheme5 } from "@mui/material";
664
+ import { StorageOutlined } from "@mui/icons-material";
665
+ import { jsx as jsx10, jsxs as jsxs6 } from "react/jsx-runtime";
666
+ var EmptyState = ({ label, m = 8, icon }) => {
667
+ var _a, _b, _c, _d;
668
+ const theme = useTheme5();
669
+ const text = label != null ? label : "No data here";
670
+ const iconColor = theme.palette.mode === "dark" ? (_b = (_a = theme.palette.grey) == null ? void 0 : _a[600]) != null ? _b : "rgba(255,255,255,0.25)" : (_d = (_c = theme.palette.grey) == null ? void 0 : _c[300]) != null ? _d : "rgba(0,0,0,0.18)";
671
+ const iconEl = icon != null && React4.isValidElement(icon) ? icon : /* @__PURE__ */ jsx10(
672
+ StorageOutlined,
673
+ {
674
+ sx: {
675
+ fontSize: 72,
676
+ color: iconColor,
677
+ display: "block"
678
+ }
679
+ }
680
+ );
681
+ return /* @__PURE__ */ jsxs6(
682
+ Box5,
683
+ {
684
+ sx: {
685
+ display: "flex",
686
+ flexDirection: "column",
687
+ alignItems: "center",
688
+ justifyContent: "center",
689
+ minHeight: 140,
690
+ m,
691
+ position: "relative"
692
+ },
693
+ children: [
694
+ /* @__PURE__ */ jsx10(
695
+ Box5,
696
+ {
697
+ sx: {
698
+ position: "absolute",
699
+ top: "50%",
700
+ left: "50%",
701
+ transform: "translate(-50%, -50%)",
702
+ pointerEvents: "none",
703
+ display: "flex",
704
+ alignItems: "center",
705
+ justifyContent: "center"
706
+ },
707
+ children: iconEl
708
+ }
709
+ ),
710
+ /* @__PURE__ */ jsx10(
711
+ Typography3,
712
+ {
713
+ variant: "subtitle1",
714
+ align: "center",
715
+ sx: {
716
+ position: "relative",
717
+ zIndex: 1,
718
+ fontWeight: 600,
719
+ fontSize: "1rem",
720
+ letterSpacing: "0.01em",
721
+ color: "text.secondary",
722
+ maxWidth: 360,
723
+ lineHeight: 1.5
724
+ },
725
+ children: text
726
+ }
727
+ )
728
+ ]
729
+ }
730
+ );
731
+ };
732
+ var EmptyState_default = EmptyState;
733
+
598
734
  // src/Pill.tsx
599
- import { Button as Button2, Typography as Typography3, Icon, useTheme as useTheme4 } from "@mui/material";
735
+ import { Button as Button2, Typography as Typography4, Icon, useTheme as useTheme6 } from "@mui/material";
600
736
  import { makeStyles as makeStyles3 } from "@mui/styles";
601
- import { jsx as jsx9, jsxs as jsxs6 } from "react/jsx-runtime";
737
+ import { jsx as jsx11, jsxs as jsxs7 } from "react/jsx-runtime";
602
738
  var useStyles3 = makeStyles3((theme) => ({
603
739
  button: {
604
740
  padding: "4px 8px 4px 8px",
@@ -622,9 +758,9 @@ var Pill = ({
622
758
  label = "",
623
759
  disabled = false
624
760
  }) => {
625
- const theme = useTheme4();
761
+ const theme = useTheme6();
626
762
  const classes = useStyles3();
627
- return /* @__PURE__ */ jsx9(
763
+ return /* @__PURE__ */ jsx11(
628
764
  Button2,
629
765
  {
630
766
  variant: isSelected ? "contained" : "outlined",
@@ -635,8 +771,8 @@ var Pill = ({
635
771
  textTransform: "none"
636
772
  },
637
773
  onClick,
638
- children: /* @__PURE__ */ jsxs6("div", { style: { display: "flex", alignItems: "center" }, children: [
639
- leftIcon && /* @__PURE__ */ jsx9(
774
+ children: /* @__PURE__ */ jsxs7("div", { style: { display: "flex", alignItems: "center" }, children: [
775
+ leftIcon && /* @__PURE__ */ jsx11(
640
776
  Icon,
641
777
  {
642
778
  className: leftIcon,
@@ -646,8 +782,8 @@ var Pill = ({
646
782
  "data-testid": "pill-left-icon"
647
783
  }
648
784
  ),
649
- /* @__PURE__ */ jsx9(Typography3, { variant: "subtitle", color: "inherit", fontWeight: "bold", children: label }),
650
- rightIcon && /* @__PURE__ */ jsx9(
785
+ /* @__PURE__ */ jsx11(Typography4, { variant: "subtitle", color: "inherit", fontWeight: "bold", children: label }),
786
+ rightIcon && /* @__PURE__ */ jsx11(
651
787
  Icon,
652
788
  {
653
789
  className: rightIcon,
@@ -666,8 +802,8 @@ var Pill_default = Pill;
666
802
  // src/IOSSwitch.tsx
667
803
  import { styled as styled4 } from "@mui/material/styles";
668
804
  import Switch from "@mui/material/Switch";
669
- import { jsx as jsx10 } from "react/jsx-runtime";
670
- var IOSSwitch = styled4((props) => /* @__PURE__ */ jsx10(Switch, { focusVisibleClassName: ".Mui-focusVisible", disableRipple: true, ...props }))(({ theme }) => ({
805
+ import { jsx as jsx12 } from "react/jsx-runtime";
806
+ var IOSSwitch = styled4((props) => /* @__PURE__ */ jsx12(Switch, { focusVisibleClassName: ".Mui-focusVisible", disableRipple: true, ...props }))(({ theme }) => ({
671
807
  width: 46,
672
808
  height: 30,
673
809
  padding: 0,
@@ -717,14 +853,14 @@ var IOSSwitch_default = IOSSwitch;
717
853
  // src/StatusPill.tsx
718
854
  import { Chip } from "@mui/material";
719
855
  import { userStatus } from "@verma-consulting/common-library";
720
- import { jsx as jsx11 } from "react/jsx-runtime";
856
+ import { jsx as jsx13 } from "react/jsx-runtime";
721
857
  var statusColorMap = {
722
858
  [userStatus.Pending]: "warning",
723
859
  [userStatus.Active]: "success",
724
860
  [userStatus.Inactive]: "error",
725
861
  [userStatus.Invited]: "info"
726
862
  };
727
- var StatusPill = ({ status }) => /* @__PURE__ */ jsx11(
863
+ var StatusPill = ({ status }) => /* @__PURE__ */ jsx13(
728
864
  Chip,
729
865
  {
730
866
  label: status,
@@ -739,7 +875,7 @@ var StatusPill_default = StatusPill;
739
875
  import { useState as useState2 } from "react";
740
876
  import { Tooltip as Tooltip2, IconButton as IconButton4, Popover } from "@mui/material";
741
877
  import { MoreHoriz } from "@mui/icons-material";
742
- import { Fragment, jsx as jsx12, jsxs as jsxs7 } from "react/jsx-runtime";
878
+ import { Fragment, jsx as jsx14, jsxs as jsxs8 } from "react/jsx-runtime";
743
879
  var FormPopover = ({ row, children, title }) => {
744
880
  const [anchorEl, setAnchorEl] = useState2(null);
745
881
  const handleClick = (event) => {
@@ -749,8 +885,8 @@ var FormPopover = ({ row, children, title }) => {
749
885
  setAnchorEl(null);
750
886
  };
751
887
  const open = Boolean(anchorEl);
752
- return /* @__PURE__ */ jsxs7(Fragment, { children: [
753
- /* @__PURE__ */ jsx12(Tooltip2, { title, children: /* @__PURE__ */ jsx12(
888
+ return /* @__PURE__ */ jsxs8(Fragment, { children: [
889
+ /* @__PURE__ */ jsx14(Tooltip2, { title, children: /* @__PURE__ */ jsx14(
754
890
  IconButton4,
755
891
  {
756
892
  onClick: handleClick,
@@ -765,10 +901,10 @@ var FormPopover = ({ row, children, title }) => {
765
901
  backgroundColor: "#f0f0f0"
766
902
  }
767
903
  },
768
- children: /* @__PURE__ */ jsx12(MoreHoriz, { fontSize: "inherit", color: "primary" })
904
+ children: /* @__PURE__ */ jsx14(MoreHoriz, { fontSize: "inherit", color: "primary" })
769
905
  }
770
906
  ) }),
771
- /* @__PURE__ */ jsx12(
907
+ /* @__PURE__ */ jsx14(
772
908
  Popover,
773
909
  {
774
910
  open,
@@ -786,18 +922,18 @@ var FormPopover = ({ row, children, title }) => {
786
922
  var FormPopover_default = FormPopover;
787
923
 
788
924
  // src/SearchableSelect.tsx
789
- import React5, { useEffect as useEffect2, useRef as useRef2, useState as useState3, useMemo } from "react";
925
+ import React6, { useEffect as useEffect2, useRef as useRef2, useState as useState3, useMemo } from "react";
790
926
  import {
791
927
  Autocomplete,
792
928
  TextField,
793
- Typography as Typography4,
929
+ Typography as Typography5,
794
930
  FormLabel as FormLabel2,
795
931
  FormControl as FormControl2,
796
932
  IconButton as IconButton5
797
933
  } from "@mui/material";
798
934
  import { Clear as Clear2 } from "@mui/icons-material";
799
935
  import { makeStyles as makeStyles4 } from "@mui/styles";
800
- import { Fragment as Fragment2, jsx as jsx13, jsxs as jsxs8 } from "react/jsx-runtime";
936
+ import { Fragment as Fragment2, jsx as jsx15, jsxs as jsxs9 } from "react/jsx-runtime";
801
937
  var useStyles4 = makeStyles4(() => ({
802
938
  defaultMode: {
803
939
  padding: "14px 8px",
@@ -816,7 +952,7 @@ var useStyles4 = makeStyles4(() => ({
816
952
  whiteSpace: "pre-wrap"
817
953
  }
818
954
  }));
819
- var SearchableSelect = React5.memo(
955
+ var SearchableSelect = React6.memo(
820
956
  ({
821
957
  name,
822
958
  label,
@@ -884,7 +1020,7 @@ var SearchableSelect = React5.memo(
884
1020
  }
885
1021
  }, [selected, multiple]);
886
1022
  const isValueEmpty = !value.trim();
887
- return editMode ? /* @__PURE__ */ jsx13(FormControl2, { fullWidth: true, style, disabled, size, children: /* @__PURE__ */ jsx13(
1023
+ return editMode ? /* @__PURE__ */ jsx15(FormControl2, { fullWidth: true, style, disabled, size, children: /* @__PURE__ */ jsx15(
888
1024
  Autocomplete,
889
1025
  {
890
1026
  multiple,
@@ -914,7 +1050,7 @@ var SearchableSelect = React5.memo(
914
1050
  autoHighlight: true,
915
1051
  getOptionLabel: (option) => option.label,
916
1052
  isOptionEqualToValue: (option, val) => option.value === val.value,
917
- renderInput: (params) => /* @__PURE__ */ jsx13(
1053
+ renderInput: (params) => /* @__PURE__ */ jsx15(
918
1054
  TextField,
919
1055
  {
920
1056
  ...params,
@@ -924,7 +1060,7 @@ var SearchableSelect = React5.memo(
924
1060
  inputRef,
925
1061
  InputProps: {
926
1062
  ...params.InputProps,
927
- endAdornment: /* @__PURE__ */ jsx13(Fragment2, { children: !isValueEmpty && /* @__PURE__ */ jsx13(
1063
+ endAdornment: /* @__PURE__ */ jsx15(Fragment2, { children: !isValueEmpty && /* @__PURE__ */ jsx15(
928
1064
  IconButton5,
929
1065
  {
930
1066
  "aria-label": `clear ${name}`,
@@ -934,7 +1070,7 @@ var SearchableSelect = React5.memo(
934
1070
  backgroundColor: "transparent",
935
1071
  boxShadow: "none"
936
1072
  },
937
- children: /* @__PURE__ */ jsx13(Clear2, { fontSize: "inherit" })
1073
+ children: /* @__PURE__ */ jsx15(Clear2, { fontSize: "inherit" })
938
1074
  }
939
1075
  ) })
940
1076
  }
@@ -945,7 +1081,7 @@ var SearchableSelect = React5.memo(
945
1081
  setOpen(false);
946
1082
  }
947
1083
  }
948
- ) }) : /* @__PURE__ */ jsxs8(
1084
+ ) }) : /* @__PURE__ */ jsxs9(
949
1085
  "div",
950
1086
  {
951
1087
  ref: wrapperRef,
@@ -958,8 +1094,8 @@ var SearchableSelect = React5.memo(
958
1094
  className: classes.defaultMode,
959
1095
  style,
960
1096
  children: [
961
- /* @__PURE__ */ jsx13(FormLabel2, { className: classes.formLabel, children: label }),
962
- /* @__PURE__ */ jsx13(Typography4, { className: classes.formValue, children: displayValue })
1097
+ /* @__PURE__ */ jsx15(FormLabel2, { className: classes.formLabel, children: label }),
1098
+ /* @__PURE__ */ jsx15(Typography5, { className: classes.formValue, children: displayValue })
963
1099
  ]
964
1100
  }
965
1101
  );
@@ -970,15 +1106,15 @@ var SearchableSelect_default = SearchableSelect;
970
1106
  // src/FormDrawer.tsx
971
1107
  import {
972
1108
  Drawer,
973
- Typography as Typography5,
974
- Box as Box4,
1109
+ Typography as Typography6,
1110
+ Box as Box6,
975
1111
  IconButton as IconButton6,
976
1112
  Grid as Grid2,
977
- useTheme as useTheme5,
1113
+ useTheme as useTheme7,
978
1114
  useMediaQuery as useMediaQuery3
979
1115
  } from "@mui/material";
980
1116
  import { Close as Close2 } from "@mui/icons-material";
981
- import { jsx as jsx14, jsxs as jsxs9 } from "react/jsx-runtime";
1117
+ import { jsx as jsx16, jsxs as jsxs10 } from "react/jsx-runtime";
982
1118
  var FormDrawer = ({
983
1119
  open,
984
1120
  setOpen,
@@ -986,9 +1122,9 @@ var FormDrawer = ({
986
1122
  actions,
987
1123
  children
988
1124
  }) => {
989
- const theme = useTheme5();
1125
+ const theme = useTheme7();
990
1126
  const mdMatches = useMediaQuery3(theme.breakpoints.down("md"));
991
- return /* @__PURE__ */ jsxs9(
1127
+ return /* @__PURE__ */ jsxs10(
992
1128
  Drawer,
993
1129
  {
994
1130
  anchor: mdMatches ? "bottom" : "right",
@@ -1004,9 +1140,9 @@ var FormDrawer = ({
1004
1140
  }
1005
1141
  },
1006
1142
  children: [
1007
- /* @__PURE__ */ jsx14(Box4, { p: 3, borderBottom: "1px solid #eee", children: /* @__PURE__ */ jsxs9(Grid2, { container: true, children: [
1008
- /* @__PURE__ */ jsx14(Grid2, { item: true, children: title && /* @__PURE__ */ jsx14(Typography5, { variant: "h6", fontWeight: "bold", children: title }) }),
1009
- /* @__PURE__ */ jsx14(Grid2, { item: true, children: /* @__PURE__ */ jsx14(
1143
+ /* @__PURE__ */ jsx16(Box6, { p: 3, borderBottom: "1px solid #eee", children: /* @__PURE__ */ jsxs10(Grid2, { container: true, children: [
1144
+ /* @__PURE__ */ jsx16(Grid2, { item: true, children: title && /* @__PURE__ */ jsx16(Typography6, { variant: "h6", fontWeight: "bold", children: title }) }),
1145
+ /* @__PURE__ */ jsx16(Grid2, { item: true, children: /* @__PURE__ */ jsx16(
1010
1146
  IconButton6,
1011
1147
  {
1012
1148
  size: "medium",
@@ -1017,13 +1153,13 @@ var FormDrawer = ({
1017
1153
  right: 8,
1018
1154
  zIndex: 2
1019
1155
  },
1020
- children: /* @__PURE__ */ jsx14(Close2, { fontSize: "inherit" })
1156
+ children: /* @__PURE__ */ jsx16(Close2, { fontSize: "inherit" })
1021
1157
  }
1022
1158
  ) })
1023
1159
  ] }) }),
1024
- /* @__PURE__ */ jsx14(Box4, { flex: 1, overflow: "auto", p: 3, children }),
1025
- actions && /* @__PURE__ */ jsx14(
1026
- Box4,
1160
+ /* @__PURE__ */ jsx16(Box6, { flex: 1, overflow: "auto", p: 3, children }),
1161
+ actions && /* @__PURE__ */ jsx16(
1162
+ Box6,
1027
1163
  {
1028
1164
  p: 2,
1029
1165
  borderTop: "1px solid #eee",
@@ -1049,15 +1185,15 @@ import {
1049
1185
  useState as useState4
1050
1186
  } from "react";
1051
1187
  import {
1052
- Box as Box5,
1188
+ Box as Box7,
1053
1189
  Stack,
1054
1190
  TextField as TextField2,
1055
1191
  MenuItem,
1056
- useTheme as useTheme6,
1192
+ useTheme as useTheme8,
1057
1193
  useMediaQuery as useMediaQuery4
1058
1194
  } from "@mui/material";
1059
1195
  import { constants } from "@verma-consulting/common-library";
1060
- import { jsx as jsx15, jsxs as jsxs10 } from "react/jsx-runtime";
1196
+ import { jsx as jsx17, jsxs as jsxs11 } from "react/jsx-runtime";
1061
1197
  var PhoneNumberField = ({
1062
1198
  value = "",
1063
1199
  onChange,
@@ -1068,7 +1204,7 @@ var PhoneNumberField = ({
1068
1204
  autoFocus = false,
1069
1205
  onBlur
1070
1206
  }) => {
1071
- const theme = useTheme6();
1207
+ const theme = useTheme8();
1072
1208
  const smMatches = useMediaQuery4(theme.breakpoints.down("sm"));
1073
1209
  const countries = constants.COUNTRIES || [];
1074
1210
  const [country, setCountry] = useState4(defaultCountry);
@@ -1159,14 +1295,14 @@ var PhoneNumberField = ({
1159
1295
  onBlur == null ? void 0 : onBlur();
1160
1296
  }
1161
1297
  };
1162
- return /* @__PURE__ */ jsx15(
1163
- Box5,
1298
+ return /* @__PURE__ */ jsx17(
1299
+ Box7,
1164
1300
  {
1165
1301
  ref: wrapperRef,
1166
1302
  onFocusCapture: () => setIsFocused(true),
1167
1303
  onBlurCapture: handleWrapperBlur,
1168
1304
  sx: { display: "flex", alignItems: "center", width: "100%" },
1169
- children: /* @__PURE__ */ jsxs10(
1305
+ children: /* @__PURE__ */ jsxs11(
1170
1306
  Stack,
1171
1307
  {
1172
1308
  direction: "row",
@@ -1174,7 +1310,7 @@ var PhoneNumberField = ({
1174
1310
  alignItems: "center",
1175
1311
  sx: { width: "100%" },
1176
1312
  children: [
1177
- /* @__PURE__ */ jsx15(
1313
+ /* @__PURE__ */ jsx17(
1178
1314
  TextField2,
1179
1315
  {
1180
1316
  select: true,
@@ -1201,7 +1337,7 @@ var PhoneNumberField = ({
1201
1337
  },
1202
1338
  onClose: () => setSelectOpen(false)
1203
1339
  },
1204
- children: countries.map((option) => /* @__PURE__ */ jsxs10(MenuItem, { value: option.code, children: [
1340
+ children: countries.map((option) => /* @__PURE__ */ jsxs11(MenuItem, { value: option.code, children: [
1205
1341
  option.code,
1206
1342
  " (+",
1207
1343
  option.phone,
@@ -1209,7 +1345,7 @@ var PhoneNumberField = ({
1209
1345
  ] }, option.code))
1210
1346
  }
1211
1347
  ),
1212
- /* @__PURE__ */ jsx15(
1348
+ /* @__PURE__ */ jsx17(
1213
1349
  TextField2,
1214
1350
  {
1215
1351
  label,
@@ -1242,6 +1378,7 @@ var PhoneNumberField = ({
1242
1378
  var PhoneNumberField_default = PhoneNumberField;
1243
1379
  export {
1244
1380
  ClearableSelect_default as ClearableSelect,
1381
+ EmptyState_default as EmptyState,
1245
1382
  FormDialog_default as FormDialog,
1246
1383
  FormDrawer_default as FormDrawer,
1247
1384
  FormPopover_default as FormPopover,
@@ -1254,12 +1391,13 @@ export {
1254
1391
  PhoneNumberField_default as PhoneNumberField,
1255
1392
  Pill_default as Pill,
1256
1393
  SearchableSelect_default as SearchableSelect,
1394
+ SkeletonBar_default as SkeletonBar,
1257
1395
  StatusPill_default as StatusPill,
1258
1396
  TabPanel_default as TabPanel,
1259
1397
  ThemeProvider,
1260
1398
  createTheme,
1261
1399
  makeStyles5 as makeStyles,
1262
1400
  styled5 as styled,
1263
- useTheme7 as useTheme
1401
+ useTheme9 as useTheme
1264
1402
  };
1265
1403
  //# sourceMappingURL=index.mjs.map