sud-ui 0.6.1 → 0.6.2

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/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  </a>
5
5
  </p>
6
6
 
7
- # Soon UI Design Library [![npm version](https://img.shields.io/badge/npm-0.6.1-blue)](https://www.npmjs.com/package/sud-ui)
7
+ # Soon UI Design Library [![npm version](https://img.shields.io/badge/npm-0.6.2-blue)](https://www.npmjs.com/package/sud-ui)
8
8
 
9
9
  **Soon UI Design (SUD)** is a React UI library that helps you quickly build responsive and polished interfaces using reusable components and customizable design tokens.
10
10
 
package/dist/index.js CHANGED
@@ -14292,28 +14292,24 @@ const Q9 = E0(
14292
14292
  return /* @__PURE__ */ t.jsx(
14293
14293
  "div",
14294
14294
  {
14295
+ ref: d,
14296
+ className: l1("sud-content", c),
14295
14297
  style: {
14296
- marginTop: g,
14297
- marginBottom: y,
14298
- marginLeft: f
14299
- // 필요시 marginRight도 추가 가능
14298
+ position: "absolute",
14299
+ top: `${g}px`,
14300
+ left: `${f}px`,
14301
+ right: 0,
14302
+ bottom: `${y}px`,
14303
+ width: `calc(100% - ${f}px)`,
14304
+ height: `calc(100% - ${g}px - ${y}px)`,
14305
+ overflowY: "auto",
14306
+ backgroundColor: $,
14307
+ color: w,
14308
+ boxSizing: "border-box",
14309
+ ...a
14300
14310
  },
14301
- children: /* @__PURE__ */ t.jsx(
14302
- "div",
14303
- {
14304
- ref: d,
14305
- className: l1("sud-content", c),
14306
- style: {
14307
- overflowY: "auto",
14308
- backgroundColor: $,
14309
- color: w,
14310
- boxSizing: "border-box",
14311
- ...a
14312
- },
14313
- ...u,
14314
- children: s
14315
- }
14316
- )
14311
+ ...u,
14312
+ children: s
14317
14313
  }
14318
14314
  );
14319
14315
  }