@vmscloud/moz-ui-components-core 0.1.61 → 0.1.63

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.
@@ -32,6 +32,12 @@ export declare function splitAria(rest: Record<string, unknown>): {
32
32
  /**
33
33
  * style 값(string | 객체 | undefined)을 lit-html styleMap 이 받는 객체로 정규화.
34
34
  * (프레임워크에서 $attrs.style / style prop 가 문자열/객체 어느 쪽으로 와도 처리)
35
+ *
36
+ * 객체 입력의 숫자 값은 React(react-dom 18.3.1 `dangerousStyleValue`)와 같은 규칙으로 바꾼다.
37
+ * styleMap 은 단위를 붙이지 않아 `top: 6` 이 `top:6` 으로 나가고 브라우저가 버리기 때문이다.
38
+ * - 0 이 아닌 숫자 → `${n}px`
39
+ * - 0 · unitless 속성(`UNITLESS_STYLE_PROPS`) · CSS 커스텀 속성(`--*`) · 숫자가 아닌 값 → 그대로
40
+ * 입력 객체는 바꾸지 않고 새 객체를 돌려준다.
35
41
  */
36
42
  export declare function normalizeStyle(style: unknown): Record<string, string>;
37
43
  /**
@@ -4298,10 +4298,13 @@
4298
4298
  /**
4299
4299
  * Notification 스타일 — 떠 있는 알림 카드·스택 컨테이너·알림 목록 항목 (ITSM-2026-003295).
4300
4300
  *
4301
- * 디자인 참고: APS `Notification.vue`(유형별 좌측 바, 아이콘 + 제목 줄, 들여 쓴 본문)와
4301
+ * 디자인 참고: APS `Notification.vue`(아이콘 + 제목 줄, 들여 쓴 본문)와
4302
4302
  * `NotificationPanel.vue`(제목 + 안 읽음 점, 본문, 시각). 값은 MOZ 토큰으로 옮겼다 — 카드 곡률은
4303
4303
  * `--moz-radius-panel`(소비자가 16px 로 매핑), 색은 전부 `--moz-color-*` 라 다크모드는 소비자 테마를 따른다.
4304
4304
  *
4305
+ * 유형(tone)은 상태 아이콘 색으로만 나타낸다. APS 의 좌측 유형 바는 두지 않는다 — 아이콘과 같은 정보를
4306
+ * 두 번 보여 주고, 16px 곡률에서는 바 끝이 휘어 보였다(ITSM-2026-003335).
4307
+ *
4305
4308
  * 마크업
4306
4309
  * - 스택: `div.moz-notification-stack.moz-notification-stack--<position>[data-position]`
4307
4310
  * - 카드: `div.moz-notification-card[data-tone](.is-selectable)` + `.moz-notification-card-icon` +
@@ -4347,11 +4350,11 @@
4347
4350
  box-sizing: border-box;
4348
4351
  width: 360px;
4349
4352
  max-width: 100%;
4350
- padding: 12px 12px 12px 15px;
4353
+ padding: 12px;
4351
4354
  border: 1px solid var(--moz-color-border-subtle);
4352
4355
  border-radius: var(--moz-radius-panel);
4353
4356
  background-color: var(--moz-color-surface);
4354
- box-shadow: inset 3px 0 0 var(--_notification-solid), 0 8px 24px var(--moz-color-shadow);
4357
+ box-shadow: 0 8px 24px var(--moz-color-shadow);
4355
4358
  color: var(--moz-color-text);
4356
4359
  pointer-events: auto;
4357
4360
  --_notification-solid: var(--moz-color-info);
@@ -73,10 +73,13 @@
73
73
  /**
74
74
  * Notification 스타일 — 떠 있는 알림 카드·스택 컨테이너·알림 목록 항목 (ITSM-2026-003295).
75
75
  *
76
- * 디자인 참고: APS `Notification.vue`(유형별 좌측 바, 아이콘 + 제목 줄, 들여 쓴 본문)와
76
+ * 디자인 참고: APS `Notification.vue`(아이콘 + 제목 줄, 들여 쓴 본문)와
77
77
  * `NotificationPanel.vue`(제목 + 안 읽음 점, 본문, 시각). 값은 MOZ 토큰으로 옮겼다 — 카드 곡률은
78
78
  * `--moz-radius-panel`(소비자가 16px 로 매핑), 색은 전부 `--moz-color-*` 라 다크모드는 소비자 테마를 따른다.
79
79
  *
80
+ * 유형(tone)은 상태 아이콘 색으로만 나타낸다. APS 의 좌측 유형 바는 두지 않는다 — 아이콘과 같은 정보를
81
+ * 두 번 보여 주고, 16px 곡률에서는 바 끝이 휘어 보였다(ITSM-2026-003335).
82
+ *
80
83
  * 마크업
81
84
  * - 스택: `div.moz-notification-stack.moz-notification-stack--<position>[data-position]`
82
85
  * - 카드: `div.moz-notification-card[data-tone](.is-selectable)` + `.moz-notification-card-icon` +
@@ -122,11 +125,11 @@
122
125
  box-sizing: border-box;
123
126
  width: 360px;
124
127
  max-width: 100%;
125
- padding: 12px 12px 12px 15px;
128
+ padding: 12px;
126
129
  border: 1px solid var(--moz-color-border-subtle);
127
130
  border-radius: var(--moz-radius-panel);
128
131
  background-color: var(--moz-color-surface);
129
- box-shadow: inset 3px 0 0 var(--_notification-solid), 0 8px 24px var(--moz-color-shadow);
132
+ box-shadow: 0 8px 24px var(--moz-color-shadow);
130
133
  color: var(--moz-color-text);
131
134
  pointer-events: auto;
132
135
  --_notification-solid: var(--moz-color-info);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vmscloud/moz-ui-components-core",
3
- "version": "0.1.61",
3
+ "version": "0.1.63",
4
4
  "description": "Framework-agnostic headless UI primitives (lit-html) for @vmscloud/moz-ui-components — mount-function factory core. References the moz-ui-grid runtime pattern but has ZERO dependency on any grid package.",
5
5
  "license": "ISC",
6
6
  "type": "module",