@sawport/react-sdk 1.2.5-beta.9 → 1.3.0-alpha.1

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
@@ -104354,49 +104354,50 @@ Step 4: Click the blue "Join" button to start the meeting.`,
104354
104354
  /* @__PURE__ */ jsx(
104355
104355
  Tooltip2,
104356
104356
  {
104357
- title: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1 min-w-[160px]", children: [
104357
+ title: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1 min-w-[160px] bg-white rounded-lg", children: [
104358
104358
  /* @__PURE__ */ jsxs(
104359
104359
  "a",
104360
104360
  {
104361
- className: "flex items-center gap-2 px-3 py-2 rounded hover:bg-gray-100 transition",
104361
+ className: "flex items-center gap-2 px-3 py-2 rounded hover:bg-gray-100 transition text-gray-800",
104362
104362
  href: (_a = eventProviders.google) == null ? void 0 : _a.render(),
104363
104363
  target: "_blank",
104364
104364
  rel: "noreferrer",
104365
104365
  children: [
104366
104366
  /* @__PURE__ */ jsx(SvgGcal, { width: 22, height: 22 }),
104367
- /* @__PURE__ */ jsx("span", { className: "font-medium text-gray-800", children: "Google" })
104367
+ /* @__PURE__ */ jsx("span", { className: "font-medium", children: "Google" })
104368
104368
  ]
104369
104369
  }
104370
104370
  ),
104371
104371
  /* @__PURE__ */ jsxs(
104372
104372
  "a",
104373
104373
  {
104374
- className: "flex items-center gap-2 px-3 py-2 rounded hover:bg-gray-100 transition",
104374
+ className: "flex items-center gap-2 px-3 py-2 rounded hover:bg-gray-100 transition text-gray-800",
104375
104375
  href: (_b = eventProviders.yahoo) == null ? void 0 : _b.render(),
104376
104376
  target: "_blank",
104377
104377
  rel: "noreferrer",
104378
104378
  children: [
104379
104379
  /* @__PURE__ */ jsx(SvgYahoo, { width: 22, height: 22 }),
104380
- /* @__PURE__ */ jsx("span", { className: "font-medium text-gray-800", children: "Yahoo" })
104380
+ /* @__PURE__ */ jsx("span", { className: "font-medium", children: "Yahoo" })
104381
104381
  ]
104382
104382
  }
104383
104383
  ),
104384
104384
  /* @__PURE__ */ jsxs(
104385
104385
  "a",
104386
104386
  {
104387
- className: "flex items-center gap-2 px-3 py-2 rounded hover:bg-gray-100 transition",
104387
+ className: "flex items-center gap-2 px-3 py-2 rounded hover:bg-gray-100 transition text-gray-800",
104388
104388
  href: (_c = eventProviders.outlook) == null ? void 0 : _c.render(),
104389
104389
  target: "_blank",
104390
104390
  rel: "noreferrer",
104391
104391
  children: [
104392
104392
  /* @__PURE__ */ jsx(SvgOutlookCalendar, { width: 22, height: 22 }),
104393
- /* @__PURE__ */ jsx("span", { className: "font-medium text-gray-800", children: "Outlook" })
104393
+ /* @__PURE__ */ jsx("span", { className: "font-medium", children: "Outlook" })
104394
104394
  ]
104395
104395
  }
104396
104396
  )
104397
104397
  ] }),
104398
104398
  trigger: "click",
104399
- overlayClassName: "modern-calendar-tooltip",
104399
+ overlayStyle: { background: "transparent", boxShadow: "none" },
104400
+ overlayInnerStyle: { background: "transparent", padding: "0" },
104400
104401
  children: /* @__PURE__ */ jsx(
104401
104402
  Button,
104402
104403
  {
@@ -104409,7 +104410,7 @@ Step 4: Click the blue "Join" button to start the meeting.`,
104409
104410
  fontSize: 18,
104410
104411
  boxShadow: "0 2px 8px rgba(0,0,0,0.07)"
104411
104412
  },
104412
- className: "mt-2 p-6 border-none text-white shadow-lg hover:brightness-110 focus:outline-none focus:ring-2 focus:ring-blue-300 transition-all",
104413
+ className: "mt-2 p-6 border-none text-white shadow-lg focus:outline-none focus:ring-2 focus:ring-blue-300 transition-all",
104413
104414
  children: "Add to calendar"
104414
104415
  }
104415
104416
  )
@@ -105919,14 +105920,14 @@ function WidgetInitForm({
105919
105920
  {
105920
105921
  className: "bg-white font-bold text-gray-900",
105921
105922
  style: { padding: "2px 8px" },
105922
- children: String(key) === "bvn" ? "ID No" : fields[key].label || capitalizeFirstLetters(key)
105923
+ children: String(key) === "bvn" ? "ID No." : fields[key].label || capitalizeFirstLetters(key)
105923
105924
  }
105924
105925
  ) }) }),
105925
105926
  /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
105926
105927
  PhoneInput,
105927
105928
  {
105928
105929
  id: "phone-input",
105929
- placeholder: fields[key].placeholder || `Enter ${key}`,
105930
+ placeholder: String(key) === "bvn" ? "Enter ID No." : fields[key].placeholder || `Enter ${key}`,
105930
105931
  value: {
105931
105932
  phoneNumber: formik.values[key],
105932
105933
  countryCode: formik.values.calling_code || state.calling_code || ""
@@ -105956,7 +105957,7 @@ function WidgetInitForm({
105956
105957
  name: key,
105957
105958
  required: fields[key].required,
105958
105959
  type: fields[key].type,
105959
- placeholder: fields[key].placeholder || `Enter ${key}`,
105960
+ placeholder: String(key) === "bvn" ? "Enter ID No." : fields[key].placeholder || `Enter ${key}`,
105960
105961
  onChange: formik.handleChange,
105961
105962
  style: { borderRadius: 8, fontSize: 16 },
105962
105963
  onBlur: formik.handleBlur,