@anker-in/ui 0.3.6 → 0.3.7

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
@@ -1824,7 +1824,7 @@ var Title2 = ({
1824
1824
  title = "",
1825
1825
  ...props
1826
1826
  }) => {
1827
- return /* @__PURE__ */ jsx("div", { className: cn("w-full"), ...props, children: /* @__PURE__ */ jsx("h2", { className: "text-[32px] min-l:text-[48px] font-bold mb-12 text-[#080A0F]", children: title }) });
1827
+ return /* @__PURE__ */ jsx("div", { className: cn("w-full"), ...props, children: /* @__PURE__ */ jsx("h2", { className: "text-[32px] min-l:text-[48px] font-bold mb-6 text-[#080A0F]", children: title }) });
1828
1828
  };
1829
1829
  Title2.displayName = "Title";
1830
1830
  var StudioCard2 = ({
@@ -2424,9 +2424,6 @@ function groupByAlphabet2(items) {
2424
2424
  items: items2.sort((a, b) => a.name.localeCompare(b.name))
2425
2425
  }));
2426
2426
  }
2427
-
2428
- // src/components/DemoRoomO2O/components/RoomsList.module.css
2429
- var RoomsList_default2 = {};
2430
2427
  var LocationFilter2 = ({
2431
2428
  locations,
2432
2429
  onSelect,
@@ -2567,8 +2564,7 @@ var LocationFilter2 = ({
2567
2564
  {
2568
2565
  style: { height: "724px" },
2569
2566
  className: cn(
2570
- "w-full rounded-b-[12px] absolute z-40 bottom-[-2px] left-0 bg-white border border-[#E4E5E6]",
2571
- RoomsList_default2.antdMobileScope
2567
+ "w-full rounded-b-[12px] absolute z-40 bottom-[-2px] left-0 bg-white border border-[#E4E5E6]"
2572
2568
  ),
2573
2569
  children: [
2574
2570
  /* @__PURE__ */ jsx(
@@ -11320,7 +11316,7 @@ var QuestionnaireForm2 = ({
11320
11316
  }
11321
11317
  };
11322
11318
  return /* @__PURE__ */ jsxs("div", { className: "pb-[80px] light", children: [
11323
- visibleQuestions && visibleQuestions.length > 0 && /* @__PURE__ */ jsx("div", { className: "bg-white rounded-[12px] border border-[#E4E5E6] p-8 dark:bg-white dark:border-[#E4E5E6] l:p-4", children: /* @__PURE__ */ jsx("form", { onSubmit: handleSubmit, className: cn("space-y-6", className), children: visibleQuestions.map((question) => {
11319
+ visibleQuestions && visibleQuestions.length > 0 && /* @__PURE__ */ jsx("div", { className: "bg-white rounded-[12px] p-8 dark:bg-white l:p-4", children: /* @__PURE__ */ jsx("form", { onSubmit: handleSubmit, className: cn("space-y-6", className), children: visibleQuestions.map((question) => {
11324
11320
  const questionId = getQuestionId(question);
11325
11321
  const hasError = !!errors[questionId];
11326
11322
  return /* @__PURE__ */ jsxs(
@@ -11697,6 +11693,13 @@ var DateTimePicker2 = ({
11697
11693
  overflow: hidden;
11698
11694
  padding: 0 24px 16px 24px !important;
11699
11695
  }
11696
+ @media (max-width: 1023px) {
11697
+ .calendar-custom-cell {
11698
+ border-radius: 16px !important;
11699
+ overflow: hidden;
11700
+ padding: 0 16px 16px 16px !important;
11701
+ }
11702
+ }
11700
11703
  .calendar-custom-cell,
11701
11704
  .calendar-custom-cell *,
11702
11705
  .calendar-custom-cell .ant-picker-panel,
@@ -11965,9 +11968,9 @@ var DateTimePicker2 = ({
11965
11968
  )
11966
11969
  }
11967
11970
  ),
11968
- /* @__PURE__ */ jsxs("div", { className: "bg-white p-[24px] rounded-[16px] flex-1", children: [
11971
+ /* @__PURE__ */ jsxs("div", { className: "bg-white p-[24px] l:p-[16px] rounded-[16px] flex-1", children: [
11969
11972
  /* @__PURE__ */ jsxs("div", { className: "flex justify-between items-center", children: [
11970
- /* @__PURE__ */ jsx("div", { className: "text-[24px] l:text-[16px]", children: pageData?.timeSlot }),
11973
+ /* @__PURE__ */ jsx("div", { className: "text-[24px] l:text-[14px]", children: pageData?.timeSlot }),
11971
11974
  /* @__PURE__ */ jsxs("div", { className: "flex text-[18px] l:text-[14px] l:gap-1 gap-2", children: [
11972
11975
  /* @__PURE__ */ jsx(
11973
11976
  "button",
@@ -12050,7 +12053,7 @@ var DateTimePicker2 = ({
12050
12053
  }
12051
12054
  },
12052
12055
  className: `
12053
- rounded-[20px] w-full text-[18px] l:gap-2 l:text-[16px] flex items-center justify-center gap-4 h-[76px]
12056
+ rounded-[8px] w-full text-[18px] l:gap-2 l:text-[16px] flex items-center justify-center gap-4 h-[76px]
12054
12057
  border text-center transition-colors
12055
12058
  ${isSelected ? "border-[#3ADB67] bg-[#3ADB67] cursor-pointer" : isAvailable ? "border-[#E4E5E6] hover:border-[#3ADB67] hover:bg-[#3ADB67] cursor-pointer" : "border-[#E4E5E6] bg-[#F5F5F5] text-[#767880] cursor-not-allowed"}
12056
12059
  `,
@@ -13143,7 +13146,7 @@ var BookingSuccessO2O = ({
13143
13146
  " ",
13144
13147
  podDesignName
13145
13148
  ] }),
13146
- bookingData?.status && pageData.podData?.status?.[bookingData.status] && /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-[#4A4C56]", children: pageData.podData.status[bookingData.status] })
13149
+ bookingData?.print_status && pageData.podData?.status?.[bookingData.print_status] && /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-[#4A4C56]", children: pageData.podData.status[bookingData.print_status] })
13147
13150
  ] }),
13148
13151
  podDesignImage && /* @__PURE__ */ jsx(
13149
13152
  Image,