mayak-common-library 0.0.12 → 0.0.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.d.mts CHANGED
@@ -104,10 +104,53 @@ declare const Providers: FC<PropsWithChildren>;
104
104
 
105
105
  interface AppBarProps {
106
106
  links: {
107
- href: string;
107
+ path: string;
108
108
  title: string;
109
109
  }[];
110
110
  }
111
111
  declare const AppBar: FC<AppBarProps>;
112
112
 
113
- export { AppBar, CustomAvatar as Avatar, CustomBadge as Badge, Button, CustomChip as Chip, FromToInput, Greet, IconButton, CustomInput as Input, CustomMenuItem as MenuItem, PhoneInput, Providers, CustomRadio as Radio, CustomRadioGroup as RadioGroup, CustomSelect as Select, SelectPro, CustomSlider as Slider, CustomSwitch as Switch, Text };
113
+ interface ImageContainerProps {
114
+ src: any;
115
+ alt: string;
116
+ contentful?: boolean;
117
+ priority?: boolean;
118
+ loading?: "lazy" | "eager" | undefined;
119
+ width?: string;
120
+ height?: string;
121
+ objectFit?: string;
122
+ }
123
+ declare const ImageContainer: FC<ImageContainerProps>;
124
+
125
+ interface CategoryCardProps {
126
+ image_url?: string;
127
+ title: string;
128
+ text: string;
129
+ link: string;
130
+ }
131
+ declare const CategoryCard: FC<CategoryCardProps>;
132
+
133
+ interface ArticleCardProps {
134
+ image_src?: string;
135
+ }
136
+ declare const ArticleCard: FC<ArticleCardProps>;
137
+
138
+ interface JobCardProps {
139
+ }
140
+ declare const JobCard: FC<JobCardProps>;
141
+
142
+ declare const RealtorCard: () => react_jsx_runtime.JSX.Element;
143
+
144
+ interface RealtyCardProps {
145
+ }
146
+ declare const RealtyCard: FC<RealtyCardProps>;
147
+
148
+ interface TeamPersonCardProps {
149
+ image_url?: string;
150
+ name: string;
151
+ position: string;
152
+ text: string;
153
+ }
154
+ declare const TeamPersonCard: FC<TeamPersonCardProps>;
155
+
156
+ export { AppBar, ArticleCard, CustomAvatar as Avatar, CustomBadge as Badge, Button, CategoryCard, CustomChip as Chip, FromToInput, Greet, IconButton, ImageContainer, CustomInput as Input, JobCard, CustomMenuItem as MenuItem, PhoneInput, Providers, CustomRadio as Radio, CustomRadioGroup as RadioGroup, RealtorCard, RealtyCard, CustomSelect as Select, SelectPro, CustomSlider as Slider, CustomSwitch as Switch, TeamPersonCard, Text };
package/dist/index.d.ts CHANGED
@@ -104,10 +104,53 @@ declare const Providers: FC<PropsWithChildren>;
104
104
 
105
105
  interface AppBarProps {
106
106
  links: {
107
- href: string;
107
+ path: string;
108
108
  title: string;
109
109
  }[];
110
110
  }
111
111
  declare const AppBar: FC<AppBarProps>;
112
112
 
113
- export { AppBar, CustomAvatar as Avatar, CustomBadge as Badge, Button, CustomChip as Chip, FromToInput, Greet, IconButton, CustomInput as Input, CustomMenuItem as MenuItem, PhoneInput, Providers, CustomRadio as Radio, CustomRadioGroup as RadioGroup, CustomSelect as Select, SelectPro, CustomSlider as Slider, CustomSwitch as Switch, Text };
113
+ interface ImageContainerProps {
114
+ src: any;
115
+ alt: string;
116
+ contentful?: boolean;
117
+ priority?: boolean;
118
+ loading?: "lazy" | "eager" | undefined;
119
+ width?: string;
120
+ height?: string;
121
+ objectFit?: string;
122
+ }
123
+ declare const ImageContainer: FC<ImageContainerProps>;
124
+
125
+ interface CategoryCardProps {
126
+ image_url?: string;
127
+ title: string;
128
+ text: string;
129
+ link: string;
130
+ }
131
+ declare const CategoryCard: FC<CategoryCardProps>;
132
+
133
+ interface ArticleCardProps {
134
+ image_src?: string;
135
+ }
136
+ declare const ArticleCard: FC<ArticleCardProps>;
137
+
138
+ interface JobCardProps {
139
+ }
140
+ declare const JobCard: FC<JobCardProps>;
141
+
142
+ declare const RealtorCard: () => react_jsx_runtime.JSX.Element;
143
+
144
+ interface RealtyCardProps {
145
+ }
146
+ declare const RealtyCard: FC<RealtyCardProps>;
147
+
148
+ interface TeamPersonCardProps {
149
+ image_url?: string;
150
+ name: string;
151
+ position: string;
152
+ text: string;
153
+ }
154
+ declare const TeamPersonCard: FC<TeamPersonCardProps>;
155
+
156
+ export { AppBar, ArticleCard, CustomAvatar as Avatar, CustomBadge as Badge, Button, CategoryCard, CustomChip as Chip, FromToInput, Greet, IconButton, ImageContainer, CustomInput as Input, JobCard, CustomMenuItem as MenuItem, PhoneInput, Providers, CustomRadio as Radio, CustomRadioGroup as RadioGroup, RealtorCard, RealtyCard, CustomSelect as Select, SelectPro, CustomSlider as Slider, CustomSwitch as Switch, TeamPersonCard, Text };
package/dist/index.js CHANGED
@@ -60,23 +60,30 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
60
60
  var src_exports = {};
61
61
  __export(src_exports, {
62
62
  AppBar: () => AppBar_default,
63
+ ArticleCard: () => ArticleCard_default,
63
64
  Avatar: () => Avatar_default,
64
65
  Badge: () => Badge_default,
65
66
  Button: () => Button_default,
67
+ CategoryCard: () => CategoryCard_default,
66
68
  Chip: () => Chip_default,
67
69
  FromToInput: () => FromToInput_default,
68
70
  Greet: () => Greet,
69
71
  IconButton: () => IconButton_default,
72
+ ImageContainer: () => ImageContainer_default,
70
73
  Input: () => Input_default,
74
+ JobCard: () => JobCard_default,
71
75
  MenuItem: () => MenuItem_default,
72
76
  PhoneInput: () => PhoneInput_default,
73
77
  Providers: () => Providers_default,
74
78
  Radio: () => Radio_default,
75
79
  RadioGroup: () => RadioGroup_default,
80
+ RealtorCard: () => RealtorCard_default,
81
+ RealtyCard: () => RealtyCard_default,
76
82
  Select: () => Select_default,
77
83
  SelectPro: () => SelectPro_default,
78
84
  Slider: () => Slider_default,
79
85
  Switch: () => Switch_default,
86
+ TeamPersonCard: () => TeamPersonCard_default,
80
87
  Text: () => Text_default
81
88
  });
82
89
  module.exports = __toCommonJS(src_exports);
@@ -160,7 +167,7 @@ var IconButton_default = IconButton;
160
167
  var import_react = require("react");
161
168
  var import_material3 = require("@mui/material");
162
169
 
163
- // src/assets/dropdown-arrow.svg
170
+ // src/icons/dropdown-arrow.svg
164
171
  var dropdown_arrow_default = "./dropdown-arrow-CDZAF5GJ.svg";
165
172
 
166
173
  // src/components/Select/Select.tsx
@@ -248,14 +255,14 @@ var CustomSelect = (props) => {
248
255
  };
249
256
  var Select_default = CustomSelect;
250
257
 
251
- // src/assets/search.svg
258
+ // src/icons/search.svg
252
259
  var search_default = "./search-HJGCO2DZ.svg";
253
260
 
254
261
  // src/components/Select/SelectPro.tsx
255
262
  var import_react2 = require("react");
256
263
  var import_material4 = require("@mui/material");
257
264
 
258
- // src/assets/close.svg
265
+ // src/icons/close.svg
259
266
  var close_default = "./close-4XJDSDVO.svg";
260
267
 
261
268
  // src/components/Select/SelectPro.tsx
@@ -609,8 +616,46 @@ var import_ThemeProvider = __toESM(require("@mui/material/styles/ThemeProvider")
609
616
  var import_createTheme = __toESM(require("@mui/material/styles/createTheme"));
610
617
  var import_CssBaseline = __toESM(require("@mui/material/CssBaseline"));
611
618
  var import_stylis = require("stylis");
619
+
620
+ // src/styles/assets.ts
621
+ var WINDOW_SIZE = {
622
+ xs: 0,
623
+ sm: 400,
624
+ md: 700,
625
+ lg: 1200,
626
+ xl: 1620
627
+ };
628
+ var _theme = {
629
+ typography: {
630
+ fontFamily: ["RockStar", "sans-serif"].join(","),
631
+ body1: {
632
+ fontSize: 14,
633
+ lineHeight: "22px"
634
+ }
635
+ },
636
+ breakpoints: {
637
+ values: {
638
+ xs: WINDOW_SIZE.xs,
639
+ sm: WINDOW_SIZE.sm,
640
+ md: WINDOW_SIZE.md,
641
+ lg: WINDOW_SIZE.lg,
642
+ xl: WINDOW_SIZE.xl
643
+ }
644
+ },
645
+ components: {
646
+ MuiButton: {
647
+ styleOverrides: {
648
+ root: {
649
+ fontFamily: "RockStar, sans-serif"
650
+ }
651
+ }
652
+ }
653
+ }
654
+ };
655
+
656
+ // src/theme/index.tsx
612
657
  var import_jsx_runtime18 = require("react/jsx-runtime");
613
- var theme = (0, import_createTheme.default)({});
658
+ var theme = (0, import_createTheme.default)(__spreadValues({}, _theme));
614
659
  function ThemeRegistry(props) {
615
660
  const { children } = props;
616
661
  const [{ cache, flush }] = (0, import_react4.useState)(() => {
@@ -637,9 +682,7 @@ function ThemeRegistry(props) {
637
682
  });
638
683
  (0, import_navigation.useServerInsertedHTML)(() => {
639
684
  const names = flush();
640
- if (names.length === 0) {
641
- return null;
642
- }
685
+ if (names.length === 0) return null;
643
686
  let styles = "";
644
687
  for (const name of names) {
645
688
  styles += cache.inserted[name];
@@ -661,6 +704,225 @@ function ThemeRegistry(props) {
661
704
  ] }) });
662
705
  }
663
706
 
707
+ // src/styles/globals.scss
708
+ var import_lit_element = require("lit-element/lit-element.js");
709
+ var globals_default = import_lit_element.css`@tailwind base;
710
+ @tailwind components;
711
+ @tailwind utilities;
712
+ .button {
713
+ width: fit-content;
714
+ padding: 12px 30px;
715
+ text-transform: unset;
716
+ border-radius: 0;
717
+ min-width: 145px;
718
+ font-size: 14px;
719
+ line-height: 16px;
720
+ box-shadow: none;
721
+ }
722
+ .button_dark {
723
+ background-color: #343434;
724
+ color: #fff;
725
+ }
726
+ .button_dark:hover {
727
+ background-color: #343434;
728
+ }
729
+
730
+ .border-gray {
731
+ border-color: #757575;
732
+ }
733
+
734
+ .border-dark {
735
+ border-color: #343434;
736
+ }
737
+
738
+ .border-gold {
739
+ border-color: #C8BCA1;
740
+ }
741
+
742
+ .border-gold2 {
743
+ border-color: #99835F;
744
+ }
745
+
746
+ .text-100 {
747
+ font-size: 100px;
748
+ line-height: 110px;
749
+ }
750
+
751
+ .text-40 {
752
+ font-size: 40px;
753
+ line-height: 48px;
754
+ }
755
+
756
+ .text-34 {
757
+ font-size: 34px;
758
+ line-height: 38px;
759
+ }
760
+
761
+ .text-10 {
762
+ font-size: 10px;
763
+ line-height: 12px;
764
+ }
765
+
766
+ .text-12 {
767
+ font-size: 12px;
768
+ line-height: 16px;
769
+ }
770
+
771
+ .text-16 {
772
+ font-size: 16px;
773
+ line-height: 19px;
774
+ }
775
+
776
+ .text-18 {
777
+ font-size: 18px;
778
+ line-height: 19px;
779
+ }
780
+
781
+ .text-light {
782
+ color: #fff;
783
+ }
784
+
785
+ .text-dark {
786
+ color: #343434;
787
+ }
788
+
789
+ .text-gold {
790
+ color: #C8BCA1;
791
+ }
792
+
793
+ .text-gray {
794
+ color: #757575;
795
+ }
796
+
797
+ .text-gray-light {
798
+ color: #F5F5F5;
799
+ }
800
+
801
+ .bg-gray-light {
802
+ background-color: #F5F5F5;
803
+ }
804
+
805
+ .bg-gray-medium {
806
+ background-color: #D0CED2;
807
+ }
808
+
809
+ .bg-gray {
810
+ background-color: #757575;
811
+ }
812
+
813
+ .bg-dark {
814
+ background-color: #343434;
815
+ }
816
+
817
+ .bg-light {
818
+ background-color: #fff;
819
+ }
820
+
821
+ .bg-gold {
822
+ background-color: #C8BCA1;
823
+ }
824
+
825
+ .customImage {
826
+ position: relative;
827
+ }
828
+ .customImage img {
829
+ object-position: center;
830
+ object-fit: cover;
831
+ }
832
+
833
+ @layer components {
834
+ .white-block-snack {
835
+ @apply bg-white px-[10px] py-[2px] w-fit font-extrabold text-12;
836
+ }
837
+ .black-block-snack {
838
+ @apply bg-dark py-[6px] px-[16px] w-fit text-white font-extrabold text-12;
839
+ }
840
+ .gray-block-snack {
841
+ @apply bg-gray-light px-[10px] w-fit;
842
+ }
843
+ .border-block-snack {
844
+ @apply px-[10px] py-[2px] text-12 border-[1px] border-dark w-fit;
845
+ }
846
+ .border-gold-block-snack {
847
+ @apply w-fit px-[10px] py-[2px] text-gray border-[1px] border-gold font-extrabold text-12 group-hover/card:text-white group-hover/card:bg-gold;
848
+ }
849
+ }
850
+ @layer components {
851
+ .nav-item.active {
852
+ @apply text-accent-beige;
853
+ }
854
+ .nav-item {
855
+ @apply p-2 text-accent-dark;
856
+ text-decoration: none;
857
+ cursor: pointer;
858
+ font-weight: 800;
859
+ font-size: 12px;
860
+ text-transform: uppercase;
861
+ }
862
+ .nav-indicator {
863
+ @apply absolute top-0 rounded-full bg-accent-beige;
864
+ width: 7px;
865
+ height: 7px;
866
+ transition: transform 0.3s ease-out;
867
+ }
868
+ }
869
+ @font-face {
870
+ font-family: RockStar;
871
+ src: url("fonts/RockStar/Rock Star_Regular_Web.woff2");
872
+ font-weight: 400;
873
+ }
874
+ @font-face {
875
+ font-family: RockStar;
876
+ src: url("fonts/RockStar/Rock Star_Extra Bold_Web.woff2");
877
+ font-weight: 800;
878
+ }
879
+ body {
880
+ max-width: 100vw;
881
+ overflow-x: hidden;
882
+ margin: 0;
883
+ display: flex;
884
+ flex-direction: column;
885
+ min-height: 100vh;
886
+ color: #343434;
887
+ background-color: #F5F5F5;
888
+ font-size: 14px;
889
+ line-height: 20px;
890
+ font-weight: 400;
891
+ font-family: RockStar, sans-serif;
892
+ }
893
+
894
+ main {
895
+ flex-grow: 1;
896
+ }
897
+
898
+ a {
899
+ color: inherit;
900
+ text-decoration: none;
901
+ }
902
+
903
+ *:focus-visible {
904
+ outline: none;
905
+ }
906
+
907
+ @media screen and (min-width: 1200px) {
908
+ .MuiContainer-root {
909
+ padding-left: 0;
910
+ padding-right: 0;
911
+ }
912
+ }
913
+ @media screen and (max-width: 1200px) {
914
+ .MuiContainer-root {
915
+ padding-left: 40px;
916
+ padding-right: 40px;
917
+ }
918
+ }
919
+ @media screen and (max-width: 700px) {
920
+ .MuiContainer-root {
921
+ padding-left: 20px;
922
+ padding-right: 20px;
923
+ }
924
+ }`;
925
+
664
926
  // src/providers/Providers.tsx
665
927
  var import_jsx_runtime19 = require("react/jsx-runtime");
666
928
  var Providers = ({ children }) => {
@@ -698,8 +960,8 @@ var AppBar = ({ links }) => {
698
960
  ref: (el) => {
699
961
  navItemsRef.current[index] = el;
700
962
  },
701
- href: link.href,
702
- className: `nav-item ${index === activeIndex ? "active" : ""}`,
963
+ href: link.path,
964
+ className: `nav-item ${index === activeIndex ? "active" : ""} hover:text-accent-beige`,
703
965
  onClick: () => handleClick(index),
704
966
  children: link.title
705
967
  },
@@ -708,25 +970,224 @@ var AppBar = ({ links }) => {
708
970
  ] });
709
971
  };
710
972
  var AppBar_default = AppBar;
973
+
974
+ // src/components/Image/ImageContainer.tsx
975
+ var import_material13 = require("@mui/material");
976
+ var import_image = __toESM(require("next/image"));
977
+ var import_jsx_runtime21 = require("react/jsx-runtime");
978
+ var ImageContainer = (props) => {
979
+ const {
980
+ src,
981
+ alt,
982
+ width = "w-full",
983
+ height = "h-full",
984
+ contentful = true,
985
+ priority = false,
986
+ loading = "lazy",
987
+ objectFit = "object-cover"
988
+ } = props;
989
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_material13.Box, { className: `relative ${width} ${height}`, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
990
+ import_image.default,
991
+ {
992
+ className: `${objectFit} object-center`,
993
+ src: contentful ? `https:${src}` : src,
994
+ alt,
995
+ fill: true,
996
+ loading,
997
+ sizes: "(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",
998
+ priority
999
+ }
1000
+ ) });
1001
+ };
1002
+ var ImageContainer_default = ImageContainer;
1003
+
1004
+ // src/components/Card/CategoryCard.tsx
1005
+ var import_material14 = require("@mui/material");
1006
+ var import_link2 = __toESM(require("next/link"));
1007
+
1008
+ // src/lib/assets.ts
1009
+ var NO_IMAGE = "/images/no-photo.svg";
1010
+
1011
+ // src/components/Card/CategoryCard.tsx
1012
+ var import_jsx_runtime22 = require("react/jsx-runtime");
1013
+ var CategoryCard = (props) => {
1014
+ const { link, text, title, image_url = NO_IMAGE } = props;
1015
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_link2.default, { href: link, className: "group/card", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_material14.Box, { className: "flex flex-col gap-[20px]", children: [
1016
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(ImageContainer_default, { src: image_url, alt: title, height: "h-[300px]" }),
1017
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_material14.Box, { className: "flex flex-col px-[16px]", children: [
1018
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1019
+ import_material14.Typography,
1020
+ {
1021
+ component: "span",
1022
+ className: "font-extrabold text-16 group-hover/card:text-gold2",
1023
+ children: title
1024
+ }
1025
+ ),
1026
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_material14.Typography, { component: "span", className: "group-hover/card:text-gold2", children: text })
1027
+ ] })
1028
+ ] }) });
1029
+ };
1030
+ var CategoryCard_default = CategoryCard;
1031
+
1032
+ // src/components/Card/ArticleCard.tsx
1033
+ var import_link3 = __toESM(require("next/link"));
1034
+ var import_material15 = require("@mui/material");
1035
+ var import_Typography5 = __toESM(require("@mui/material/Typography"));
1036
+ var import_jsx_runtime23 = require("react/jsx-runtime");
1037
+ var ArticleCard = (props) => {
1038
+ const { image_src = NO_IMAGE } = props;
1039
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_link3.default, { href: "/", className: "group/card bg-gray-light", children: [
1040
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1041
+ ImageContainer_default,
1042
+ {
1043
+ src: image_src,
1044
+ alt: "test",
1045
+ contentful: false,
1046
+ height: "h-[220px]"
1047
+ }
1048
+ ),
1049
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_material15.Box, { className: "pt-[24px] pl-[16px] pr-[50px] pb-[10px] flex flex-col gap-[6px]", children: [
1050
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1051
+ import_Typography5.default,
1052
+ {
1053
+ component: "span",
1054
+ className: "text-16 font-extrabold group-hover/card:text-gold2",
1055
+ children: "\u041E\u0441\u043E\u0431\u043B\u0438\u0432\u043E\u0441\u0442\u0456 \u043A\u0443\u043F\u0456\u0432\u043B\u0456 \u0433\u043E\u0442\u0435\u043B\u044E"
1056
+ }
1057
+ ),
1058
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1059
+ import_Typography5.default,
1060
+ {
1061
+ component: "span",
1062
+ className: "text-gray group-hover/card:text-gold2",
1063
+ children: "We have built a strong network in Dubai since 2009, which allows us to source the best deal for"
1064
+ }
1065
+ ),
1066
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_Typography5.default, { component: "span", className: "border-gold-block-snack", children: "\u0422\u0435\u0433-\u043D\u0430\u0437\u0432\u0430" })
1067
+ ] })
1068
+ ] });
1069
+ };
1070
+ var ArticleCard_default = ArticleCard;
1071
+
1072
+ // src/components/Card/JobCard.tsx
1073
+ var import_jsx_runtime24 = require("react/jsx-runtime");
1074
+ var JobCard = () => {
1075
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_jsx_runtime24.Fragment, {});
1076
+ };
1077
+ var JobCard_default = JobCard;
1078
+
1079
+ // src/components/Card/RealtorCard.tsx
1080
+ var import_jsx_runtime25 = require("react/jsx-runtime");
1081
+ var RealtorCard = () => {
1082
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_jsx_runtime25.Fragment, {});
1083
+ };
1084
+ var RealtorCard_default = RealtorCard;
1085
+
1086
+ // src/components/Card/RealtyCard.tsx
1087
+ var import_material16 = require("@mui/material");
1088
+ var import_link4 = __toESM(require("next/link"));
1089
+ var import_jsx_runtime26 = require("react/jsx-runtime");
1090
+ var RealtyCard = () => {
1091
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_link4.default, { href: "/", className: "relative", children: [
1092
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_material16.Box, { className: "absolute left-[16px] top-[16px] flex flex-col gap-[9px] z-[1]", children: [
1093
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Chip_default, { view: "white", label: "id: 00154" }),
1094
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Chip_default, { view: "white", label: "\u0416\u041A: \u0421\u0443\u0447\u0430\u0441\u043D\u0438\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B4" })
1095
+ ] }),
1096
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1097
+ ImageContainer_default,
1098
+ {
1099
+ src: "/images/test.png",
1100
+ alt: "test",
1101
+ height: "h-[260px]",
1102
+ contentful: false
1103
+ }
1104
+ ),
1105
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_material16.Box, { className: "bg-white py-[20px] px-[16px] flex flex-col gap-[6px]", children: [
1106
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Chip_default, { view: "black", label: "120 000 \u20B4/\u043C\u0456\u0441\u044F\u0446\u044C" }),
1107
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_material16.Typography, { component: "span", className: "font-extrabold", children: "\u0432\u0443\u043B. \u0414\u0440\u0430\u0433\u043E\u043C\u0438\u0440\u043E\u0432\u0430 25" }),
1108
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_material16.Typography, { component: "span", className: "text-12", children: "\u041F\u0435\u0447\u0435\u0440\u0441\u044C\u043A\u0438\u0439 \u0440-\u043D" }),
1109
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1110
+ Chip_default,
1111
+ {
1112
+ view: "silver",
1113
+ label: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_material16.Stack, { direction: "row", spacing: 1, children: [
1114
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_material16.Typography, { children: "\u043C\u0435\u0442\u0440\u043E:" }),
1115
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_material16.Typography, { className: "font-extrabold", children: "\u041B\u0438\u0431\u0456\u0434\u0441\u044C\u043A\u0430" })
1116
+ ] })
1117
+ }
1118
+ ),
1119
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_material16.Box, { className: "flex flex-wrap gap-[6px] mt-[6px]", children: [
1120
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Chip_default, { view: "line", label: "2 \u043A\u0456\u043C\u043D" }),
1121
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Chip_default, { view: "line", label: "60 \u043C\xB2" }),
1122
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Chip_default, { view: "line", label: "\u043F\u043E\u0432\u0435\u0440\u0445: 3/24" })
1123
+ ] })
1124
+ ] })
1125
+ ] });
1126
+ };
1127
+ var RealtyCard_default = RealtyCard;
1128
+
1129
+ // src/components/Card/TeamPersonCard.tsx
1130
+ var import_material17 = require("@mui/material");
1131
+ var import_jsx_runtime27 = require("react/jsx-runtime");
1132
+ var TeamPersonCard = (props) => {
1133
+ const { image_url = NO_IMAGE, name, position, text } = props;
1134
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_material17.Box, { className: "group/card", children: [
1135
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_material17.Box, { className: "relative h-[300px]", children: [
1136
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_material17.Box, { className: "w-full h-full bg-gray-medium group-hover/card:brightness-[50%]", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1137
+ ImageContainer_default,
1138
+ {
1139
+ contentful: false,
1140
+ src: image_url,
1141
+ alt: name,
1142
+ objectFit: "object-contain"
1143
+ }
1144
+ ) }),
1145
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_material17.Box, { className: "hidden absolute top-[110px] left-[30px] right-[30px] group-hover/card:flex flex-col text-white", children: [
1146
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_material17.Typography, { component: "span", className: "text-16 font-extrabold", children: position }),
1147
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_material17.Typography, { component: "span", className: "mt-[4px]", children: name }),
1148
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1149
+ import_material17.Typography,
1150
+ {
1151
+ component: "span",
1152
+ className: "mt-[11px] text-12 !leading-[16px]",
1153
+ children: text
1154
+ }
1155
+ )
1156
+ ] })
1157
+ ] }),
1158
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_material17.Box, { className: "mt-[20px] text-center mx-auto flex flex-col w-10/12", children: [
1159
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_material17.Typography, { component: "span", className: "text-16 font-extrabold", children: position }),
1160
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_material17.Typography, { component: "span", className: "text-gray", children: name })
1161
+ ] })
1162
+ ] });
1163
+ };
1164
+ var TeamPersonCard_default = TeamPersonCard;
711
1165
  // Annotate the CommonJS export names for ESM import in node:
712
1166
  0 && (module.exports = {
713
1167
  AppBar,
1168
+ ArticleCard,
714
1169
  Avatar,
715
1170
  Badge,
716
1171
  Button,
1172
+ CategoryCard,
717
1173
  Chip,
718
1174
  FromToInput,
719
1175
  Greet,
720
1176
  IconButton,
1177
+ ImageContainer,
721
1178
  Input,
1179
+ JobCard,
722
1180
  MenuItem,
723
1181
  PhoneInput,
724
1182
  Providers,
725
1183
  Radio,
726
1184
  RadioGroup,
1185
+ RealtorCard,
1186
+ RealtyCard,
727
1187
  Select,
728
1188
  SelectPro,
729
1189
  Slider,
730
1190
  Switch,
1191
+ TeamPersonCard,
731
1192
  Text
732
1193
  });
package/dist/index.mjs CHANGED
@@ -109,7 +109,7 @@ var IconButton_default = IconButton;
109
109
  import { useRef, useState, useEffect } from "react";
110
110
  import { Select, styled as styled3 } from "@mui/material";
111
111
 
112
- // src/assets/dropdown-arrow.svg
112
+ // src/icons/dropdown-arrow.svg
113
113
  var dropdown_arrow_default = "./dropdown-arrow-CDZAF5GJ.svg";
114
114
 
115
115
  // src/components/Select/Select.tsx
@@ -197,7 +197,7 @@ var CustomSelect = (props) => {
197
197
  };
198
198
  var Select_default = CustomSelect;
199
199
 
200
- // src/assets/search.svg
200
+ // src/icons/search.svg
201
201
  var search_default = "./search-HJGCO2DZ.svg";
202
202
 
203
203
  // src/components/Select/SelectPro.tsx
@@ -214,7 +214,7 @@ import {
214
214
  Button as Button2
215
215
  } from "@mui/material";
216
216
 
217
- // src/assets/close.svg
217
+ // src/icons/close.svg
218
218
  var close_default = "./close-4XJDSDVO.svg";
219
219
 
220
220
  // src/components/Select/SelectPro.tsx
@@ -568,8 +568,46 @@ import ThemeProvider from "@mui/material/styles/ThemeProvider";
568
568
  import createTheme from "@mui/material/styles/createTheme";
569
569
  import CssBaseline from "@mui/material/CssBaseline";
570
570
  import { prefixer } from "stylis";
571
+
572
+ // src/styles/assets.ts
573
+ var WINDOW_SIZE = {
574
+ xs: 0,
575
+ sm: 400,
576
+ md: 700,
577
+ lg: 1200,
578
+ xl: 1620
579
+ };
580
+ var _theme = {
581
+ typography: {
582
+ fontFamily: ["RockStar", "sans-serif"].join(","),
583
+ body1: {
584
+ fontSize: 14,
585
+ lineHeight: "22px"
586
+ }
587
+ },
588
+ breakpoints: {
589
+ values: {
590
+ xs: WINDOW_SIZE.xs,
591
+ sm: WINDOW_SIZE.sm,
592
+ md: WINDOW_SIZE.md,
593
+ lg: WINDOW_SIZE.lg,
594
+ xl: WINDOW_SIZE.xl
595
+ }
596
+ },
597
+ components: {
598
+ MuiButton: {
599
+ styleOverrides: {
600
+ root: {
601
+ fontFamily: "RockStar, sans-serif"
602
+ }
603
+ }
604
+ }
605
+ }
606
+ };
607
+
608
+ // src/theme/index.tsx
571
609
  import { jsx as jsx17, jsxs as jsxs5 } from "react/jsx-runtime";
572
- var theme = createTheme({});
610
+ var theme = createTheme(__spreadValues({}, _theme));
573
611
  function ThemeRegistry(props) {
574
612
  const { children } = props;
575
613
  const [{ cache, flush }] = useState3(() => {
@@ -596,9 +634,7 @@ function ThemeRegistry(props) {
596
634
  });
597
635
  useServerInsertedHTML(() => {
598
636
  const names = flush();
599
- if (names.length === 0) {
600
- return null;
601
- }
637
+ if (names.length === 0) return null;
602
638
  let styles = "";
603
639
  for (const name of names) {
604
640
  styles += cache.inserted[name];
@@ -620,6 +656,225 @@ function ThemeRegistry(props) {
620
656
  ] }) });
621
657
  }
622
658
 
659
+ // src/styles/globals.scss
660
+ import { css } from "lit-element/lit-element.js";
661
+ var globals_default = css`@tailwind base;
662
+ @tailwind components;
663
+ @tailwind utilities;
664
+ .button {
665
+ width: fit-content;
666
+ padding: 12px 30px;
667
+ text-transform: unset;
668
+ border-radius: 0;
669
+ min-width: 145px;
670
+ font-size: 14px;
671
+ line-height: 16px;
672
+ box-shadow: none;
673
+ }
674
+ .button_dark {
675
+ background-color: #343434;
676
+ color: #fff;
677
+ }
678
+ .button_dark:hover {
679
+ background-color: #343434;
680
+ }
681
+
682
+ .border-gray {
683
+ border-color: #757575;
684
+ }
685
+
686
+ .border-dark {
687
+ border-color: #343434;
688
+ }
689
+
690
+ .border-gold {
691
+ border-color: #C8BCA1;
692
+ }
693
+
694
+ .border-gold2 {
695
+ border-color: #99835F;
696
+ }
697
+
698
+ .text-100 {
699
+ font-size: 100px;
700
+ line-height: 110px;
701
+ }
702
+
703
+ .text-40 {
704
+ font-size: 40px;
705
+ line-height: 48px;
706
+ }
707
+
708
+ .text-34 {
709
+ font-size: 34px;
710
+ line-height: 38px;
711
+ }
712
+
713
+ .text-10 {
714
+ font-size: 10px;
715
+ line-height: 12px;
716
+ }
717
+
718
+ .text-12 {
719
+ font-size: 12px;
720
+ line-height: 16px;
721
+ }
722
+
723
+ .text-16 {
724
+ font-size: 16px;
725
+ line-height: 19px;
726
+ }
727
+
728
+ .text-18 {
729
+ font-size: 18px;
730
+ line-height: 19px;
731
+ }
732
+
733
+ .text-light {
734
+ color: #fff;
735
+ }
736
+
737
+ .text-dark {
738
+ color: #343434;
739
+ }
740
+
741
+ .text-gold {
742
+ color: #C8BCA1;
743
+ }
744
+
745
+ .text-gray {
746
+ color: #757575;
747
+ }
748
+
749
+ .text-gray-light {
750
+ color: #F5F5F5;
751
+ }
752
+
753
+ .bg-gray-light {
754
+ background-color: #F5F5F5;
755
+ }
756
+
757
+ .bg-gray-medium {
758
+ background-color: #D0CED2;
759
+ }
760
+
761
+ .bg-gray {
762
+ background-color: #757575;
763
+ }
764
+
765
+ .bg-dark {
766
+ background-color: #343434;
767
+ }
768
+
769
+ .bg-light {
770
+ background-color: #fff;
771
+ }
772
+
773
+ .bg-gold {
774
+ background-color: #C8BCA1;
775
+ }
776
+
777
+ .customImage {
778
+ position: relative;
779
+ }
780
+ .customImage img {
781
+ object-position: center;
782
+ object-fit: cover;
783
+ }
784
+
785
+ @layer components {
786
+ .white-block-snack {
787
+ @apply bg-white px-[10px] py-[2px] w-fit font-extrabold text-12;
788
+ }
789
+ .black-block-snack {
790
+ @apply bg-dark py-[6px] px-[16px] w-fit text-white font-extrabold text-12;
791
+ }
792
+ .gray-block-snack {
793
+ @apply bg-gray-light px-[10px] w-fit;
794
+ }
795
+ .border-block-snack {
796
+ @apply px-[10px] py-[2px] text-12 border-[1px] border-dark w-fit;
797
+ }
798
+ .border-gold-block-snack {
799
+ @apply w-fit px-[10px] py-[2px] text-gray border-[1px] border-gold font-extrabold text-12 group-hover/card:text-white group-hover/card:bg-gold;
800
+ }
801
+ }
802
+ @layer components {
803
+ .nav-item.active {
804
+ @apply text-accent-beige;
805
+ }
806
+ .nav-item {
807
+ @apply p-2 text-accent-dark;
808
+ text-decoration: none;
809
+ cursor: pointer;
810
+ font-weight: 800;
811
+ font-size: 12px;
812
+ text-transform: uppercase;
813
+ }
814
+ .nav-indicator {
815
+ @apply absolute top-0 rounded-full bg-accent-beige;
816
+ width: 7px;
817
+ height: 7px;
818
+ transition: transform 0.3s ease-out;
819
+ }
820
+ }
821
+ @font-face {
822
+ font-family: RockStar;
823
+ src: url("fonts/RockStar/Rock Star_Regular_Web.woff2");
824
+ font-weight: 400;
825
+ }
826
+ @font-face {
827
+ font-family: RockStar;
828
+ src: url("fonts/RockStar/Rock Star_Extra Bold_Web.woff2");
829
+ font-weight: 800;
830
+ }
831
+ body {
832
+ max-width: 100vw;
833
+ overflow-x: hidden;
834
+ margin: 0;
835
+ display: flex;
836
+ flex-direction: column;
837
+ min-height: 100vh;
838
+ color: #343434;
839
+ background-color: #F5F5F5;
840
+ font-size: 14px;
841
+ line-height: 20px;
842
+ font-weight: 400;
843
+ font-family: RockStar, sans-serif;
844
+ }
845
+
846
+ main {
847
+ flex-grow: 1;
848
+ }
849
+
850
+ a {
851
+ color: inherit;
852
+ text-decoration: none;
853
+ }
854
+
855
+ *:focus-visible {
856
+ outline: none;
857
+ }
858
+
859
+ @media screen and (min-width: 1200px) {
860
+ .MuiContainer-root {
861
+ padding-left: 0;
862
+ padding-right: 0;
863
+ }
864
+ }
865
+ @media screen and (max-width: 1200px) {
866
+ .MuiContainer-root {
867
+ padding-left: 40px;
868
+ padding-right: 40px;
869
+ }
870
+ }
871
+ @media screen and (max-width: 700px) {
872
+ .MuiContainer-root {
873
+ padding-left: 20px;
874
+ padding-right: 20px;
875
+ }
876
+ }`;
877
+
623
878
  // src/providers/Providers.tsx
624
879
  import { jsx as jsx18 } from "react/jsx-runtime";
625
880
  var Providers = ({ children }) => {
@@ -657,8 +912,8 @@ var AppBar = ({ links }) => {
657
912
  ref: (el) => {
658
913
  navItemsRef.current[index] = el;
659
914
  },
660
- href: link.href,
661
- className: `nav-item ${index === activeIndex ? "active" : ""}`,
915
+ href: link.path,
916
+ className: `nav-item ${index === activeIndex ? "active" : ""} hover:text-accent-beige`,
662
917
  onClick: () => handleClick(index),
663
918
  children: link.title
664
919
  },
@@ -667,24 +922,223 @@ var AppBar = ({ links }) => {
667
922
  ] });
668
923
  };
669
924
  var AppBar_default = AppBar;
925
+
926
+ // src/components/Image/ImageContainer.tsx
927
+ import { Box as Box3 } from "@mui/material";
928
+ import Image from "next/image";
929
+ import { jsx as jsx20 } from "react/jsx-runtime";
930
+ var ImageContainer = (props) => {
931
+ const {
932
+ src,
933
+ alt,
934
+ width = "w-full",
935
+ height = "h-full",
936
+ contentful = true,
937
+ priority = false,
938
+ loading = "lazy",
939
+ objectFit = "object-cover"
940
+ } = props;
941
+ return /* @__PURE__ */ jsx20(Box3, { className: `relative ${width} ${height}`, children: /* @__PURE__ */ jsx20(
942
+ Image,
943
+ {
944
+ className: `${objectFit} object-center`,
945
+ src: contentful ? `https:${src}` : src,
946
+ alt,
947
+ fill: true,
948
+ loading,
949
+ sizes: "(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",
950
+ priority
951
+ }
952
+ ) });
953
+ };
954
+ var ImageContainer_default = ImageContainer;
955
+
956
+ // src/components/Card/CategoryCard.tsx
957
+ import { Box as Box4, Typography as Typography6 } from "@mui/material";
958
+ import Link2 from "next/link";
959
+
960
+ // src/lib/assets.ts
961
+ var NO_IMAGE = "/images/no-photo.svg";
962
+
963
+ // src/components/Card/CategoryCard.tsx
964
+ import { jsx as jsx21, jsxs as jsxs7 } from "react/jsx-runtime";
965
+ var CategoryCard = (props) => {
966
+ const { link, text, title, image_url = NO_IMAGE } = props;
967
+ return /* @__PURE__ */ jsx21(Link2, { href: link, className: "group/card", children: /* @__PURE__ */ jsxs7(Box4, { className: "flex flex-col gap-[20px]", children: [
968
+ /* @__PURE__ */ jsx21(ImageContainer_default, { src: image_url, alt: title, height: "h-[300px]" }),
969
+ /* @__PURE__ */ jsxs7(Box4, { className: "flex flex-col px-[16px]", children: [
970
+ /* @__PURE__ */ jsx21(
971
+ Typography6,
972
+ {
973
+ component: "span",
974
+ className: "font-extrabold text-16 group-hover/card:text-gold2",
975
+ children: title
976
+ }
977
+ ),
978
+ /* @__PURE__ */ jsx21(Typography6, { component: "span", className: "group-hover/card:text-gold2", children: text })
979
+ ] })
980
+ ] }) });
981
+ };
982
+ var CategoryCard_default = CategoryCard;
983
+
984
+ // src/components/Card/ArticleCard.tsx
985
+ import Link3 from "next/link";
986
+ import { Box as Box5 } from "@mui/material";
987
+ import Typography7 from "@mui/material/Typography";
988
+ import { jsx as jsx22, jsxs as jsxs8 } from "react/jsx-runtime";
989
+ var ArticleCard = (props) => {
990
+ const { image_src = NO_IMAGE } = props;
991
+ return /* @__PURE__ */ jsxs8(Link3, { href: "/", className: "group/card bg-gray-light", children: [
992
+ /* @__PURE__ */ jsx22(
993
+ ImageContainer_default,
994
+ {
995
+ src: image_src,
996
+ alt: "test",
997
+ contentful: false,
998
+ height: "h-[220px]"
999
+ }
1000
+ ),
1001
+ /* @__PURE__ */ jsxs8(Box5, { className: "pt-[24px] pl-[16px] pr-[50px] pb-[10px] flex flex-col gap-[6px]", children: [
1002
+ /* @__PURE__ */ jsx22(
1003
+ Typography7,
1004
+ {
1005
+ component: "span",
1006
+ className: "text-16 font-extrabold group-hover/card:text-gold2",
1007
+ children: "\u041E\u0441\u043E\u0431\u043B\u0438\u0432\u043E\u0441\u0442\u0456 \u043A\u0443\u043F\u0456\u0432\u043B\u0456 \u0433\u043E\u0442\u0435\u043B\u044E"
1008
+ }
1009
+ ),
1010
+ /* @__PURE__ */ jsx22(
1011
+ Typography7,
1012
+ {
1013
+ component: "span",
1014
+ className: "text-gray group-hover/card:text-gold2",
1015
+ children: "We have built a strong network in Dubai since 2009, which allows us to source the best deal for"
1016
+ }
1017
+ ),
1018
+ /* @__PURE__ */ jsx22(Typography7, { component: "span", className: "border-gold-block-snack", children: "\u0422\u0435\u0433-\u043D\u0430\u0437\u0432\u0430" })
1019
+ ] })
1020
+ ] });
1021
+ };
1022
+ var ArticleCard_default = ArticleCard;
1023
+
1024
+ // src/components/Card/JobCard.tsx
1025
+ import { Fragment, jsx as jsx23 } from "react/jsx-runtime";
1026
+ var JobCard = () => {
1027
+ return /* @__PURE__ */ jsx23(Fragment, {});
1028
+ };
1029
+ var JobCard_default = JobCard;
1030
+
1031
+ // src/components/Card/RealtorCard.tsx
1032
+ import { Fragment as Fragment2, jsx as jsx24 } from "react/jsx-runtime";
1033
+ var RealtorCard = () => {
1034
+ return /* @__PURE__ */ jsx24(Fragment2, {});
1035
+ };
1036
+ var RealtorCard_default = RealtorCard;
1037
+
1038
+ // src/components/Card/RealtyCard.tsx
1039
+ import { Box as Box6, Stack as Stack4, Typography as Typography8 } from "@mui/material";
1040
+ import Link4 from "next/link";
1041
+ import { jsx as jsx25, jsxs as jsxs9 } from "react/jsx-runtime";
1042
+ var RealtyCard = () => {
1043
+ return /* @__PURE__ */ jsxs9(Link4, { href: "/", className: "relative", children: [
1044
+ /* @__PURE__ */ jsxs9(Box6, { className: "absolute left-[16px] top-[16px] flex flex-col gap-[9px] z-[1]", children: [
1045
+ /* @__PURE__ */ jsx25(Chip_default, { view: "white", label: "id: 00154" }),
1046
+ /* @__PURE__ */ jsx25(Chip_default, { view: "white", label: "\u0416\u041A: \u0421\u0443\u0447\u0430\u0441\u043D\u0438\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B4" })
1047
+ ] }),
1048
+ /* @__PURE__ */ jsx25(
1049
+ ImageContainer_default,
1050
+ {
1051
+ src: "/images/test.png",
1052
+ alt: "test",
1053
+ height: "h-[260px]",
1054
+ contentful: false
1055
+ }
1056
+ ),
1057
+ /* @__PURE__ */ jsxs9(Box6, { className: "bg-white py-[20px] px-[16px] flex flex-col gap-[6px]", children: [
1058
+ /* @__PURE__ */ jsx25(Chip_default, { view: "black", label: "120 000 \u20B4/\u043C\u0456\u0441\u044F\u0446\u044C" }),
1059
+ /* @__PURE__ */ jsx25(Typography8, { component: "span", className: "font-extrabold", children: "\u0432\u0443\u043B. \u0414\u0440\u0430\u0433\u043E\u043C\u0438\u0440\u043E\u0432\u0430 25" }),
1060
+ /* @__PURE__ */ jsx25(Typography8, { component: "span", className: "text-12", children: "\u041F\u0435\u0447\u0435\u0440\u0441\u044C\u043A\u0438\u0439 \u0440-\u043D" }),
1061
+ /* @__PURE__ */ jsx25(
1062
+ Chip_default,
1063
+ {
1064
+ view: "silver",
1065
+ label: /* @__PURE__ */ jsxs9(Stack4, { direction: "row", spacing: 1, children: [
1066
+ /* @__PURE__ */ jsx25(Typography8, { children: "\u043C\u0435\u0442\u0440\u043E:" }),
1067
+ /* @__PURE__ */ jsx25(Typography8, { className: "font-extrabold", children: "\u041B\u0438\u0431\u0456\u0434\u0441\u044C\u043A\u0430" })
1068
+ ] })
1069
+ }
1070
+ ),
1071
+ /* @__PURE__ */ jsxs9(Box6, { className: "flex flex-wrap gap-[6px] mt-[6px]", children: [
1072
+ /* @__PURE__ */ jsx25(Chip_default, { view: "line", label: "2 \u043A\u0456\u043C\u043D" }),
1073
+ /* @__PURE__ */ jsx25(Chip_default, { view: "line", label: "60 \u043C\xB2" }),
1074
+ /* @__PURE__ */ jsx25(Chip_default, { view: "line", label: "\u043F\u043E\u0432\u0435\u0440\u0445: 3/24" })
1075
+ ] })
1076
+ ] })
1077
+ ] });
1078
+ };
1079
+ var RealtyCard_default = RealtyCard;
1080
+
1081
+ // src/components/Card/TeamPersonCard.tsx
1082
+ import { Box as Box7, Typography as Typography9 } from "@mui/material";
1083
+ import { jsx as jsx26, jsxs as jsxs10 } from "react/jsx-runtime";
1084
+ var TeamPersonCard = (props) => {
1085
+ const { image_url = NO_IMAGE, name, position, text } = props;
1086
+ return /* @__PURE__ */ jsxs10(Box7, { className: "group/card", children: [
1087
+ /* @__PURE__ */ jsxs10(Box7, { className: "relative h-[300px]", children: [
1088
+ /* @__PURE__ */ jsx26(Box7, { className: "w-full h-full bg-gray-medium group-hover/card:brightness-[50%]", children: /* @__PURE__ */ jsx26(
1089
+ ImageContainer_default,
1090
+ {
1091
+ contentful: false,
1092
+ src: image_url,
1093
+ alt: name,
1094
+ objectFit: "object-contain"
1095
+ }
1096
+ ) }),
1097
+ /* @__PURE__ */ jsxs10(Box7, { className: "hidden absolute top-[110px] left-[30px] right-[30px] group-hover/card:flex flex-col text-white", children: [
1098
+ /* @__PURE__ */ jsx26(Typography9, { component: "span", className: "text-16 font-extrabold", children: position }),
1099
+ /* @__PURE__ */ jsx26(Typography9, { component: "span", className: "mt-[4px]", children: name }),
1100
+ /* @__PURE__ */ jsx26(
1101
+ Typography9,
1102
+ {
1103
+ component: "span",
1104
+ className: "mt-[11px] text-12 !leading-[16px]",
1105
+ children: text
1106
+ }
1107
+ )
1108
+ ] })
1109
+ ] }),
1110
+ /* @__PURE__ */ jsxs10(Box7, { className: "mt-[20px] text-center mx-auto flex flex-col w-10/12", children: [
1111
+ /* @__PURE__ */ jsx26(Typography9, { component: "span", className: "text-16 font-extrabold", children: position }),
1112
+ /* @__PURE__ */ jsx26(Typography9, { component: "span", className: "text-gray", children: name })
1113
+ ] })
1114
+ ] });
1115
+ };
1116
+ var TeamPersonCard_default = TeamPersonCard;
670
1117
  export {
671
1118
  AppBar_default as AppBar,
1119
+ ArticleCard_default as ArticleCard,
672
1120
  Avatar_default as Avatar,
673
1121
  Badge_default as Badge,
674
1122
  Button_default as Button,
1123
+ CategoryCard_default as CategoryCard,
675
1124
  Chip_default as Chip,
676
1125
  FromToInput_default as FromToInput,
677
1126
  Greet,
678
1127
  IconButton_default as IconButton,
1128
+ ImageContainer_default as ImageContainer,
679
1129
  Input_default as Input,
1130
+ JobCard_default as JobCard,
680
1131
  MenuItem_default as MenuItem,
681
1132
  PhoneInput_default as PhoneInput,
682
1133
  Providers_default as Providers,
683
1134
  Radio_default as Radio,
684
1135
  RadioGroup_default as RadioGroup,
1136
+ RealtorCard_default as RealtorCard,
1137
+ RealtyCard_default as RealtyCard,
685
1138
  Select_default as Select,
686
1139
  SelectPro_default as SelectPro,
687
1140
  Slider_default as Slider,
688
1141
  Switch_default as Switch,
1142
+ TeamPersonCard_default as TeamPersonCard,
689
1143
  Text_default as Text
690
1144
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mayak-common-library",
3
- "version": "0.0.12",
3
+ "version": "0.0.14",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -21,6 +21,7 @@
21
21
  "react-dom": "^18",
22
22
  "react-hook-form": "^7.52.0",
23
23
  "react-number-format": "^5.4.0",
24
+ "sass": "^1.77.7",
24
25
  "stylis": "^4.3.2",
25
26
  "tailwindcss": "^3.4.4"
26
27
  },
@@ -31,6 +32,7 @@
31
32
  "@types/react-dom": "^18",
32
33
  "@types/stylis": "^4.2.6",
33
34
  "autoprefixer": "^10.4.19",
35
+ "esbuild-sass-plugin": "^3.3.1",
34
36
  "eslint": "^8",
35
37
  "eslint-config-next": "14.2.4",
36
38
  "install": "^0.13.0",
@@ -8,6 +8,7 @@ module.exports = {
8
8
  "./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
9
9
  "./src/components/**/*.{js,ts,jsx,tsx,mdx}",
10
10
  "./src/app/**/*.{js,ts,jsx,tsx,mdx}",
11
+ "./src/**/*.{js,ts,jsx,tsx,mdx}",
11
12
  ],
12
13
  theme: {
13
14
  extend: {
@@ -20,6 +21,8 @@ module.exports = {
20
21
  "accent-beige": "#C8BCA1",
21
22
  "accent-silver": "#F5F5F5",
22
23
  "accent-silver-2": "#939393",
24
+ gold2: "#99835F",
25
+ gold: "#C8BCA1",
23
26
  primary: {
24
27
  light: "#EAEDF6",
25
28
  main: "#3041C7",
@@ -30,5 +33,10 @@ module.exports = {
30
33
  },
31
34
  },
32
35
  },
36
+ variants: {
37
+ extend: {
38
+ textColor: ["group-hover"],
39
+ },
40
+ },
33
41
  plugins: [],
34
42
  };