sud-ui 1.1.3 → 1.1.5

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-1.1.3-blue)](https://www.npmjs.com/package/sud-ui)
7
+ # Soon UI Design Library [![npm version](https://img.shields.io/badge/npm-1.1.5-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
@@ -11990,18 +11990,6 @@ const I9 = {
11990
11990
  9: "#515a70",
11991
11991
  10: "#373f52"
11992
11992
  },
11993
- neutral: {
11994
- 1: "#ffffff",
11995
- 2: "#f5f5f5",
11996
- 3: "#e0e0e0",
11997
- 4: "#c2c2c2",
11998
- 5: "#a3a3a3",
11999
- 6: "#858585",
12000
- 7: "#666666",
12001
- 8: "#4d4d4d",
12002
- 9: "#2e2e2e",
12003
- 10: "#000000"
12004
- },
12005
11993
  black: {
12006
11994
  1: "#ffffff",
12007
11995
  2: "#f5f5f5",
@@ -12106,9 +12094,9 @@ const I9 = {
12106
12094
  title: `${r}-${u}`,
12107
12095
  style: {
12108
12096
  width: "100%",
12109
- aspectRatio: "1/1",
12097
+ aspectRatio: "3/5",
12110
12098
  backgroundColor: b,
12111
- borderRadius: "50%",
12099
+ borderRadius: "25%",
12112
12100
  // 둥글게 (이미지처럼)
12113
12101
  cursor: "pointer",
12114
12102
  border: J0(W.r, W.g, W.b) === b.toUpperCase() ? "2px solid #000" : "1px solid rgba(0,0,0,0.1)",
@@ -12222,6 +12210,19 @@ const I9 = {
12222
12210
  style: { marginTop: 8 },
12223
12211
  ...p
12224
12212
  }
12213
+ ),
12214
+ " ",
12215
+ /* @__PURE__ */ t.jsx(
12216
+ m0,
12217
+ {
12218
+ className: "sud-color-picker__preview",
12219
+ style: {
12220
+ width: "100%",
12221
+ height: "50px",
12222
+ backgroundColor: `rgba(${W.r}, ${W.g}, ${W.b}, ${T / 100})`
12223
+ },
12224
+ ...C
12225
+ }
12225
12226
  )
12226
12227
  ] });
12227
12228
  return /* @__PURE__ */ t.jsx(
@@ -12234,7 +12235,7 @@ const I9 = {
12234
12235
  title: null,
12235
12236
  footer: null,
12236
12237
  ...d,
12237
- content: /* @__PURE__ */ t.jsxs(
12238
+ content: /* @__PURE__ */ t.jsx(
12238
12239
  "div",
12239
12240
  {
12240
12241
  className: o1("sud-color-picker", k),
@@ -12242,27 +12243,13 @@ const I9 = {
12242
12243
  display: "flex",
12243
12244
  flexDirection: "column",
12244
12245
  gap: 12,
12245
- width: 300,
12246
+ width: L === "preset" ? 250 : 300,
12246
12247
  padding: "8px 0"
12247
12248
  },
12248
12249
  role: "dialog",
12249
12250
  "aria-label": "색상 선택기",
12250
12251
  ...M,
12251
- children: [
12252
- L === "preset" ? /* @__PURE__ */ t.jsx(j, {}) : /* @__PURE__ */ t.jsx(N, {}),
12253
- /* @__PURE__ */ t.jsx(
12254
- m0,
12255
- {
12256
- className: "sud-color-picker__preview",
12257
- style: {
12258
- width: "100%",
12259
- height: "50px",
12260
- backgroundColor: `rgba(${W.r}, ${W.g}, ${W.b}, ${T / 100})`
12261
- },
12262
- ...C
12263
- }
12264
- )
12265
- ]
12252
+ children: L === "preset" ? /* @__PURE__ */ t.jsx(j, {}) : /* @__PURE__ */ t.jsx(N, {})
12266
12253
  }
12267
12254
  ),
12268
12255
  children: n || /* @__PURE__ */ t.jsx(