sellmate-design-system-react 6.0.0 → 7.0.0

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
@@ -6042,10 +6042,11 @@ function SFooter({
6042
6042
  var SPopup = /* @__PURE__ */ forwardRef(function SPopup2({
6043
6043
  popupTitle = "",
6044
6044
  type = "default",
6045
- useFooter = true,
6045
+ useFooter = false,
6046
6046
  submitButton,
6047
6047
  onSubmit,
6048
6048
  footerLeft,
6049
+ noPadding = false,
6049
6050
  children,
6050
6051
  className,
6051
6052
  style
@@ -6076,10 +6077,11 @@ var SPopup = /* @__PURE__ */ forwardRef(function SPopup2({
6076
6077
  }
6077
6078
  ),
6078
6079
  /* @__PURE__ */ jsx(
6079
- "div",
6080
+ "main",
6080
6081
  {
6081
6082
  className: cn(
6082
- "min-h-0 flex-1 overflow-auto",
6083
+ "box-border min-h-0 flex-1 overflow-auto",
6084
+ !noPadding && "p-(--sys-space-panel-padding-default)",
6083
6085
  SCROLLBAR_CLASS,
6084
6086
  SCROLLBAR_TRACK_BG_CLASS,
6085
6087
  SCROLLBAR_TRACK_BORDER_CLASS
@@ -7843,9 +7845,7 @@ var SPage = /* @__PURE__ */ forwardRef(function SPage2({ background = "frame", s
7843
7845
  ref,
7844
7846
  className: cn(
7845
7847
  "box-border min-h-0 min-w-0 flex-1 overflow-auto p-[var(--cmp-pageBody-padding-default)]",
7846
- // 스크롤 끝 여백은 아직 전용 토큰이 없어 스케일 값을 직접 쓴다.
7847
- // component.pageBody.padding.scrollEnd 가 들어오면 var() 참조로 바꾼다.
7848
- scrollEndSpacing && "pb-sd-80",
7848
+ scrollEndSpacing && "pb-[var(--cmp-pageBody-padding-scrollEnd)]",
7849
7849
  SCROLLBAR_CLASS,
7850
7850
  BACKGROUND_CLASS[background],
7851
7851
  className
@@ -9463,7 +9463,11 @@ var STable = /* @__PURE__ */ forwardRef(function STable2({
9463
9463
  "div",
9464
9464
  {
9465
9465
  className: cn(
9466
- "bg-white relative flex flex-col overflow-hidden border border-solid border-[color:var(--cmp-table-border-color)]",
9466
+ // isolate: no-data/loading 오버레이(z-30·31)를 테이블 안에서 끝낸다. relative + z-auto
9467
+ // 만으로는 스태킹 컨텍스트가 생기지 않아, 모달 안에 들어가면 30·31이 모달 Content
9468
+ // 레벨까지 올라가 같은 컨텍스트의 floating portal 밴드(z-2)를 덮는다.
9469
+ // 자손은 이미 overflow-hidden으로 클리핑되므로 테이블 내부 순서는 달라지지 않는다.
9470
+ "bg-white relative isolate flex flex-col overflow-hidden border border-solid border-[color:var(--cmp-table-border-color)]",
9467
9471
  // height가 없으면 루트가 받은 높이를 끝까지 채운다. 호스트가 className으로
9468
9472
  // `flex-1 min-h-0` 등을 줘 루트 높이가 확정된 경우, 행이 적어도 테두리 박스가
9469
9473
  // 남은 영역을 그대로 차지한다. basis는 auto로 둬 높이가 확정되지 않은