@asdp/ferryui 0.1.22-dev.9417 → 0.1.22-dev.9462

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
@@ -6683,14 +6683,26 @@ var useStyles12 = makeStyles({
6683
6683
  display: "flex",
6684
6684
  gap: "1rem",
6685
6685
  marginBottom: "1rem",
6686
- flexWrap: "wrap",
6687
- marginTop: "1rem"
6686
+ flexWrap: "nowrap",
6687
+ marginTop: "1rem",
6688
+ overflowX: "auto",
6689
+ width: "100%",
6690
+ paddingBottom: "8px",
6691
+ paddingTop: "4px",
6692
+ alignItems: "center",
6693
+ flexShrink: 0,
6694
+ "&::-webkit-scrollbar": {
6695
+ display: "none"
6696
+ },
6697
+ msOverflowStyle: "none",
6698
+ scrollbarWidth: "none"
6688
6699
  },
6689
6700
  circularButton: {
6690
6701
  borderRadius: tokens.borderRadius3XLarge,
6691
6702
  border: `1px solid ${tokens.colorBrandBackground}`,
6692
6703
  backgroundColor: brandColors["140"],
6693
- gap: "5px"
6704
+ gap: "5px",
6705
+ flexShrink: 0
6694
6706
  },
6695
6707
  buttonContent: {
6696
6708
  display: "flex",
@@ -6951,7 +6963,8 @@ var ModalSearchHarbor = ({
6951
6963
  }
6952
6964
  )
6953
6965
  ] }),
6954
- favoriteHarbors.length > 0 && /* @__PURE__ */ jsx("div", { className: styles.buttonContainer, children: favoriteHarbors.map((harbor) => /* @__PURE__ */ jsxs(
6966
+ favoriteHarbors.length > 0 && //Make Favorite scroll to vertical
6967
+ /* @__PURE__ */ jsx("div", { className: styles.buttonContainer, children: favoriteHarbors.map((harbor) => /* @__PURE__ */ jsxs(
6955
6968
  Button,
6956
6969
  {
6957
6970
  onClick: () => handleSelect(harbor),
@@ -7488,7 +7501,7 @@ var useStyles14 = makeStyles({
7488
7501
  display: "flex",
7489
7502
  flexDirection: "column",
7490
7503
  gap: "12px",
7491
- // maxHeight: "400px",
7504
+ maxHeight: "700px",
7492
7505
  overflowY: "auto",
7493
7506
  padding: "2px"
7494
7507
  },
@@ -7685,54 +7698,56 @@ var ModalService = ({
7685
7698
  actionButton: reloadButton,
7686
7699
  imageSrc: emptyImageSrc
7687
7700
  }
7688
- ) : /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs("div", { className: styles.serviceList, children: [
7689
- /* @__PURE__ */ jsx("div", { className: styles.headerRow, children: /* @__PURE__ */ jsx(
7690
- Checkbox,
7691
- {
7692
- label: mergedLabels.selectAll,
7693
- checked: selectedServices.length === services.length,
7694
- onChange: handleToggleAll
7695
- }
7696
- ) }),
7697
- /* @__PURE__ */ jsx(Divider, {}),
7698
- services.map((service) => /* @__PURE__ */ jsxs(
7699
- "div",
7700
- {
7701
- className: styles.serviceItem,
7702
- onClick: () => handleToggleService(service.serviceTypeId),
7703
- children: [
7704
- /* @__PURE__ */ jsxs("div", { className: styles.serviceContent, children: [
7705
- /* @__PURE__ */ jsx(Body1, { className: styles.serviceName, children: service.serviceTypeName }),
7706
- /* @__PURE__ */ jsx("div", { style: { alignSelf: "flex-start" }, children: /* @__PURE__ */ jsx(
7707
- Badge,
7701
+ ) : /* @__PURE__ */ jsxs(Fragment, { children: [
7702
+ /* @__PURE__ */ jsxs("div", { className: styles.serviceList, children: [
7703
+ /* @__PURE__ */ jsx("div", { className: styles.headerRow, children: /* @__PURE__ */ jsx(
7704
+ Checkbox,
7705
+ {
7706
+ label: mergedLabels.selectAll,
7707
+ checked: selectedServices.length === services.length,
7708
+ onChange: handleToggleAll
7709
+ }
7710
+ ) }),
7711
+ /* @__PURE__ */ jsx(Divider, {}),
7712
+ services.map((service) => /* @__PURE__ */ jsxs(
7713
+ "div",
7714
+ {
7715
+ className: styles.serviceItem,
7716
+ onClick: () => handleToggleService(service.serviceTypeId),
7717
+ children: [
7718
+ /* @__PURE__ */ jsxs("div", { className: styles.serviceContent, children: [
7719
+ /* @__PURE__ */ jsx(Body1, { className: styles.serviceName, children: service.serviceShortDescription }),
7720
+ /* @__PURE__ */ jsx("div", { style: { alignSelf: "flex-start" }, children: /* @__PURE__ */ jsx(
7721
+ Badge,
7722
+ {
7723
+ appearance: "ghost",
7724
+ style: {
7725
+ backgroundColor: service.serviceTypeColor,
7726
+ color: "#ffffff",
7727
+ border: "none",
7728
+ padding: "4px 10px",
7729
+ height: "auto",
7730
+ borderRadius: "100px"
7731
+ },
7732
+ children: service.serviceTypeName
7733
+ }
7734
+ ) }),
7735
+ /* @__PURE__ */ jsx(Caption1, { className: styles.serviceDescription, children: service.serviceDescription })
7736
+ ] }),
7737
+ /* @__PURE__ */ jsx(
7738
+ Checkbox,
7708
7739
  {
7709
- appearance: "ghost",
7710
- style: {
7711
- backgroundColor: service.serviceTypeColor,
7712
- color: "#ffffff",
7713
- border: "none",
7714
- padding: "4px 10px",
7715
- height: "auto",
7716
- borderRadius: "100px"
7717
- },
7718
- children: service.serviceTypeCode
7740
+ checked: selectedServices.includes(service.serviceTypeId),
7741
+ onChange: () => handleToggleService(service.serviceTypeId),
7742
+ onClick: (e) => e.stopPropagation()
7719
7743
  }
7720
- ) }),
7721
- /* @__PURE__ */ jsx(Caption1, { className: styles.serviceDescription, children: service.serviceDescription })
7722
- ] }),
7723
- /* @__PURE__ */ jsx(
7724
- Checkbox,
7725
- {
7726
- checked: selectedServices.includes(service.serviceTypeId),
7727
- onChange: () => handleToggleService(service.serviceTypeId),
7728
- onClick: (e) => e.stopPropagation()
7729
- }
7730
- )
7731
- ]
7732
- },
7733
- service.serviceTypeId
7734
- )),
7735
- /* @__PURE__ */ jsx(Divider, {}),
7744
+ )
7745
+ ]
7746
+ },
7747
+ service.serviceTypeId
7748
+ )),
7749
+ /* @__PURE__ */ jsx(Divider, {})
7750
+ ] }),
7736
7751
  /* @__PURE__ */ jsx("div", { className: styles.footer, children: /* @__PURE__ */ jsx(
7737
7752
  Button,
7738
7753
  {
@@ -7744,7 +7759,7 @@ var ModalService = ({
7744
7759
  children: mergedLabels.saveButton
7745
7760
  }
7746
7761
  ) })
7747
- ] }) }) })
7762
+ ] }) })
7748
7763
  ] }) }) });
7749
7764
  };
7750
7765