@anker-in/ui 0.3.11 → 0.3.12

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
@@ -13090,10 +13090,9 @@ var BookingFormO2O = ({
13090
13090
  "section",
13091
13091
  {
13092
13092
  className: cn(
13093
- "flex flex-col rounded-[16px] bg-white px-[32px] pt-[24px] pb-0 l:pb-[16px] l:rounded-[12px] l:px-[16px] l:pt-[20px]",
13094
- // 右侧 POD 卡存在时左卡高度由其撑开(与下拉版一致),选项列表内部滚动,
13095
- // 避免选项+说明过多把左卡撑得比右卡高;h-0 让本卡不参与 grid 行高计算
13096
- isPodSelected && !!selectedPodContent && "min-l:h-0 min-l:min-h-full min-l:overflow-hidden"
13093
+ // 左卡高度不随右侧 POD 卡出现/消失而变化:self-start 脱离 grid 拉伸,
13094
+ // 选项列表用固定 max-height 内部滚动,保证切换 purpose 时高度稳定
13095
+ "flex flex-col self-start rounded-[16px] bg-white px-[32px] pt-[24px] pb-0 l:pb-[16px] l:rounded-[12px] l:px-[16px] l:pt-[20px]"
13097
13096
  ),
13098
13097
  children: [
13099
13098
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -13111,9 +13110,7 @@ var BookingFormO2O = ({
13111
13110
  role: "radiogroup",
13112
13111
  "aria-labelledby": "booking-purpose-label",
13113
13112
  className: cn(
13114
- "mt-[14px] mr-[4px] flex min-h-0 flex-col gap-[16px] overflow-y-auto",
13115
- // 仅右侧 POD 卡存在时列表受其高度约束内部滚动;其余情况不限高
13116
- isPodSelected && !!selectedPodContent && "min-l:flex-1",
13113
+ "mt-[14px] mr-[4px] flex min-h-0 flex-col gap-[16px] overflow-y-auto min-l:max-h-[354px]",
13117
13114
  purposeListOverflow && "border-b border-[#DADCE0]"
13118
13115
  ),
13119
13116
  children: purposeOptions.map((item, index) => {