@pisell/materials 6.12.85 → 6.12.86

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.
@@ -538,6 +538,12 @@
538
538
  line-height: 24px;
539
539
  flex-shrink: 0;
540
540
 
541
+ > .pisell-lowcode-btn-icon,
542
+ > .ant-btn-icon {
543
+ margin-right: 0 !important;
544
+ margin-inline-end: 0 !important;
545
+ }
546
+
541
547
  &:hover {
542
548
  background-color: #f9fafb !important;
543
549
  border-color: #d0d5dd !important;
@@ -616,7 +622,8 @@
616
622
  }
617
623
 
618
624
  .pisell-lowcode-modal-body {
619
- padding: 0;
625
+ // PcModal 的 #body 规则默认左右 24px;仅搜索弹窗覆盖为 12px。
626
+ padding: 0 12px !important;
620
627
  }
621
628
 
622
629
  .pisell-lowcode-modal-content {
@@ -632,7 +639,7 @@
632
639
 
633
640
  .pisell-lookup-modal-custom-container {
634
641
  position: absolute !important;
635
- top: var(env(safe-area-inset-top), 0) !important;
642
+ top: env(safe-area-inset-top, 0px) !important;
636
643
  left: 0 !important;
637
644
  right: 0 !important;
638
645
  bottom: 0 !important;
@@ -649,6 +656,21 @@
649
656
  }
650
657
  }
651
658
 
659
+ // 顶部搜索浮层统一预留 10px,并兼顾系统安全区。
660
+ .pisell-lookup-modal-wrapper-top {
661
+ margin-top: max(10px, env(safe-area-inset-top, 0px));
662
+
663
+ // 自定义挂载点已包含安全区,避免重复叠加。
664
+ .pisell-lookup-modal-custom-container & {
665
+ margin-top: max(0px, calc(10px - env(safe-area-inset-top, 0px)));
666
+ }
667
+
668
+ .pisell-lookup-search-area-with-close .pisell-lookup-modal-close-btn {
669
+ min-width: 44px;
670
+ min-height: 48px;
671
+ }
672
+ }
673
+
652
674
  // ============ Drawer 全局样式覆盖 ============
653
675
 
654
676
  .pisell-lookup-drawer-container {
@@ -85,7 +85,7 @@ const LookupResultHost = (props) => {
85
85
  }
86
86
  }
87
87
  }, /* @__PURE__ */ React.createElement("div", {
88
- className: "pisell-lookup-modal-wrapper",
88
+ className: ["pisell-lookup-modal-wrapper", !modalCentered ? "pisell-lookup-modal-wrapper-top" : ""].filter(Boolean).join(" "),
89
89
  style: portalContentStyle
90
90
  }, children));
91
91
  };
@@ -538,6 +538,12 @@
538
538
  line-height: 24px;
539
539
  flex-shrink: 0;
540
540
 
541
+ > .pisell-lowcode-btn-icon,
542
+ > .ant-btn-icon {
543
+ margin-right: 0 !important;
544
+ margin-inline-end: 0 !important;
545
+ }
546
+
541
547
  &:hover {
542
548
  background-color: #f9fafb !important;
543
549
  border-color: #d0d5dd !important;
@@ -616,7 +622,8 @@
616
622
  }
617
623
 
618
624
  .pisell-lowcode-modal-body {
619
- padding: 0;
625
+ // PcModal 的 #body 规则默认左右 24px;仅搜索弹窗覆盖为 12px。
626
+ padding: 0 12px !important;
620
627
  }
621
628
 
622
629
  .pisell-lowcode-modal-content {
@@ -632,7 +639,7 @@
632
639
 
633
640
  .pisell-lookup-modal-custom-container {
634
641
  position: absolute !important;
635
- top: var(env(safe-area-inset-top), 0) !important;
642
+ top: env(safe-area-inset-top, 0px) !important;
636
643
  left: 0 !important;
637
644
  right: 0 !important;
638
645
  bottom: 0 !important;
@@ -649,6 +656,21 @@
649
656
  }
650
657
  }
651
658
 
659
+ // 顶部搜索浮层统一预留 10px,并兼顾系统安全区。
660
+ .pisell-lookup-modal-wrapper-top {
661
+ margin-top: max(10px, env(safe-area-inset-top, 0px));
662
+
663
+ // 自定义挂载点已包含安全区,避免重复叠加。
664
+ .pisell-lookup-modal-custom-container & {
665
+ margin-top: max(0px, calc(10px - env(safe-area-inset-top, 0px)));
666
+ }
667
+
668
+ .pisell-lookup-search-area-with-close .pisell-lookup-modal-close-btn {
669
+ min-width: 44px;
670
+ min-height: 48px;
671
+ }
672
+ }
673
+
652
674
  // ============ Drawer 全局样式覆盖 ============
653
675
 
654
676
  .pisell-lookup-drawer-container {
@@ -87,7 +87,7 @@ const LookupResultHost = (props) => {
87
87
  }
88
88
  }
89
89
  }, /* @__PURE__ */ react.default.createElement("div", {
90
- className: "pisell-lookup-modal-wrapper",
90
+ className: ["pisell-lookup-modal-wrapper", !modalCentered ? "pisell-lookup-modal-wrapper-top" : ""].filter(Boolean).join(" "),
91
91
  style: portalContentStyle
92
92
  }, children));
93
93
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "6.12.85",
3
+ "version": "6.12.86",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -95,9 +95,9 @@
95
95
  "swiper": "^8.4.7",
96
96
  "antd-mobile": "^5.38.1",
97
97
  "vod-js-sdk-v6": "^1.4.11",
98
+ "@pisell/date-picker": "3.0.12",
98
99
  "@pisell/utils": "3.0.7",
99
- "@pisell/icon": "0.0.11",
100
- "@pisell/date-picker": "3.0.12"
100
+ "@pisell/icon": "0.0.11"
101
101
  },
102
102
  "peerDependencies": {
103
103
  "react": "^18.0.0",