@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.mjs CHANGED
@@ -13076,10 +13076,9 @@ var BookingFormO2O = ({
13076
13076
  "section",
13077
13077
  {
13078
13078
  className: cn(
13079
- "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]",
13080
- // 右侧 POD 卡存在时左卡高度由其撑开(与下拉版一致),选项列表内部滚动,
13081
- // 避免选项+说明过多把左卡撑得比右卡高;h-0 让本卡不参与 grid 行高计算
13082
- isPodSelected && !!selectedPodContent && "min-l:h-0 min-l:min-h-full min-l:overflow-hidden"
13079
+ // 左卡高度不随右侧 POD 卡出现/消失而变化:self-start 脱离 grid 拉伸,
13080
+ // 选项列表用固定 max-height 内部滚动,保证切换 purpose 时高度稳定
13081
+ "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]"
13083
13082
  ),
13084
13083
  children: [
13085
13084
  /* @__PURE__ */ jsx(
@@ -13097,9 +13096,7 @@ var BookingFormO2O = ({
13097
13096
  role: "radiogroup",
13098
13097
  "aria-labelledby": "booking-purpose-label",
13099
13098
  className: cn(
13100
- "mt-[14px] mr-[4px] flex min-h-0 flex-col gap-[16px] overflow-y-auto",
13101
- // 仅右侧 POD 卡存在时列表受其高度约束内部滚动;其余情况不限高
13102
- isPodSelected && !!selectedPodContent && "min-l:flex-1",
13099
+ "mt-[14px] mr-[4px] flex min-h-0 flex-col gap-[16px] overflow-y-auto min-l:max-h-[354px]",
13103
13100
  purposeListOverflow && "border-b border-[#DADCE0]"
13104
13101
  ),
13105
13102
  children: purposeOptions.map((item, index) => {