@nexus-cross/design-system 2.0.1 → 2.0.3

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.
@@ -1 +1 @@
1
- {"version":3,"file":"built.d.ts","sourceRoot":"","sources":["../../../src/styles/.generated/built.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,GAAG,0z4JAA4imI,CAAC;AACtjmI,eAAe,GAAG,CAAC"}
1
+ {"version":3,"file":"built.d.ts","sourceRoot":"","sources":["../../../src/styles/.generated/built.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,GAAG,qz6JAAwjnI,CAAC;AAClknI,eAAe,GAAG,CAAC"}
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkMWWQMVXJ_js = require('../chunks/chunk-MWWQMVXJ.js');
3
+ var chunk7G7U4DP2_js = require('../chunks/chunk-7G7U4DP2.js');
4
4
 
5
5
  // src/styles/inject-layer.ts
6
6
  var STYLE_ID = "__nexus-ds-layer__";
@@ -8,7 +8,7 @@ var __nexus_styles_injected__ = typeof document !== "undefined" && !document.get
8
8
  const style = document.createElement("style");
9
9
  style.id = STYLE_ID;
10
10
  style.textContent = `@layer nexus {
11
- ${chunkMWWQMVXJ_js.built_default}
11
+ ${chunk7G7U4DP2_js.built_default}
12
12
  }`;
13
13
  document.head.appendChild(style);
14
14
  return true;
@@ -1,4 +1,4 @@
1
- import { built_default } from '../chunks/chunk-KT2WKVF7.mjs';
1
+ import { built_default } from '../chunks/chunk-JFZLKFFM.mjs';
2
2
 
3
3
  // src/styles/inject-layer.ts
4
4
  var STYLE_ID = "__nexus-ds-layer__";
package/dist/styles.css CHANGED
@@ -2226,7 +2226,7 @@
2226
2226
  .nexus-select-trigger--outline {
2227
2227
  background: var(--color-surface-default);
2228
2228
  }
2229
- /* size variant width: :where()로 명시도 0 — 외부 className의 w-*/min-w-*/max-w-* 항상 우선. */
2229
+ /* size variant width: :where() 로 명시도 0 — 외부 className 의 w- / min-w- / max-w- 유틸이 항상 우선. */
2230
2230
  :where(.nexus-select-trigger--sm) {
2231
2231
  width: 4rem;
2232
2232
  }
@@ -4508,6 +4508,14 @@
4508
4508
  border-radius: var(--radius-corner-md, 8px);
4509
4509
  overflow: hidden;
4510
4510
  }
4511
+ /* cover preview: X 버튼이 박스 모서리 밖으로 튀어나오게 하기 위해
4512
+ container 의 클리핑을 해제. 배경/라운드도 자식(.--preview-cover)이 직접 그리므로
4513
+ 여기서는 색을 비워둔다. */
4514
+ .nexus-image-upload__container--preview-cover {
4515
+ overflow: visible;
4516
+ background: transparent;
4517
+ border-radius: 0;
4518
+ }
4511
4519
  .nexus-image-upload {
4512
4520
  position: relative;
4513
4521
  display: flex;
@@ -4671,7 +4679,10 @@
4671
4679
  }
4672
4680
 
4673
4681
  /* ─── ImageUpload: previewMode="cover" — 박스 가득 채우는 풀 이미지 ─── */
4674
- .nexus-image-upload--preview-cover {
4682
+ /* base .nexus-image-upload 와 selector specificity 를 맞추기 위해 .nexus-image-upload
4683
+ 같이 적어 (0,0,2,0) 으로 올린다. 이래야 cascade 순서에 의존하지 않고
4684
+ overflow/padding/border-style 등을 안정적으로 덮어쓸 수 있다. */
4685
+ .nexus-image-upload.nexus-image-upload--preview-cover {
4675
4686
  position: relative;
4676
4687
  display: block;
4677
4688
  padding: 0;
@@ -4679,10 +4690,11 @@
4679
4690
  border-style: solid;
4680
4691
  background: var(--color-surface-strong);
4681
4692
  cursor: pointer;
4682
- /* X 버튼이 모서리 밖으로 살짝 튀어나올 수 있도록 visible. 이미지는 아래 clip wrapper가 라운드 처리. */
4693
+ /* X 버튼이 모서리 밖으로 살짝 튀어나올 수 있도록 visible.
4694
+ 이미지는 자식인 __preview-cover-clip 이 overflow:hidden 으로 라운드 처리. */
4683
4695
  overflow: visible;
4684
4696
  }
4685
- .nexus-image-upload--preview-cover:hover {
4697
+ .nexus-image-upload.nexus-image-upload--preview-cover:hover {
4686
4698
  border-color: var(--color-border-default-hover);
4687
4699
  box-shadow: 0 0 0 0.5px var(--color-border-default-hover);
4688
4700
  }
package/dist/styles.js CHANGED
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunkMWWQMVXJ_js = require('./chunks/chunk-MWWQMVXJ.js');
3
+ var chunk7G7U4DP2_js = require('./chunks/chunk-7G7U4DP2.js');
4
4
 
5
5
  // src/styles/inject.ts
6
6
  var STYLE_ID = "__nexus-ds__";
7
7
  var __nexus_styles_injected__ = typeof document !== "undefined" && !document.getElementById(STYLE_ID) ? (() => {
8
8
  const style = document.createElement("style");
9
9
  style.id = STYLE_ID;
10
- style.textContent = chunkMWWQMVXJ_js.built_default;
10
+ style.textContent = chunk7G7U4DP2_js.built_default;
11
11
  document.head.appendChild(style);
12
12
  return true;
13
13
  })() : false;
@@ -2227,7 +2227,7 @@
2227
2227
  .nexus-select-trigger--outline {
2228
2228
  background: var(--color-surface-default);
2229
2229
  }
2230
- /* size variant width: :where()로 명시도 0 — 외부 className의 w-*/min-w-*/max-w-* 항상 우선. */
2230
+ /* size variant width: :where() 로 명시도 0 — 외부 className 의 w- / min-w- / max-w- 유틸이 항상 우선. */
2231
2231
  :where(.nexus-select-trigger--sm) {
2232
2232
  width: 4rem;
2233
2233
  }
@@ -4509,6 +4509,14 @@
4509
4509
  border-radius: var(--radius-corner-md, 8px);
4510
4510
  overflow: hidden;
4511
4511
  }
4512
+ /* cover preview: X 버튼이 박스 모서리 밖으로 튀어나오게 하기 위해
4513
+ container 의 클리핑을 해제. 배경/라운드도 자식(.--preview-cover)이 직접 그리므로
4514
+ 여기서는 색을 비워둔다. */
4515
+ .nexus-image-upload__container--preview-cover {
4516
+ overflow: visible;
4517
+ background: transparent;
4518
+ border-radius: 0;
4519
+ }
4512
4520
  .nexus-image-upload {
4513
4521
  position: relative;
4514
4522
  display: flex;
@@ -4672,7 +4680,10 @@
4672
4680
  }
4673
4681
 
4674
4682
  /* ─── ImageUpload: previewMode="cover" — 박스 가득 채우는 풀 이미지 ─── */
4675
- .nexus-image-upload--preview-cover {
4683
+ /* base .nexus-image-upload 와 selector specificity 를 맞추기 위해 .nexus-image-upload
4684
+ 같이 적어 (0,0,2,0) 으로 올린다. 이래야 cascade 순서에 의존하지 않고
4685
+ overflow/padding/border-style 등을 안정적으로 덮어쓸 수 있다. */
4686
+ .nexus-image-upload.nexus-image-upload--preview-cover {
4676
4687
  position: relative;
4677
4688
  display: block;
4678
4689
  padding: 0;
@@ -4680,10 +4691,11 @@
4680
4691
  border-style: solid;
4681
4692
  background: var(--color-surface-strong);
4682
4693
  cursor: pointer;
4683
- /* X 버튼이 모서리 밖으로 살짝 튀어나올 수 있도록 visible. 이미지는 아래 clip wrapper가 라운드 처리. */
4694
+ /* X 버튼이 모서리 밖으로 살짝 튀어나올 수 있도록 visible.
4695
+ 이미지는 자식인 __preview-cover-clip 이 overflow:hidden 으로 라운드 처리. */
4684
4696
  overflow: visible;
4685
4697
  }
4686
- .nexus-image-upload--preview-cover:hover {
4698
+ .nexus-image-upload.nexus-image-upload--preview-cover:hover {
4687
4699
  border-color: var(--color-border-default-hover);
4688
4700
  box-shadow: 0 0 0 0.5px var(--color-border-default-hover);
4689
4701
  }
package/dist/styles.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { built_default } from './chunks/chunk-KT2WKVF7.mjs';
1
+ import { built_default } from './chunks/chunk-JFZLKFFM.mjs';
2
2
 
3
3
  // src/styles/inject.ts
4
4
  var STYLE_ID = "__nexus-ds__";
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Company CSS — Tailwind v4 (@theme + .dark)
3
3
  * 자동 생성: scripts/generate-css.js
4
- * 생성일: 2026-05-07T09:40:03.595Z
4
+ * 생성일: 2026-05-08T05:51:56.227Z
5
5
  *
6
6
  * @theme: Tailwind 유틸리티 클래스 자동 생성
7
7
  * :root: 순수 CSS 변수 (var()로 직접 사용)
@@ -2,7 +2,7 @@
2
2
  * Company CSS — 순수 CSS 변수 (:root + .dark)
3
3
  * Tailwind 없이 var(--*) 로 사용 가능
4
4
  * 자동 생성: scripts/generate-css.js
5
- * 생성일: 2026-05-07T09:40:03.599Z
5
+ * 생성일: 2026-05-08T05:51:56.231Z
6
6
  */
7
7
 
8
8
  :root {
@@ -2,7 +2,7 @@
2
2
  * Prediction Domain CSS — 순수 CSS 변수
3
3
  * Tailwind 없이 var(--*) 로 사용 가능
4
4
  * 자동 생성: scripts/generate-css.js
5
- * 생성일: 2026-05-07T09:40:03.606Z
5
+ * 생성일: 2026-05-08T05:51:56.238Z
6
6
  */
7
7
 
8
8
  :root {
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Prediction Domain CSS — Tailwind v4 (@theme + .prediction)
3
3
  * 자동 생성: scripts/generate-css.js
4
- * 생성일: 2026-05-07T09:40:03.605Z
4
+ * 생성일: 2026-05-08T05:51:56.238Z
5
5
  */
6
6
 
7
7
  @theme {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexus-cross/design-system",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "NEXUS Design System UI Components",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -362,8 +362,8 @@
362
362
  "sonner": "^2.0.7",
363
363
  "vaul": "^1.1.2",
364
364
  "zod": "^3.25.76",
365
- "@nexus-cross/tokens": "2.0.1",
366
- "@nexus-cross/tokens-domains": "2.0.1"
365
+ "@nexus-cross/tokens": "2.0.3",
366
+ "@nexus-cross/tokens-domains": "2.0.3"
367
367
  },
368
368
  "devDependencies": {
369
369
  "@testing-library/jest-dom": "^6.9.1",