nvis-fe-cms-libs 1.0.3 → 1.0.5

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.
@@ -3079,6 +3079,40 @@ var __async = (__this, __arguments, generator) => {
3079
3079
  item.id || index2
3080
3080
  )) }) });
3081
3081
  };
3082
+ const TextSection = ({ data, isDarkMode }) => {
3083
+ const textItems = (data == null ? void 0 : data.sectionDataBindingItems) || [];
3084
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
3085
+ "div",
3086
+ {
3087
+ style: {
3088
+ padding: "40px 20px",
3089
+ backgroundColor: isDarkMode ? "#1f2937" : "#f8f9fa",
3090
+ // Dark: slate-800, Light: gray-100
3091
+ textAlign: "center"
3092
+ },
3093
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: { maxWidth: "800px", margin: "0 auto" }, children: textItems.map((item, index2) => /* @__PURE__ */ jsxRuntimeExports.jsx(
3094
+ "div",
3095
+ {
3096
+ style: {
3097
+ backgroundColor: isDarkMode ? "#374151" : "white",
3098
+ // Dark: slate-700, Light: white
3099
+ padding: "20px",
3100
+ marginBottom: "20px",
3101
+ borderRadius: "8px",
3102
+ boxShadow: isDarkMode ? "0 2px 4px rgba(0,0,0,0.3)" : "0 2px 4px rgba(0,0,0,0.1)",
3103
+ fontSize: "16px",
3104
+ lineHeight: "1.6",
3105
+ color: isDarkMode ? "#d1d5db" : "#333",
3106
+ // Dark: gray-300, Light: dark gray
3107
+ textAlign: "left"
3108
+ },
3109
+ children: item.value
3110
+ },
3111
+ item.id || index2
3112
+ )) })
3113
+ }
3114
+ );
3115
+ };
3082
3116
  const index = {
3083
3117
  AboutCompanySection,
3084
3118
  CompanyValues,
@@ -3096,7 +3130,8 @@ var __async = (__this, __arguments, generator) => {
3096
3130
  ProductListSection,
3097
3131
  ImageSection,
3098
3132
  ImageSingleSection,
3099
- TextWithTitleSection
3133
+ TextWithTitleSection,
3134
+ TextSection
3100
3135
  };
3101
3136
  exports2.AboutCompanySection = AboutCompanySection;
3102
3137
  exports2.CompanyValues = CompanyValues;
@@ -3113,6 +3148,7 @@ var __async = (__this, __arguments, generator) => {
3113
3148
  exports2.PartnersSection = PartnersSection;
3114
3149
  exports2.ProductListSection = ProductListSection;
3115
3150
  exports2.TestimonialsSection = TestimonialsSection;
3151
+ exports2.TextSection = TextSection;
3116
3152
  exports2.TextWithTitleSection = TextWithTitleSection;
3117
3153
  exports2.TimelineSection = TimelineSection;
3118
3154
  exports2.default = index;