@stn-uiux/pub-ui 0.1.90 → 0.1.91

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.
@@ -42,4 +42,4 @@ export {
42
42
  STN_POPOVER_INTRO,
43
43
  STN_POPOVER_USAGE
44
44
  };
45
- //# sourceMappingURL=chunk-FLKGJJD5.js.map
45
+ //# sourceMappingURL=chunk-4CP3DWRG.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/data/stnPopover.ts"],"sourcesContent":["/**\n * StnPopover — Data & Types\n */\n\nexport type StnPopoverHorizontalOrigin = 'left' | 'center' | 'right' | number\nexport type StnPopoverVerticalOrigin = 'top' | 'center' | 'bottom' | number\n\nexport interface StnPopoverOrigin {\n vertical: StnPopoverVerticalOrigin\n horizontal: StnPopoverHorizontalOrigin\n}\n\nexport interface StnPopoverPosition {\n top: number\n left: number\n}\n\n/** 팝오버 앵커/타겟으로부터의 간격 오프셋 규격 (단일 숫자 또는 x, y 분할) */\nexport type StnPopoverOffset = number | { x?: number; y?: number }\n\nexport type StnPopoverReference = 'anchorEl' | 'anchorPosition'\n\nexport const STN_POPOVER_INTRO =\n '특정 엘리먼트(anchorEl) 또는 화면 좌표(anchorPosition)를 기준으로 지정된 위치(anchorOrigin 및 transformOrigin)에 띄우는 STN 표준 플로팅 팝오버 컴포넌트입니다.'\n\nexport const STN_POPOVER_USAGE = `import { useState } from 'react'\nimport { StnButton, StnPopover } from '@stn-uiux/pub-ui-react'\n\nexport function PopoverExample() {\n const [anchorEl, setAnchorEl] = useState<HTMLButtonElement | null>(null)\n\n const handleClick = (event: React.MouseEvent<HTMLButtonElement>) => {\n setAnchorEl(event.currentTarget)\n }\n\n const handleClose = () => {\n setAnchorEl(null)\n }\n\n const open = Boolean(anchorEl)\n\n return (\n <>\n <StnButton onClick={handleClick}>Open Popover</StnButton>\n <StnPopover\n open={open}\n anchorEl={anchorEl}\n onClose={handleClose}\n anchorOrigin={{\n vertical: 'bottom',\n horizontal: 'left',\n }}\n transformOrigin={{\n vertical: 'top',\n horizontal: 'left',\n }}\n >\n <div style={{ padding: 'var(--stn-space-16)' }}>팝오버 콘텐츠</div>\n </StnPopover>\n </>\n )\n}`\n"],"mappings":";AAsBO,IAAM,oBACX;AAEK,IAAM,oBAAoB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;","names":[]}
@@ -0,0 +1,9 @@
1
+ // src/data/stnPackageVersion.ts
2
+ var STN_UI_VERSION = "0.1.91";
3
+ var STN_UI_VERSION_LABEL = "v0.1.91";
4
+
5
+ export {
6
+ STN_UI_VERSION,
7
+ STN_UI_VERSION_LABEL
8
+ };
9
+ //# sourceMappingURL=chunk-FJHANR3C.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/data/stnPackageVersion.ts"],"sourcesContent":["/** Package version constants */\nexport const STN_UI_VERSION = '0.1.91'\nexport const STN_UI_VERSION_LABEL = 'v0.1.91'\n"],"mappings":";AACO,IAAM,iBAAiB;AACvB,IAAM,uBAAuB;","names":[]}
@@ -68,7 +68,7 @@ export { STN_STATUS_DEMO_STEPS, StnStatusDotState, StnStatusFlowStep, StnStatusF
68
68
  export { StnTabIconPosition, StnTabIconSize, StnTabItem, StnTabPanelPadding, StnTabScrollButtons, StnTabsSize, StnTabsVariant } from './stnTabs.js';
69
69
  export { STN_DIVIDER_INTRO, STN_DIVIDER_ORIENTATIONS, STN_DIVIDER_TEXT_ALIGNS, STN_DIVIDER_VARIANTS, StnDividerOrientation, StnDividerTextAlign, StnDividerVariant } from './stnDivider.js';
70
70
  export { STN_STEP_STATUS_SPEC, StnStepItem, StnStepStatus, StnStepperLineThickness, StnStepperOrientation, StnStepperPosition, StnStepperSize } from './stnStepper.js';
71
- export { STN_POPOVER_INTRO, STN_POPOVER_USAGE, StnPopoverHorizontalOrigin, StnPopoverOrigin, StnPopoverPosition, StnPopoverReference, StnPopoverVerticalOrigin } from './stnPopover.js';
71
+ export { STN_POPOVER_INTRO, STN_POPOVER_USAGE, StnPopoverHorizontalOrigin, StnPopoverOffset, StnPopoverOrigin, StnPopoverPosition, StnPopoverReference, StnPopoverVerticalOrigin } from './stnPopover.js';
72
72
  export { STN_STEP_CARDS_INTRO, StnStepCardItem } from './stnStepCards.js';
73
73
  export { STN_SPLIT_VIEW_INTRO, STN_SPLIT_VIEW_OVERLAY_PLACEMENTS, STN_SPLIT_VIEW_PADDINGS, STN_SPLIT_VIEW_SIDE_WIDTHS, StnSplitViewOverlayPlacement, StnSplitViewPadding, StnSplitViewSideWidth } from './stnSplitView.js';
74
74
  export { STN_LIST_INTRO, STN_LIST_SIZES, StnListPadding, StnListSize, StnListSizeSpec, StnListVariant, StnListWidth } from './stnList.js';
@@ -120,7 +120,7 @@ import {
120
120
  import {
121
121
  STN_POPOVER_INTRO,
122
122
  STN_POPOVER_USAGE
123
- } from "../chunk-FLKGJJD5.js";
123
+ } from "../chunk-4CP3DWRG.js";
124
124
  import {
125
125
  STN_PROGRESS_BAR_PLAYGROUND_DEFAULT,
126
126
  STN_PROGRESS_BAR_PLAYGROUND_PROPERTIES,
@@ -190,7 +190,7 @@ import {
190
190
  import {
191
191
  STN_UI_VERSION,
192
192
  STN_UI_VERSION_LABEL
193
- } from "../chunk-RNMI242G.js";
193
+ } from "../chunk-FJHANR3C.js";
194
194
  import {
195
195
  STN_HEADER_TITLE_DEMO,
196
196
  STN_HEADER_TITLE_FIGMA,
@@ -1,5 +1,5 @@
1
1
  /** Package version constants */
2
- declare const STN_UI_VERSION = "0.1.90";
3
- declare const STN_UI_VERSION_LABEL = "v0.1.90";
2
+ declare const STN_UI_VERSION = "0.1.91";
3
+ declare const STN_UI_VERSION_LABEL = "v0.1.91";
4
4
 
5
5
  export { STN_UI_VERSION, STN_UI_VERSION_LABEL };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  STN_UI_VERSION,
3
3
  STN_UI_VERSION_LABEL
4
- } from "../chunk-RNMI242G.js";
4
+ } from "../chunk-FJHANR3C.js";
5
5
  export {
6
6
  STN_UI_VERSION,
7
7
  STN_UI_VERSION_LABEL
@@ -11,8 +11,13 @@ interface StnPopoverPosition {
11
11
  top: number;
12
12
  left: number;
13
13
  }
14
+ /** 팝오버 앵커/타겟으로부터의 간격 오프셋 규격 (단일 숫자 또는 x, y 분할) */
15
+ type StnPopoverOffset = number | {
16
+ x?: number;
17
+ y?: number;
18
+ };
14
19
  type StnPopoverReference = 'anchorEl' | 'anchorPosition';
15
20
  declare const STN_POPOVER_INTRO = "\uD2B9\uC815 \uC5D8\uB9AC\uBA3C\uD2B8(anchorEl) \uB610\uB294 \uD654\uBA74 \uC88C\uD45C(anchorPosition)\uB97C \uAE30\uC900\uC73C\uB85C \uC9C0\uC815\uB41C \uC704\uCE58(anchorOrigin \uBC0F transformOrigin)\uC5D0 \uB744\uC6B0\uB294 STN \uD45C\uC900 \uD50C\uB85C\uD305 \uD31D\uC624\uBC84 \uCEF4\uD3EC\uB10C\uD2B8\uC785\uB2C8\uB2E4.";
16
21
  declare const STN_POPOVER_USAGE = "import { useState } from 'react'\nimport { StnButton, StnPopover } from '@stn-uiux/pub-ui-react'\n\nexport function PopoverExample() {\n const [anchorEl, setAnchorEl] = useState<HTMLButtonElement | null>(null)\n\n const handleClick = (event: React.MouseEvent<HTMLButtonElement>) => {\n setAnchorEl(event.currentTarget)\n }\n\n const handleClose = () => {\n setAnchorEl(null)\n }\n\n const open = Boolean(anchorEl)\n\n return (\n <>\n <StnButton onClick={handleClick}>Open Popover</StnButton>\n <StnPopover\n open={open}\n anchorEl={anchorEl}\n onClose={handleClose}\n anchorOrigin={{\n vertical: 'bottom',\n horizontal: 'left',\n }}\n transformOrigin={{\n vertical: 'top',\n horizontal: 'left',\n }}\n >\n <div style={{ padding: 'var(--stn-space-16)' }}>\uD31D\uC624\uBC84 \uCF58\uD150\uCE20</div>\n </StnPopover>\n </>\n )\n}";
17
22
 
18
- export { STN_POPOVER_INTRO, STN_POPOVER_USAGE, type StnPopoverHorizontalOrigin, type StnPopoverOrigin, type StnPopoverPosition, type StnPopoverReference, type StnPopoverVerticalOrigin };
23
+ export { STN_POPOVER_INTRO, STN_POPOVER_USAGE, type StnPopoverHorizontalOrigin, type StnPopoverOffset, type StnPopoverOrigin, type StnPopoverPosition, type StnPopoverReference, type StnPopoverVerticalOrigin };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  STN_POPOVER_INTRO,
3
3
  STN_POPOVER_USAGE
4
- } from "../chunk-FLKGJJD5.js";
4
+ } from "../chunk-4CP3DWRG.js";
5
5
  export {
6
6
  STN_POPOVER_INTRO,
7
7
  STN_POPOVER_USAGE
package/dist/index.d.ts CHANGED
@@ -68,7 +68,7 @@ export { STN_STATUS_DEMO_STEPS, StnStatusDotState, StnStatusFlowStep, StnStatusF
68
68
  export { StnTabIconPosition, StnTabIconSize, StnTabItem, StnTabPanelPadding, StnTabScrollButtons, StnTabsSize, StnTabsVariant } from './data/stnTabs.js';
69
69
  export { STN_DIVIDER_INTRO, STN_DIVIDER_ORIENTATIONS, STN_DIVIDER_TEXT_ALIGNS, STN_DIVIDER_VARIANTS, StnDividerOrientation, StnDividerTextAlign, StnDividerVariant } from './data/stnDivider.js';
70
70
  export { STN_STEP_STATUS_SPEC, StnStepItem, StnStepStatus, StnStepperLineThickness, StnStepperOrientation, StnStepperPosition, StnStepperSize } from './data/stnStepper.js';
71
- export { STN_POPOVER_INTRO, STN_POPOVER_USAGE, StnPopoverHorizontalOrigin, StnPopoverOrigin, StnPopoverPosition, StnPopoverReference, StnPopoverVerticalOrigin } from './data/stnPopover.js';
71
+ export { STN_POPOVER_INTRO, STN_POPOVER_USAGE, StnPopoverHorizontalOrigin, StnPopoverOffset, StnPopoverOrigin, StnPopoverPosition, StnPopoverReference, StnPopoverVerticalOrigin } from './data/stnPopover.js';
72
72
  export { STN_STEP_CARDS_INTRO, StnStepCardItem } from './data/stnStepCards.js';
73
73
  export { STN_SPLIT_VIEW_INTRO, STN_SPLIT_VIEW_OVERLAY_PLACEMENTS, STN_SPLIT_VIEW_PADDINGS, STN_SPLIT_VIEW_SIDE_WIDTHS, StnSplitViewOverlayPlacement, StnSplitViewPadding, StnSplitViewSideWidth } from './data/stnSplitView.js';
74
74
  export { STN_LIST_INTRO, STN_LIST_SIZES, StnListPadding, StnListSize, StnListSizeSpec, StnListVariant, StnListWidth } from './data/stnList.js';
package/dist/index.js CHANGED
@@ -125,7 +125,7 @@ import {
125
125
  import {
126
126
  STN_POPOVER_INTRO,
127
127
  STN_POPOVER_USAGE
128
- } from "./chunk-FLKGJJD5.js";
128
+ } from "./chunk-4CP3DWRG.js";
129
129
  import {
130
130
  STN_PROGRESS_BAR_PLAYGROUND_DEFAULT,
131
131
  STN_PROGRESS_BAR_PLAYGROUND_PROPERTIES,
@@ -195,7 +195,7 @@ import {
195
195
  import {
196
196
  STN_UI_VERSION,
197
197
  STN_UI_VERSION_LABEL
198
- } from "./chunk-RNMI242G.js";
198
+ } from "./chunk-FJHANR3C.js";
199
199
  import {
200
200
  STN_HEADER_TITLE_DEMO,
201
201
  STN_HEADER_TITLE_FIGMA,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stn-uiux/pub-ui",
3
- "version": "0.1.90",
3
+ "version": "0.1.91",
4
4
  "description": "STN Pub design system — tokens, specs, and CSS for product HTML / React apps",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -99,8 +99,7 @@
99
99
  * Header/Footer keep horizontal inset; body margin gap removed so Side|Stage touch the divider.
100
100
  */
101
101
  .stn-card.pad-none > .stn-card__header {
102
- padding-left: var(--stn-space-16, 16px);
103
- padding-right: var(--stn-space-16, 16px);
102
+ padding: var(--stn-space-8, 8px) var(--stn-space-16, 16px);
104
103
  margin-bottom: 0;
105
104
  }
106
105
 
@@ -172,21 +171,20 @@
172
171
  display: flex;
173
172
  align-items: center;
174
173
  justify-content: space-between;
175
- gap: var(--stn-space-12, 12px);
174
+ flex-wrap: wrap;
175
+ flex-shrink: 0;
176
+ gap: var(--stn-space-8, 8px) var(--stn-space-12, 12px);
176
177
  box-sizing: border-box;
177
178
  /*
178
179
  * 토큰: --stn-card-header-min-height
179
- * height 고정으로 멀티 패널 디바이더 정렬.
180
- * 세로 여백은 height 안 padding이 아니라 margin-bottom(본문 간격)으로만 —
181
- * height + padding-bottom만 있으면(예전) content가 위로 붙고 아래만 비어 보임.
180
+ * 1행일 때는 min-height(40px)로 멀티 패널 디바이더 정렬을 유지하고,
181
+ * 가로 폭이 좁아져 2행 이상 줄바꿈(wrap)될 때는 높이가 내용에 맞춰 유연하게 확장(hug)됩니다.
182
182
  */
183
- height: var(--stn-card-header-min-height, var(--stn-size-40, 40px));
184
183
  min-height: var(--stn-card-header-min-height, var(--stn-size-40, 40px));
185
184
  padding-top: 0;
186
- padding-bottom: 0;
185
+ padding-bottom: var(--stn-space-8, 8px);
187
186
  border-bottom: var(--stn-size-1, 1px) solid var(--stn-card-border-color);
188
187
  margin-bottom: var(--stn-space-12, 12px);
189
- overflow: hidden;
190
188
  }
191
189
 
192
190
  .stn-card__header-title {
@@ -201,6 +199,12 @@
201
199
  text-overflow: ellipsis;
202
200
  }
203
201
 
202
+ .stn-card__header-title:has(.stn-stack) {
203
+ white-space: normal;
204
+ overflow: visible;
205
+ text-overflow: clip;
206
+ }
207
+
204
208
  /* Card title size modifiers */
205
209
  .stn-card__header-title.sm { font-size: var(--stn-text-body-medium-size, var(--stn-font-size-14, 14px)); }
206
210
  .stn-card__header-title.md { font-size: var(--stn-text-title-small-size, var(--stn-font-size-16, 16px)); }
@@ -267,8 +267,8 @@
267
267
  .stn-chip__icon > svg,
268
268
  .stn-chip__icon > img,
269
269
  .stn-chip__icon > .stn-icon {
270
- width: 100% !important;
271
- height: 100% !important;
270
+ width: 100%;
271
+ height: 100%;
272
272
  object-fit: contain;
273
273
  }
274
274
 
@@ -310,12 +310,12 @@
310
310
  }
311
311
 
312
312
  .stn-chip.clickable.outline:hover {
313
- background-color: color-mix(in srgb, var(--stn-chip-color) 12%, transparent);
313
+ background-color: color-mix(in srgb, var(--stn-chip-color) 8%, transparent);
314
314
  filter: none;
315
315
  }
316
316
 
317
317
  .stn-chip.clickable.soft:hover {
318
- background-color: color-mix(in srgb, var(--stn-chip-color) 65%, transparent);
318
+ background-color: color-mix(in srgb, var(--stn-chip-color) 24%, transparent);
319
319
  filter: none;
320
320
  }
321
321
 
@@ -362,15 +362,15 @@
362
362
 
363
363
  .stn-chip__delete:focus-visible {
364
364
  outline: var(--stn-focus-ring-width, var(--stn-size-2)) solid var(--stn-focus-ring);
365
- outline-offset: 1px;
365
+ outline-offset: var(--stn-size-1, 1px);
366
366
  opacity: 1;
367
367
  }
368
368
 
369
369
  .stn-chip__delete > svg,
370
370
  .stn-chip__delete > img,
371
371
  .stn-chip__delete > .stn-icon {
372
- width: 100% !important;
373
- height: 100% !important;
372
+ width: 100%;
373
+ height: 100%;
374
374
  object-fit: contain;
375
375
  }
376
376
 
@@ -7,19 +7,26 @@
7
7
  * - 방향 (right, left, bottom) 지원
8
8
  */
9
9
 
10
+ :root {
11
+ /* STN Drawer 대형 면(Large Surface) 전용 표준 모션 토큰 (400ms - var(--stn-motion-duration-slow)) */
12
+ --stn-drawer-motion-duration: var(--stn-motion-duration-slow, 400ms);
13
+ }
14
+
10
15
  /* ── 1. Drawer Stack Root ── */
11
16
  .stn-drawer-stack {
12
17
  position: fixed;
13
18
  inset: 0;
14
19
  z-index: var(--stn-elevation-z-drawer); /* L1.8 Side Sheet 계층 (z-180, Dropdown 150 초과 / Modal 200 미만) */
15
20
  display: flex;
21
+ overflow: hidden;
16
22
  visibility: hidden;
17
23
  pointer-events: none;
18
- transition: visibility var(--stn-motion-duration-fast, 0.25s) ease;
24
+ transition: visibility var(--stn-drawer-motion-duration) ease;
19
25
  }
20
26
 
21
27
  .stn-drawer-stack.is-open {
22
28
  visibility: visible;
29
+ transition: none;
23
30
  }
24
31
 
25
32
  /* Dim (Backdrop) 모드 */
@@ -35,7 +42,7 @@
35
42
  backdrop-filter: blur(var(--stn-dim-blur));
36
43
  opacity: 0;
37
44
  pointer-events: auto;
38
- transition: opacity var(--stn-motion-duration-fast, 0.25s) ease;
45
+ transition: opacity var(--stn-drawer-motion-duration) var(--stn-motion-ease-standard, ease);
39
46
  }
40
47
 
41
48
  .stn-drawer-stack.is-open .stn-drawer-stack__dim {
@@ -53,10 +60,14 @@
53
60
  border-width: 0;
54
61
  box-shadow: var(--stn-shadow-xl);
55
62
  pointer-events: auto;
56
- transition: transform var(--stn-motion-duration-fast, 0.25s) var(--stn-motion-ease-out, cubic-bezier(0.16, 1, 0.3, 1));
63
+ transition: transform var(--stn-drawer-motion-duration) var(--stn-motion-ease-exit, cubic-bezier(0.4, 0, 1, 1));
57
64
  will-change: transform;
58
65
  }
59
66
 
67
+ .stn-drawer-stack.is-open .stn-drawer {
68
+ transition-timing-function: var(--stn-motion-ease-enter, cubic-bezier(0, 0, 0.2, 1));
69
+ }
70
+
60
71
  /* Drawer Panel Padding Scale (.padding-none, .padding-xs ~ .padding-xl) */
61
72
  .stn-drawer.padding-none { padding: var(--stn-drawer-padding-none); }
62
73
  .stn-drawer.padding-xs { padding: var(--stn-drawer-padding-xs); }
@@ -80,8 +91,8 @@
80
91
  bottom: 0;
81
92
  right: 0;
82
93
  height: 100%;
83
- width: min(var(--stn-drawer-active-width, 480px), 100vw);
84
- border-left-width: 1px;
94
+ width: min(var(--stn-drawer-active-width, var(--stn-size-480, 480px)), 100vw);
95
+ border-left-width: var(--stn-size-1, 1px);
85
96
  transform: translateX(100%);
86
97
  }
87
98
 
@@ -95,8 +106,8 @@
95
106
  bottom: 0;
96
107
  left: 0;
97
108
  height: 100%;
98
- width: min(var(--stn-drawer-active-width, 480px), 100vw);
99
- border-right-width: 1px;
109
+ width: min(var(--stn-drawer-active-width, var(--stn-size-480, 480px)), 100vw);
110
+ border-right-width: var(--stn-size-1, 1px);
100
111
  transform: translateX(-100%);
101
112
  }
102
113
 
@@ -110,8 +121,8 @@
110
121
  right: 0;
111
122
  bottom: 0;
112
123
  width: 100%;
113
- height: min(var(--stn-drawer-active-height, 480px), 100vh);
114
- border-top-width: 1px;
124
+ height: min(var(--stn-drawer-active-height, var(--stn-size-480, 480px)), 100vh);
125
+ border-top-width: var(--stn-size-1, 1px);
115
126
  transform: translateY(100%);
116
127
  }
117
128
 
@@ -120,10 +131,10 @@
120
131
  }
121
132
 
122
133
  /* ── 5. Size Variants (표준 스케일) ── */
123
- .stn-drawer--sm { --stn-drawer-active-width: var(--stn-drawer-width-sm, 360px); --stn-drawer-active-height: var(--stn-drawer-height-sm, 360px); }
124
- .stn-drawer--md { --stn-drawer-active-width: var(--stn-drawer-width-md, 480px); --stn-drawer-active-height: var(--stn-drawer-height-md, 480px); }
125
- .stn-drawer--lg { --stn-drawer-active-width: var(--stn-drawer-width-lg, 640px); --stn-drawer-active-height: var(--stn-drawer-height-lg, 640px); }
126
- .stn-drawer--xl { --stn-drawer-active-width: var(--stn-drawer-width-xl, 800px); --stn-drawer-active-height: var(--stn-drawer-height-xl, 800px); }
134
+ .stn-drawer--sm { --stn-drawer-active-width: var(--stn-drawer-width-sm, var(--stn-size-360, 360px)); --stn-drawer-active-height: var(--stn-drawer-height-sm, var(--stn-size-360, 360px)); }
135
+ .stn-drawer--md { --stn-drawer-active-width: var(--stn-drawer-width-md, var(--stn-size-480, 480px)); --stn-drawer-active-height: var(--stn-drawer-height-md, var(--stn-size-480, 480px)); }
136
+ .stn-drawer--lg { --stn-drawer-active-width: var(--stn-drawer-width-lg, var(--stn-size-640, 640px)); --stn-drawer-active-height: var(--stn-drawer-height-lg, var(--stn-size-640, 640px)); }
137
+ .stn-drawer--xl { --stn-drawer-active-width: var(--stn-drawer-width-xl, var(--stn-size-800, 800px)); --stn-drawer-active-height: var(--stn-drawer-height-xl, var(--stn-size-800, 800px)); }
127
138
  .stn-drawer--full { --stn-drawer-active-width: var(--stn-drawer-width-full, min(96vw, 1920px)); --stn-drawer-active-height: var(--stn-drawer-height-full, min(96vh, 1080px)); }
128
139
 
129
140
  /* ── 6. Header, Body, Footer Subcomponents ── */
@@ -135,6 +146,14 @@
135
146
  background: var(--stn-drawer-bg);
136
147
  }
137
148
 
149
+ /* Drawer Head Padding Scale (.stn-drawer__head.padding-none, .padding-xs ~ .padding-xl) */
150
+ .stn-drawer__head.padding-none { padding: var(--stn-drawer-padding-none); }
151
+ .stn-drawer__head.padding-xs { padding: var(--stn-drawer-padding-xs); }
152
+ .stn-drawer__head.padding-sm { padding: var(--stn-drawer-padding-sm); }
153
+ .stn-drawer__head.padding-md { padding: var(--stn-drawer-padding-md); }
154
+ .stn-drawer__head.padding-lg { padding: var(--stn-drawer-padding-lg); }
155
+ .stn-drawer__head.padding-xl { padding: var(--stn-drawer-padding-xl); }
156
+
138
157
  .stn-drawer__head-title {
139
158
  margin: 0;
140
159
  font-size: var(--stn-text-title-medium-size);
@@ -192,6 +211,14 @@
192
211
  background: var(--stn-elevation-surface-1);
193
212
  }
194
213
 
214
+ /* Drawer Footer Padding Scale (.stn-drawer__footer.padding-none, .padding-xs ~ .padding-xl) */
215
+ .stn-drawer__footer.padding-none { padding: var(--stn-drawer-padding-none); }
216
+ .stn-drawer__footer.padding-xs { padding: var(--stn-drawer-padding-xs); }
217
+ .stn-drawer__footer.padding-sm { padding: var(--stn-drawer-padding-sm); }
218
+ .stn-drawer__footer.padding-md { padding: var(--stn-drawer-padding-md); }
219
+ .stn-drawer__footer.padding-lg { padding: var(--stn-drawer-padding-lg); }
220
+ .stn-drawer__footer.padding-xl { padding: var(--stn-drawer-padding-xl); }
221
+
195
222
  .stn-drawer__footer--right {
196
223
  justify-content: flex-end;
197
224
  }
@@ -66,7 +66,7 @@ td.stn-table__col-check .stn-checkbox {
66
66
  height: 16px;
67
67
  margin: 0;
68
68
  vertical-align: middle;
69
- accent-color: var(--point-color);
69
+ accent-color: var(--stn-primary);
70
70
  }
71
71
 
72
72
  /* 푸터 (페이지네이션·요약) — gap/margin = spacing semantic */
@@ -190,7 +190,7 @@ td.stn-table__col-check .stn-checkbox {
190
190
  .stn-table__grid tr.expand-row>td {
191
191
  padding: 0;
192
192
  background: transparent !important;
193
- border-bottom: 1px solid var(--border);
193
+ border-bottom: var(--stn-size-1, 1px) solid var(--stn-table-border, var(--stn-border-subtle));
194
194
  }
195
195
 
196
196
  .stn-table__grid tr.expand-row>td>div {
@@ -209,7 +209,7 @@ td.stn-table__col-check .stn-checkbox {
209
209
  font-size: var(--stn-text-body-small-size);
210
210
  line-height: var(--stn-text-gnb-alert-list-line-height, 1.4);
211
211
  text-align: center;
212
- border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
212
+ border-bottom: var(--stn-size-1, 1px) solid color-mix(in srgb, var(--stn-table-border, var(--stn-border-subtle)) 60%, transparent);
213
213
  }
214
214
 
215
215
  .stn-table__grid tr.expand-row table thead th {
@@ -489,8 +489,8 @@ td.stn-table__col-check .stn-checkbox {
489
489
  display: flex;
490
490
  align-items: center;
491
491
  justify-content: flex-end;
492
- gap: var(--stn-spacing-xs, 4px);
493
- padding: 0 var(--stn-spacing-md, 16px);
492
+ gap: var(--stn-space-4);
493
+ padding: 0 var(--stn-space-16);
494
494
  background: var(--stn-table-row-hover);
495
495
  opacity: 0;
496
496
  visibility: hidden;
@@ -592,8 +592,8 @@ td.stn-table__col-check .stn-checkbox {
592
592
  }
593
593
 
594
594
  .stn-table__sort:focus-visible {
595
- outline: 2px solid var(--point-color);
596
- outline-offset: 2px;
595
+ outline: var(--stn-focus-ring-width, var(--stn-size-2, 2px)) solid var(--stn-focus-ring);
596
+ outline-offset: var(--stn-focus-ring-offset, var(--stn-size-2, 2px));
597
597
  }
598
598
 
599
599
  th:not(:hover) .stn-table__sort:not(.is-active):not(:focus-visible):not(.is-pressed) .stn-table__th-label-icon,
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/data/stnPopover.ts"],"sourcesContent":["/**\n * StnPopover — Data & Types\n */\n\nexport type StnPopoverHorizontalOrigin = 'left' | 'center' | 'right' | number\nexport type StnPopoverVerticalOrigin = 'top' | 'center' | 'bottom' | number\n\nexport interface StnPopoverOrigin {\n vertical: StnPopoverVerticalOrigin\n horizontal: StnPopoverHorizontalOrigin\n}\n\nexport interface StnPopoverPosition {\n top: number\n left: number\n}\n\nexport type StnPopoverReference = 'anchorEl' | 'anchorPosition'\n\nexport const STN_POPOVER_INTRO =\n '특정 엘리먼트(anchorEl) 또는 화면 좌표(anchorPosition)를 기준으로 지정된 위치(anchorOrigin 및 transformOrigin)에 띄우는 STN 표준 플로팅 팝오버 컴포넌트입니다.'\n\nexport const STN_POPOVER_USAGE = `import { useState } from 'react'\nimport { StnButton, StnPopover } from '@stn-uiux/pub-ui-react'\n\nexport function PopoverExample() {\n const [anchorEl, setAnchorEl] = useState<HTMLButtonElement | null>(null)\n\n const handleClick = (event: React.MouseEvent<HTMLButtonElement>) => {\n setAnchorEl(event.currentTarget)\n }\n\n const handleClose = () => {\n setAnchorEl(null)\n }\n\n const open = Boolean(anchorEl)\n\n return (\n <>\n <StnButton onClick={handleClick}>Open Popover</StnButton>\n <StnPopover\n open={open}\n anchorEl={anchorEl}\n onClose={handleClose}\n anchorOrigin={{\n vertical: 'bottom',\n horizontal: 'left',\n }}\n transformOrigin={{\n vertical: 'top',\n horizontal: 'left',\n }}\n >\n <div style={{ padding: 'var(--stn-space-16)' }}>팝오버 콘텐츠</div>\n </StnPopover>\n </>\n )\n}`\n"],"mappings":";AAmBO,IAAM,oBACX;AAEK,IAAM,oBAAoB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;","names":[]}
@@ -1,9 +0,0 @@
1
- // src/data/stnPackageVersion.ts
2
- var STN_UI_VERSION = "0.1.90";
3
- var STN_UI_VERSION_LABEL = "v0.1.90";
4
-
5
- export {
6
- STN_UI_VERSION,
7
- STN_UI_VERSION_LABEL
8
- };
9
- //# sourceMappingURL=chunk-RNMI242G.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/data/stnPackageVersion.ts"],"sourcesContent":["/** Package version constants */\nexport const STN_UI_VERSION = '0.1.90'\nexport const STN_UI_VERSION_LABEL = 'v0.1.90'\n"],"mappings":";AACO,IAAM,iBAAiB;AACvB,IAAM,uBAAuB;","names":[]}