@t3q-ui/design-system 1.61.1 → 1.61.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.
- package/CHANGELOG.md +16 -0
- package/dist/{chunk-BL6W75OG.cjs → chunk-BTYTVCQG.cjs} +7 -5
- package/dist/chunk-BTYTVCQG.cjs.map +1 -0
- package/dist/{chunk-BGQ5WONC.js → chunk-LBGSVYNB.js} +7 -5
- package/dist/chunk-LBGSVYNB.js.map +1 -0
- package/dist/index.cjs +463 -463
- package/dist/index.css +3 -0
- package/dist/index.css.map +1 -1
- package/dist/index.js +2 -2
- package/dist/patterns/index.cjs +69 -69
- package/dist/patterns/index.css +3 -0
- package/dist/patterns/index.css.map +1 -1
- package/dist/patterns/index.js +1 -1
- package/dist/styles.css +8 -0
- package/package.json +4 -1
- package/dist/chunk-BGQ5WONC.js.map +0 -1
- package/dist/chunk-BL6W75OG.cjs.map +0 -1
package/dist/index.css
CHANGED
|
@@ -124,6 +124,9 @@ tr:last-child > .t3q-pt-cell {
|
|
|
124
124
|
text-overflow: ellipsis;
|
|
125
125
|
white-space: nowrap;
|
|
126
126
|
}
|
|
127
|
+
.ag-grid-container .ag-cell[col-id=ag-Grid-SelectionColumn]:not(.ag-cell-wrap-text) .ag-cell-value:not(.ag-allow-overflow) {
|
|
128
|
+
overflow: visible;
|
|
129
|
+
}
|
|
127
130
|
.ag-grid-container .ag-cell.ag-cell-value:not(:has(> *)):not(.ag-right-aligned-cell):not(.ag-cell-wrap-text) {
|
|
128
131
|
display: block !important;
|
|
129
132
|
align-content: center;
|
package/dist/index.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/parameterTable/parameterTable.css","../src/components/agGridTable/style.css"],"sourcesContent":["/* Parameter Table — Google Sheets 스타일 셀 모드 시각 스타일.\n active/selected/editing 상태는 ParameterTableRow 에서 data-* 속성으로 표시.\n\n 편집 input 은 단일 floating input 으로 root 안에 absolute positioning. 활성 cell\n 위에 띄워서 cell 위치를 따라간다 — IME composition 중 input element 가\n unmount/remount 되지 않으므로 한국어 자모 분리 문제가 발생하지 않는다. */\n\n.t3q-parameter-table {\n width: 100%;\n position: relative; /* floating input absolute 기준점 */\n}\n\n/* 셀 기본. text 선택 차단 + cursor-cell (셀 선택 UX 힌트). */\n.t3q-pt-cell {\n user-select: none;\n position: relative;\n vertical-align: middle;\n border-bottom: 1px solid var(--color-sys-divider-subtle); /* Table 행 선과 같은 토큰 (2026-10-17 이슈 47 4차) */\n}\n\n/* 마지막 행의 선은 Table 의 둥근 바깥 테두리와 겹치지 않게 지운다 */\ntr:last-child > .t3q-pt-cell {\n border-bottom: none;\n}\n\n/* 외부 검증 실패 셀. layout 영향 없이 연한 빨강 배경으로 강조.\n sys-alert-danger-background 와 동일 토큰(danger-o10) — opacity 기반이라 hover/selection\n tint 위에서도 자연스럽게 합성된다. 아래 .t3q-pt-cell--selected / --editing 이 CSS\n cascade 에서 뒤에 정의돼 사용자 인터랙션 중인 셀은 selection/editing 배경이 우선. */\n.t3q-pt-cell--error {\n background-color: var(--color-danger-o10);\n}\n\n/* 선택 범위 안의 셀. 배경에 옅은 primary tint. */\n.t3q-pt-cell--selected {\n background-color: var(--color-sys-table-select);\n}\n\n/* 편집 중 셀. 흰 배경 + 활성 outline. CSS 변수 fallback 안전한 outline 색. */\n.t3q-pt-cell--editing {\n background-color: var(--color-sys-background);\n outline: 2px solid var(--color-sys-focus-ring-bold);\n outline-offset: -2px;\n z-index: 1;\n}\n\n/* 비편집 상태의 셀 display 영역. 셀 안 텍스트 유무와 무관하게 행 높이가 동일하도록\n 고정 height + 명시적 line-height. min-height 가 floor 일 뿐이라 inline content 의\n font line box 가 박스 높이를 미세하게 변경시키는 문제를 차단. */\n.t3q-pt-cell-display {\n height: 28px;\n line-height: 1.4;\n display: flex;\n align-items: center;\n}\n\n/* 편집 중인 셀의 display 영역은 floating input 이 그 위를 덮으므로 visually hidden.\n 레이아웃은 유지해 (text node 그대로 둠) cell 의 line-height/height 측정에 영향 X. */\n.t3q-pt-cell-display--editing {\n visibility: hidden;\n}\n\n/* compact spacing 보정. */\n.t3q-parameter-table--compact .t3q-pt-cell-display {\n height: 24px;\n font-size: 13px;\n}\n\n.t3q-parameter-table--normal .t3q-pt-cell-display {\n height: 32px;\n}\n\n/* disabled. */\n.t3q-parameter-table--disabled .t3q-pt-cell {\n cursor: default;\n}\n\n/* 단일 floating input — 활성 cell 위에 absolute positioning. 비편집 모드에서는\n off-screen 아니라 활성 cell 위에 두지만 opacity:0 + pointer-events:none 으로 숨김.\n focus 는 항상 이 input 에 있어 한국어/일본어/중국어 IME 가 자연스럽게 composition\n 을 받는다. cell 별로 input 을 mount/unmount 하지 않으므로 composition 이\n 끊기지 않는다.\n\n background: transparent — 셀의 outline / background / selected tint 같은 모든 시각\n 단서는 cell 이 표현하고, floating input 은 단지 caret + text + selection 만 그 위에\n 덧그리는 invisible layer 역할. 불투명 background 였을 때는 cell editing 의 outline\n (outline-offset -2px 로 셀 안쪽에 그려짐) 이 가려져 안 보이는 문제가 있었다. */\n.t3q-pt-floating-input {\n position: absolute;\n margin: 0;\n border: 0;\n padding: 6px 12px;\n background: transparent;\n color: var(--color-sys-text-main);\n font: inherit;\n line-height: 1.4;\n outline: none;\n /* default: cell 위치에 두지만 안 보이고 mouse interaction 안 받음 */\n opacity: 0;\n pointer-events: none;\n z-index: 2;\n}\n\n/* compact spacing — cell display 와 동일한 폰트 크기 */\n.t3q-parameter-table--compact .t3q-pt-floating-input {\n font-size: 13px;\n}\n\n/* 편집 모드: 셀 위에 visible. */\n.t3q-pt-floating-input--editing {\n opacity: 1;\n pointer-events: auto;\n}\n",".ag-grid-container {\n width: 100%;\n height: 100%;\n}\n\n/*\n AG Grid legacy base rule `[class*=\"ag-theme-\"]` has higher specificity than\n v33 `:where(.ag-theme-params-*)` rules in some environments.\n Re-apply core table tokens here with stronger specificity.\n*/\n.ag-grid-container [class*='ag-theme-'] {\n --ag-font-family: var(--font-sans);\n --ag-header-background-color: var(--color-sys-table-header-background);\n /* 선 하나의 규칙(2026-10-17 이슈 47 4차): 바깥 둥근 테두리·헤더 아래 선·행 선이 모두 같은 1px sys-divider-subtle.\n 원문 심판이 \"채운 헤더 띠 vs 테두리 없는 행\", \"헤더에만 있는 열 구분선\" 을 감점했고, 사용자가 표를 감싸는 둥근 테두리를 요청 */\n --ag-border-color: var(--color-sys-divider-subtle);\n --ag-wrapper-border: solid 1px var(--color-sys-divider-subtle);\n --ag-wrapper-border-radius: var(--radius-medium);\n --ag-header-row-border: solid 1px var(--color-sys-divider-subtle);\n --ag-row-border: solid 1px var(--color-sys-divider-subtle);\n\n --ag-header-column-border: none;\n --ag-spacing: 8px;\n --ag-cell-horizontal-padding: calc(\n var(--ag-spacing) * 2 * var(--ag-cell-horizontal-padding-scale)\n );\n\n /*\n themeQuartz.withParams()는 CSS var() 레퍼런스를 색상으로 파싱하지 못해 기본값으로 폴백.\n CSS 오버라이드 방식으로 브라우저가 var()를 해석하도록 강제.\n */\n --ag-foreground-color: var(--color-sys-text-normal);\n --ag-background-color: var(--color-sys-background);\n --ag-header-foreground-color: var(--color-sys-table-header-text);\n --ag-row-hover-color: var(--color-sys-table-hover);\n --ag-selected-row-background-color: var(--color-sys-table-select);\n\n /* 헤더 컬럼 resize handle: CSS 변수로 다크모드 대응. 평소엔 숨기고 헤더 셀 hover 때만 보인다(아래) */\n --ag-header-column-resize-handle-color: var(--color-sys-border);\n --ag-header-column-resize-handle-height: 30%;\n --ag-header-column-resize-handle-width: 2px;\n}\n\n/* 둥근 테두리 안에서 헤더 모서리가 잘리도록. 테두리 자체는 --ag-wrapper-border 가 그린다 */\n.ag-grid-container .ag-root-wrapper {\n overflow: hidden;\n}\n\n/* 리사이즈 핸들은 hover 때만 — 늘 보이면 헤더에만 세로선이 있는 것처럼 읽힌다 */\n.ag-grid-container .ag-header-cell-resize::after {\n opacity: 0;\n transition: opacity 120ms ease;\n}\n.ag-grid-container .ag-header-cell:hover .ag-header-cell-resize::after {\n opacity: 1;\n}\n\n/* 마지막 행의 선은 바깥 테두리와 겹쳐 2px 가 되므로 지운다 */\n.ag-grid-container .ag-row.ag-row-last {\n border-bottom: none;\n}\n\n/* ============================================================================\n agGridTable/index.tsx에서 마이그레이션된 스타일\n ============================================================================ */\n\n/* onRowClicked 옵션 사용 시 마우스 커서 변경 */\n.ag-grid-container .ag-row-clickable {\n cursor: pointer;\n}\n\n/* 열 타입 'primary' (AgGridTable columnTypes): 주 식별자 열. 위계는 굵기로(본문 색, dl-ui-v3 목록의 이름 열과 같음),\n 클릭 가능하다는 표시는 행 hover 배경 + 이름 밑줄로. 파란 링크색은 쓰지 않는다 — 행 전체가 눌리는 표에서\n \"이름만 링크\" 로 읽히기 때문 (2026-10-09 결정) */\n.ag-grid-container .ag-cell-primary {\n color: var(--color-sys-text-main);\n font-weight: var(--font-weight-semibold);\n}\n/* hover 밑줄은 이름 글자에만 — 두 줄 셀(TwoLineCellRenderer)에서는 보조 줄까지 밑줄이 번지지 않게 첫 줄([data-slot='cell-primary'])만\n (2026-10-18 13차 ⑥). text-decoration 은 자손에게 전파되어 자손이 끌 수 없으므로 :has 로 대상을 나눈다 */\n.ag-grid-container .ag-row-clickable:hover .ag-cell-primary:not(:has([data-slot='cell-primary'])),\n.ag-grid-container .ag-row-clickable:hover .ag-cell-primary [data-slot='cell-primary'] {\n text-decoration: underline;\n}\n\n/* 셀 말줄임 (2026-10-18 13차): defaultColDef.cellStyle 이 display:flex 라 .ag-cell-value 가 flex 자식이 되고, flex 자식은 min-width:auto 라\n 줄어들지 않아 ag-grid 의 말줄임(overflow:hidden; text-overflow:ellipsis)이 죽는다 — 글자가 셀 끝에서 뚝 잘렸다\n (한 줄 판 12차 목록 9쌍 중 7쌍 \"clipped mid-word with no ellipsis\"). min-width:0 을 주면 줄어들며 말줄임표가 산다.\n wrapText 를 켠 열(.ag-cell-wrap-text)과 ag-allow-overflow 는 건드리지 않는다 */\n.ag-grid-container .ag-cell,\n.ag-grid-container .ag-cell-wrapper,\n.ag-grid-container .ag-cell-value {\n min-width: 0;\n}\n.ag-grid-container .ag-cell:not(.ag-cell-wrap-text) .ag-cell-value:not(.ag-allow-overflow) {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* 평문 셀 말줄임 (2026-10-26 22차): 체크박스·행 끌기 열이 없는 표에서 ag-grid 는 .ag-cell-wrapper 를 만들지 않고 .ag-cell 자체에\n ag-cell-value 를 붙인다(toggleCss(\"ag-cell-value\", !usingWrapper)). valueFormatter 만 쓴 평문 열은 그 안이 글자 노드 하나인데\n defaultColDef.cellStyle 의 인라인 display:flex 가 들어가 글자가 익명 flex 항목이 되고 ellipsis 가 그려지지 않는다 — 위 규칙은 자손\n 선택자라 같은 요소에 닿지 않는다(21차 1-B: 'a100-prod-cluste' 뚝 잘림, 두 줄 판 알림 규칙 목록 2/3 run). 자식 요소가 없는 값 셀만\n block 으로 되돌린다(인라인 스타일을 이기려면 !important). 세로 가운데는 align-content. renderer 가 있는 셀(flex 정렬이 필요)·\n 숫자 열(.ag-right-aligned-cell, justify-content:flex-end 유지)·wrapText 열은 그대로 */\n.ag-grid-container\n .ag-cell.ag-cell-value:not(:has(> *)):not(.ag-right-aligned-cell):not(.ag-cell-wrap-text) {\n display: block !important;\n align-content: center;\n}\n\n/* 열 타입 'number' (AgGridTable columnTypes): 숫자 열. defaultColDef.cellStyle 이 display:flex 라 ag-grid 의 text-align:right 가\n 먹지 않으므로 justify-content 로 오른쪽 정렬. 제목은 글자를 오른쪽, 정렬 아이콘을 왼쪽에(row-reverse). 숫자 폭은 고정(tabular-nums)\n — 원문 심판이 \"숫자 열이 왼쪽 정렬\" 을 51쌍에서 20회 감점 (2026-10-16 이슈 47) */\n.ag-grid-container .ag-cell.ag-right-aligned-cell {\n justify-content: flex-end;\n text-align: right;\n font-variant-numeric: tabular-nums;\n}\n.ag-grid-container .ag-header-cell.ag-right-aligned-header .ag-header-cell-label {\n /* 글자만 오른쪽으로, 정렬 아이콘은 다른 열처럼 글자 뒤. ag-grid 기본 테마가 숫자 열 헤더에 row-reverse 를 걸어 아이콘이 왼쪽으로 가므로\n 명시적으로 되돌린다 (2026-10-17 5차: \"아이콘 자리가 다르다\" 감점) */\n flex-direction: row;\n justify-content: flex-end;\n}\n/* 정렬 아이콘이 늘 보이는 숫자 열(withSortIconOffset): 위 제목은 글자 뒤에 아이콘(간격 --ag-spacing + 아이콘 --ag-icon-size)이 있어 글자가\n 값보다 그만큼 왼쪽에서 끝난다. 값 셀의 오른쪽 여백을 같은 폭만큼 늘려 제목 글자 끝 = 값 끝으로 맞춘다\n (2026-10-30 홀드아웃 17 세트 2: \"right-aligned numeric values under left-aligned column headers\") */\n.ag-grid-container .ag-cell.ag-right-aligned-cell.ag-cell-sort-offset {\n /* ag-grid 셀 여백 식(셀 테두리 1px 를 뺀 값)에 아이콘 폭을 더한다 — 1px 를 빼지 않으면 값이 제목보다 1px 안쪽(2026-10-30 실측) */\n padding-right: calc(\n var(--ag-cell-horizontal-padding) - 1px + var(--ag-spacing) + var(--ag-icon-size)\n );\n}\n\n/* 상세가 열린 행 (ListPage activeRowId → rowClassRules 'ag-row-active'). 선택 행과 같은 색 */\n.ag-grid-container .ag-row.ag-row-active {\n background-color: var(--color-sys-table-select);\n}\n\n/*\n domLayout: 'autoHeight' 일 때 기본 높이 제거 (단, 데이터가 없는 경우 기본 높이 유지)\n https://www.ag-grid.com/react-data-grid/grid-size/#min-height-with-auto-height\n */\n.ag-grid-container[data-is-empty='false'] .ag-center-cols-viewport {\n min-height: unset !important;\n}\n\n/* 헤더는 바깥 둥근 테두리가 모서리를 맡으므로 자체 라운드 없음 */\n.ag-grid-container .ag-header {\n position: relative;\n z-index: 1;\n}\n\n/* 마지막 컬럼 크기 조절 버튼 숨김 */\n.ag-grid-container .ag-column-last .ag-header-cell-resize {\n display: none;\n}\n\n/* cellClass 옵션에 추가 시 cell width 100%으로 적용 */\n.ag-grid-container .width_full .ag-cell-wrapper {\n width: 100%;\n}\n\n.ag-grid-container .width_full .ag-cell-value {\n width: 100%;\n}\n\n.ag-grid-container .width_full.ag-cell {\n width: 100%;\n}\n\n.ag-grid-container .ag-column-first {\n display: flex;\n align-items: center;\n}\n\n/* 체크박스 크기 복원 (v33 Theming API에서 기본으로 작아짐 방지) */\n.ag-checkbox-input-wrapper,\n.ag-radio-button-input-wrapper {\n transform: scale(1.3);\n}\n\n/* focus 시 보여지는 border-color 초기화 */\n.ag-cell-focus:not(.ag-cell-range-selected):focus-within,\n.ag-cell-range-single-cell,\n.ag-cell-range-single-cell.ag-cell-range-handle,\n.ag-context-menu-open .ag-cell-focus:not(.ag-cell-range-selected),\n.ag-full-width-row.ag-row-focus:focus .ag-cell-wrapper.ag-row-group {\n border-color: transparent;\n}\n\n/* AG Grid v33: 마우스 클릭 시 focus-within 없이 ag-cell-focus만 붙는 케이스 대응 */\n.ag-grid-container .ag-cell-focus:not(.ag-cell-range-selected) {\n border-color: transparent !important;\n}\n\n/* 빈 상태 오버레이 지원 */\n.ag-overlay-no-rows-wrapper {\n position: absolute;\n top: 40px;\n height: calc(100% - 40px);\n background-color: var(--color-sys-background);\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.ag-overlay-no-rows-center {\n background-color: var(--color-sys-background);\n color: var(--color-sys-text-subtle);\n}\n\n/* 로딩 오버레이 지원 */\n.ag-overlay-loading-wrapper {\n background-color: var(--color-sys-background);\n}\n\n.ag-overlay-loading-center {\n background-color: var(--color-sys-background);\n color: var(--color-sys-text-normal);\n}\n\n/* 행 클릭 시 눌림 효과 */\n.ag-grid-container .ag-row:active {\n background-color: var(--color-sys-table-press) !important;\n}\n\n/* 선택된 행 hover 상태 */\n.ag-grid-container .ag-row-selected.ag-row-hover {\n background-color: var(--color-sys-table-press);\n}\n\n/* Checkbox Column Fix: Remove padding to allow full cell click area */\n.checkbox-column-cell {\n padding: 0 !important;\n display: flex !important;\n justify-content: center !important;\n align-items: center !important;\n}\n\n.checkbox-column-cell .ag-react-container {\n width: 100%;\n height: 100%;\n}\n\n/* ============================================================================\n 다크모드 AG Grid 오버라이드\n AG Grid 팝업(ag-popup, ag-menu)은 body 포털로 렌더링되므로\n .ag-grid-container 스코프 없이 [data-theme='dark']로만 처리\n ============================================================================ */\n\n/* 팝업 / 메뉴 / 필터 배경 */\n[data-theme='dark'] .ag-popup,\n[data-theme='dark'] .ag-menu,\n[data-theme='dark'] .ag-filter {\n background-color: var(--color-sys-background);\n border: 1px solid var(--color-sys-divider-subtler);\n}\n\n[data-theme='dark'] .ag-filter-toolpanel-header,\n[data-theme='dark'] .ag-filter-air-mode,\n[data-theme='dark'] .ag-filter-list-panel,\n[data-theme='dark'] .ag-filter-apply-panel {\n background-color: var(--color-sys-background);\n}\n\n/* 텍스트 입력창 (Search) */\n[data-theme='dark'] .ag-input-field-input {\n background-color: var(--color-sys-background);\n color: var(--color-sys-text-main);\n border: 1px solid var(--color-sys-divider-main);\n border-radius: 6px;\n height: 36px;\n}\n\n[data-theme='dark'] .ag-input-field-input:focus {\n outline: 2px solid var(--color-sys-focus-ring-bold);\n border-color: var(--color-sys-focus-ring-bold);\n}\n\n[data-theme='dark'] .ag-input-field-input::placeholder {\n color: var(--color-sys-text-subtler);\n}\n\n[data-theme='dark'] .ag-input-wrapper::before,\n[data-theme='dark'] .ag-input-wrapper::after,\n[data-theme='dark'] .ag-picker-field-icon .ag-icon::before,\n[data-theme='dark'] .ag-picker-field-icon .ag-icon::after {\n background-color: var(--color-sys-text-subtle) !important;\n color: var(--color-sys-text-subtle) !important;\n}\n\n[data-theme='dark'] .ag-picker-field-icon {\n background-color: transparent !important;\n color: var(--color-sys-text-subtle) !important;\n}\n\n[data-theme='dark'] .ag-icon {\n color: var(--color-sys-text-subtle) !important;\n}\n\n/* 셀렉트 박스 */\n[data-theme='dark'] .ag-picker-field-wrapper {\n background-color: var(--color-sys-background);\n border: 1px solid var(--color-sys-divider-main);\n border-radius: 6px;\n min-height: 36px;\n}\n\n[data-theme='dark'] .ag-picker-field-display {\n color: var(--color-sys-text-main);\n margin-left: 4px;\n}\n\n[data-theme='dark'] .ag-rich-select-list,\n[data-theme='dark'] .ag-select-list,\n[data-theme='dark'] .ag-picker-field-wrapper .ag-picker-expanded {\n background-color: var(--color-sys-background);\n border: 1px solid var(--color-sys-divider-subtler);\n box-shadow: 0 4px 16px var(--color-grayscale-s30);\n}\n\n[data-theme='dark'] .ag-rich-select-row,\n[data-theme='dark'] .ag-select-list-item {\n color: var(--color-sys-text-normal);\n}\n\n[data-theme='dark'] .ag-rich-select-row.ag-rich-select-row-selected,\n[data-theme='dark'] .ag-select-list-item:hover,\n[data-theme='dark'] .ag-select-list-item.ag-select-list-item-highlighted {\n background-color: var(--color-sys-table-select);\n}\n\n/* 체크박스: 글로우/배경 제거 */\n[data-theme='dark'] .ag-checkbox-input-wrapper {\n background-color: transparent !important;\n box-shadow: none !important;\n transform: scale(1.3);\n}\n\n[data-theme='dark'] .ag-checkbox-input-wrapper::after {\n color: white;\n}\n\n/* 라디오 버튼: Masked Donut 전략 */\n[data-theme='dark'] .ag-radio-button .ag-radio-button-input-wrapper {\n background-color: transparent;\n border: 1.5px solid var(--color-sys-divider-main);\n border-radius: 50%;\n box-sizing: border-box;\n transition: all 0.1s ease;\n background-image: none !important;\n mask-image: none !important;\n}\n\n[data-theme='dark'] .ag-radio-button:not(.ag-checked) .ag-radio-button-input-wrapper {\n border-color: var(--color-sys-divider-main);\n}\n\n[data-theme='dark'] .ag-radio-button:not(.ag-checked) .ag-radio-button-input-wrapper::after {\n content: none;\n}\n\n[data-theme='dark'] .ag-radio-button .ag-radio-button-input-wrapper.ag-checked {\n background-color: var(--color-primary30);\n border-color: var(--color-primary30);\n border-width: 0px;\n background-image: none !important;\n mask-image: none !important;\n}\n\n[data-theme='dark'] .ag-radio-button .ag-radio-button-input-wrapper.ag-checked::after {\n content: '';\n display: block;\n width: 100%;\n height: 100%;\n background-color: var(--color-sys-background) !important;\n border-radius: 50%;\n transform: scale(0.4);\n background-image: none !important;\n mask-image: none !important;\n box-shadow: none !important;\n border: none !important;\n}\n\n/* 체크박스 / 라디오 레이블 */\n[data-theme='dark'] .ag-checkbox-label,\n[data-theme='dark'] .ag-radio-button-label {\n color: var(--color-sys-text-main);\n}\n"],"mappings":";AAOA,CAAC;AACC,SAAO;AACP,YAAU;AACZ;AAGA,CAAC;AACC,eAAa;AACb,YAAU;AACV,kBAAgB;AAChB,iBAAe,IAAI,MAAM,IAAI;AAC/B;AAGA,EAAE,YAAY,EAAE,CARf;AASC,iBAAe;AACjB;AAMA,CAAC;AACC,oBAAkB,IAAI;AACxB;AAGA,CAAC;AACC,oBAAkB,IAAI;AACxB;AAGA,CAAC;AACC,oBAAkB,IAAI;AACtB,WAAS,IAAI,MAAM,IAAI;AACvB,kBAAgB;AAChB,WAAS;AACX;AAKA,CAAC;AACC,UAAQ;AACR,eAAa;AACb,WAAS;AACT,eAAa;AACf;AAIA,CAAC;AACC,cAAY;AACd;AAGA,CAAC,6BAA6B,CAd7B;AAeC,UAAQ;AACR,aAAW;AACb;AAEA,CAAC,4BAA4B,CAnB5B;AAoBC,UAAQ;AACV;AAGA,CAAC,8BAA8B,CA5D9B;AA6DC,UAAQ;AACV;AAYA,CAAC;AACC,YAAU;AACV,UAAQ;AACR,UAAQ;AACR,WAAS,IAAI;AACb,cAAY;AACZ,SAAO,IAAI;AACX,QAAM;AACN,eAAa;AACb,WAAS;AAET,WAAS;AACT,kBAAgB;AAChB,WAAS;AACX;AAGA,CAzCC,6BAyC6B,CAjB7B;AAkBC,aAAW;AACb;AAGA,CAAC;AACC,WAAS;AACT,kBAAgB;AAClB;;;AChHA,CAAC;AACC,SAAO;AACP,UAAQ;AACV;AAOA,CAVC,kBAUkB,CAAC;AAClB,oBAAkB,IAAI;AACtB,gCAA8B,IAAI;AAGlC,qBAAmB,IAAI;AACvB,uBAAqB,MAAM,IAAI,IAAI;AACnC,8BAA4B,IAAI;AAChC,0BAAwB,MAAM,IAAI,IAAI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jMpC,6BAiMkE,CAhBzB,UAgBoC;AAC5E,WAAS;AACT,WAAS;AACT,SAAO;AACP,UAAQ;AACR,oBAAkB,IAAI;AACtB,iBAAe;AACf,aAAW,MAAM;AACjB,oBAAkB;AAClB,cAAY;AACZ,cAAY;AACZ,UAAQ;AACV;AAGA,CAAC,iBAAmB,CAAC;AACrB,CAAC,iBAAmB,CAAC;AACnB,SAAO,IAAI;AACb;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../src/components/parameterTable/parameterTable.css","../src/components/agGridTable/style.css"],"sourcesContent":["/* Parameter Table — Google Sheets 스타일 셀 모드 시각 스타일.\n active/selected/editing 상태는 ParameterTableRow 에서 data-* 속성으로 표시.\n\n 편집 input 은 단일 floating input 으로 root 안에 absolute positioning. 활성 cell\n 위에 띄워서 cell 위치를 따라간다 — IME composition 중 input element 가\n unmount/remount 되지 않으므로 한국어 자모 분리 문제가 발생하지 않는다. */\n\n.t3q-parameter-table {\n width: 100%;\n position: relative; /* floating input absolute 기준점 */\n}\n\n/* 셀 기본. text 선택 차단 + cursor-cell (셀 선택 UX 힌트). */\n.t3q-pt-cell {\n user-select: none;\n position: relative;\n vertical-align: middle;\n border-bottom: 1px solid var(--color-sys-divider-subtle); /* Table 행 선과 같은 토큰 (2026-10-17 이슈 47 4차) */\n}\n\n/* 마지막 행의 선은 Table 의 둥근 바깥 테두리와 겹치지 않게 지운다 */\ntr:last-child > .t3q-pt-cell {\n border-bottom: none;\n}\n\n/* 외부 검증 실패 셀. layout 영향 없이 연한 빨강 배경으로 강조.\n sys-alert-danger-background 와 동일 토큰(danger-o10) — opacity 기반이라 hover/selection\n tint 위에서도 자연스럽게 합성된다. 아래 .t3q-pt-cell--selected / --editing 이 CSS\n cascade 에서 뒤에 정의돼 사용자 인터랙션 중인 셀은 selection/editing 배경이 우선. */\n.t3q-pt-cell--error {\n background-color: var(--color-danger-o10);\n}\n\n/* 선택 범위 안의 셀. 배경에 옅은 primary tint. */\n.t3q-pt-cell--selected {\n background-color: var(--color-sys-table-select);\n}\n\n/* 편집 중 셀. 흰 배경 + 활성 outline. CSS 변수 fallback 안전한 outline 색. */\n.t3q-pt-cell--editing {\n background-color: var(--color-sys-background);\n outline: 2px solid var(--color-sys-focus-ring-bold);\n outline-offset: -2px;\n z-index: 1;\n}\n\n/* 비편집 상태의 셀 display 영역. 셀 안 텍스트 유무와 무관하게 행 높이가 동일하도록\n 고정 height + 명시적 line-height. min-height 가 floor 일 뿐이라 inline content 의\n font line box 가 박스 높이를 미세하게 변경시키는 문제를 차단. */\n.t3q-pt-cell-display {\n height: 28px;\n line-height: 1.4;\n display: flex;\n align-items: center;\n}\n\n/* 편집 중인 셀의 display 영역은 floating input 이 그 위를 덮으므로 visually hidden.\n 레이아웃은 유지해 (text node 그대로 둠) cell 의 line-height/height 측정에 영향 X. */\n.t3q-pt-cell-display--editing {\n visibility: hidden;\n}\n\n/* compact spacing 보정. */\n.t3q-parameter-table--compact .t3q-pt-cell-display {\n height: 24px;\n font-size: 13px;\n}\n\n.t3q-parameter-table--normal .t3q-pt-cell-display {\n height: 32px;\n}\n\n/* disabled. */\n.t3q-parameter-table--disabled .t3q-pt-cell {\n cursor: default;\n}\n\n/* 단일 floating input — 활성 cell 위에 absolute positioning. 비편집 모드에서는\n off-screen 아니라 활성 cell 위에 두지만 opacity:0 + pointer-events:none 으로 숨김.\n focus 는 항상 이 input 에 있어 한국어/일본어/중국어 IME 가 자연스럽게 composition\n 을 받는다. cell 별로 input 을 mount/unmount 하지 않으므로 composition 이\n 끊기지 않는다.\n\n background: transparent — 셀의 outline / background / selected tint 같은 모든 시각\n 단서는 cell 이 표현하고, floating input 은 단지 caret + text + selection 만 그 위에\n 덧그리는 invisible layer 역할. 불투명 background 였을 때는 cell editing 의 outline\n (outline-offset -2px 로 셀 안쪽에 그려짐) 이 가려져 안 보이는 문제가 있었다. */\n.t3q-pt-floating-input {\n position: absolute;\n margin: 0;\n border: 0;\n padding: 6px 12px;\n background: transparent;\n color: var(--color-sys-text-main);\n font: inherit;\n line-height: 1.4;\n outline: none;\n /* default: cell 위치에 두지만 안 보이고 mouse interaction 안 받음 */\n opacity: 0;\n pointer-events: none;\n z-index: 2;\n}\n\n/* compact spacing — cell display 와 동일한 폰트 크기 */\n.t3q-parameter-table--compact .t3q-pt-floating-input {\n font-size: 13px;\n}\n\n/* 편집 모드: 셀 위에 visible. */\n.t3q-pt-floating-input--editing {\n opacity: 1;\n pointer-events: auto;\n}\n",".ag-grid-container {\n width: 100%;\n height: 100%;\n}\n\n/*\n AG Grid legacy base rule `[class*=\"ag-theme-\"]` has higher specificity than\n v33 `:where(.ag-theme-params-*)` rules in some environments.\n Re-apply core table tokens here with stronger specificity.\n*/\n.ag-grid-container [class*='ag-theme-'] {\n --ag-font-family: var(--font-sans);\n --ag-header-background-color: var(--color-sys-table-header-background);\n /* 선 하나의 규칙(2026-10-17 이슈 47 4차): 바깥 둥근 테두리·헤더 아래 선·행 선이 모두 같은 1px sys-divider-subtle.\n 원문 심판이 \"채운 헤더 띠 vs 테두리 없는 행\", \"헤더에만 있는 열 구분선\" 을 감점했고, 사용자가 표를 감싸는 둥근 테두리를 요청 */\n --ag-border-color: var(--color-sys-divider-subtle);\n --ag-wrapper-border: solid 1px var(--color-sys-divider-subtle);\n --ag-wrapper-border-radius: var(--radius-medium);\n --ag-header-row-border: solid 1px var(--color-sys-divider-subtle);\n --ag-row-border: solid 1px var(--color-sys-divider-subtle);\n\n --ag-header-column-border: none;\n --ag-spacing: 8px;\n --ag-cell-horizontal-padding: calc(\n var(--ag-spacing) * 2 * var(--ag-cell-horizontal-padding-scale)\n );\n\n /*\n themeQuartz.withParams()는 CSS var() 레퍼런스를 색상으로 파싱하지 못해 기본값으로 폴백.\n CSS 오버라이드 방식으로 브라우저가 var()를 해석하도록 강제.\n */\n --ag-foreground-color: var(--color-sys-text-normal);\n --ag-background-color: var(--color-sys-background);\n --ag-header-foreground-color: var(--color-sys-table-header-text);\n --ag-row-hover-color: var(--color-sys-table-hover);\n --ag-selected-row-background-color: var(--color-sys-table-select);\n\n /* 헤더 컬럼 resize handle: CSS 변수로 다크모드 대응. 평소엔 숨기고 헤더 셀 hover 때만 보인다(아래) */\n --ag-header-column-resize-handle-color: var(--color-sys-border);\n --ag-header-column-resize-handle-height: 30%;\n --ag-header-column-resize-handle-width: 2px;\n}\n\n/* 둥근 테두리 안에서 헤더 모서리가 잘리도록. 테두리 자체는 --ag-wrapper-border 가 그린다 */\n.ag-grid-container .ag-root-wrapper {\n overflow: hidden;\n}\n\n/* 리사이즈 핸들은 hover 때만 — 늘 보이면 헤더에만 세로선이 있는 것처럼 읽힌다 */\n.ag-grid-container .ag-header-cell-resize::after {\n opacity: 0;\n transition: opacity 120ms ease;\n}\n.ag-grid-container .ag-header-cell:hover .ag-header-cell-resize::after {\n opacity: 1;\n}\n\n/* 마지막 행의 선은 바깥 테두리와 겹쳐 2px 가 되므로 지운다 */\n.ag-grid-container .ag-row.ag-row-last {\n border-bottom: none;\n}\n\n/* ============================================================================\n agGridTable/index.tsx에서 마이그레이션된 스타일\n ============================================================================ */\n\n/* onRowClicked 옵션 사용 시 마우스 커서 변경 */\n.ag-grid-container .ag-row-clickable {\n cursor: pointer;\n}\n\n/* 열 타입 'primary' (AgGridTable columnTypes): 주 식별자 열. 위계는 굵기로(본문 색, dl-ui-v3 목록의 이름 열과 같음),\n 클릭 가능하다는 표시는 행 hover 배경 + 이름 밑줄로. 파란 링크색은 쓰지 않는다 — 행 전체가 눌리는 표에서\n \"이름만 링크\" 로 읽히기 때문 (2026-10-09 결정) */\n.ag-grid-container .ag-cell-primary {\n color: var(--color-sys-text-main);\n font-weight: var(--font-weight-semibold);\n}\n/* hover 밑줄은 이름 글자에만 — 두 줄 셀(TwoLineCellRenderer)에서는 보조 줄까지 밑줄이 번지지 않게 첫 줄([data-slot='cell-primary'])만\n (2026-10-18 13차 ⑥). text-decoration 은 자손에게 전파되어 자손이 끌 수 없으므로 :has 로 대상을 나눈다 */\n.ag-grid-container .ag-row-clickable:hover .ag-cell-primary:not(:has([data-slot='cell-primary'])),\n.ag-grid-container .ag-row-clickable:hover .ag-cell-primary [data-slot='cell-primary'] {\n text-decoration: underline;\n}\n\n/* 셀 말줄임 (2026-10-18 13차): defaultColDef.cellStyle 이 display:flex 라 .ag-cell-value 가 flex 자식이 되고, flex 자식은 min-width:auto 라\n 줄어들지 않아 ag-grid 의 말줄임(overflow:hidden; text-overflow:ellipsis)이 죽는다 — 글자가 셀 끝에서 뚝 잘렸다\n (한 줄 판 12차 목록 9쌍 중 7쌍 \"clipped mid-word with no ellipsis\"). min-width:0 을 주면 줄어들며 말줄임표가 산다.\n wrapText 를 켠 열(.ag-cell-wrap-text)과 ag-allow-overflow 는 건드리지 않는다 */\n.ag-grid-container .ag-cell,\n.ag-grid-container .ag-cell-wrapper,\n.ag-grid-container .ag-cell-value {\n min-width: 0;\n}\n.ag-grid-container .ag-cell:not(.ag-cell-wrap-text) .ag-cell-value:not(.ag-allow-overflow) {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n/* 선택 열(체크박스·라디오)은 글자가 아니라 컨트롤이라 말줄임의 overflow:hidden 에서 뺀다 (2026-11-11). 폭 42 선택 열은 위 min-width:0 으로\n 값 칸이 10px 가 되어 16px 컨트롤과 포커스 링(22px)이 잘렸다. ag-grid 36 도 체크박스 렌더러 값 칸엔 ag-allow-overflow 를 붙인다.\n 위 선택자에 선택 열 속성을 더해 명시도로 이긴다 */\n.ag-grid-container\n .ag-cell[col-id='ag-Grid-SelectionColumn']:not(.ag-cell-wrap-text)\n .ag-cell-value:not(.ag-allow-overflow) {\n overflow: visible;\n}\n\n/* 평문 셀 말줄임 (2026-10-26 22차): 체크박스·행 끌기 열이 없는 표에서 ag-grid 는 .ag-cell-wrapper 를 만들지 않고 .ag-cell 자체에\n ag-cell-value 를 붙인다(toggleCss(\"ag-cell-value\", !usingWrapper)). valueFormatter 만 쓴 평문 열은 그 안이 글자 노드 하나인데\n defaultColDef.cellStyle 의 인라인 display:flex 가 들어가 글자가 익명 flex 항목이 되고 ellipsis 가 그려지지 않는다 — 위 규칙은 자손\n 선택자라 같은 요소에 닿지 않는다(21차 1-B: 'a100-prod-cluste' 뚝 잘림, 두 줄 판 알림 규칙 목록 2/3 run). 자식 요소가 없는 값 셀만\n block 으로 되돌린다(인라인 스타일을 이기려면 !important). 세로 가운데는 align-content. renderer 가 있는 셀(flex 정렬이 필요)·\n 숫자 열(.ag-right-aligned-cell, justify-content:flex-end 유지)·wrapText 열은 그대로 */\n.ag-grid-container\n .ag-cell.ag-cell-value:not(:has(> *)):not(.ag-right-aligned-cell):not(.ag-cell-wrap-text) {\n display: block !important;\n align-content: center;\n}\n\n/* 열 타입 'number' (AgGridTable columnTypes): 숫자 열. defaultColDef.cellStyle 이 display:flex 라 ag-grid 의 text-align:right 가\n 먹지 않으므로 justify-content 로 오른쪽 정렬. 제목은 글자를 오른쪽, 정렬 아이콘을 왼쪽에(row-reverse). 숫자 폭은 고정(tabular-nums)\n — 원문 심판이 \"숫자 열이 왼쪽 정렬\" 을 51쌍에서 20회 감점 (2026-10-16 이슈 47) */\n.ag-grid-container .ag-cell.ag-right-aligned-cell {\n justify-content: flex-end;\n text-align: right;\n font-variant-numeric: tabular-nums;\n}\n.ag-grid-container .ag-header-cell.ag-right-aligned-header .ag-header-cell-label {\n /* 글자만 오른쪽으로, 정렬 아이콘은 다른 열처럼 글자 뒤. ag-grid 기본 테마가 숫자 열 헤더에 row-reverse 를 걸어 아이콘이 왼쪽으로 가므로\n 명시적으로 되돌린다 (2026-10-17 5차: \"아이콘 자리가 다르다\" 감점) */\n flex-direction: row;\n justify-content: flex-end;\n}\n/* 정렬 아이콘이 늘 보이는 숫자 열(withSortIconOffset): 위 제목은 글자 뒤에 아이콘(간격 --ag-spacing + 아이콘 --ag-icon-size)이 있어 글자가\n 값보다 그만큼 왼쪽에서 끝난다. 값 셀의 오른쪽 여백을 같은 폭만큼 늘려 제목 글자 끝 = 값 끝으로 맞춘다\n (2026-10-30 홀드아웃 17 세트 2: \"right-aligned numeric values under left-aligned column headers\") */\n.ag-grid-container .ag-cell.ag-right-aligned-cell.ag-cell-sort-offset {\n /* ag-grid 셀 여백 식(셀 테두리 1px 를 뺀 값)에 아이콘 폭을 더한다 — 1px 를 빼지 않으면 값이 제목보다 1px 안쪽(2026-10-30 실측) */\n padding-right: calc(\n var(--ag-cell-horizontal-padding) - 1px + var(--ag-spacing) + var(--ag-icon-size)\n );\n}\n\n/* 상세가 열린 행 (ListPage activeRowId → rowClassRules 'ag-row-active'). 선택 행과 같은 색 */\n.ag-grid-container .ag-row.ag-row-active {\n background-color: var(--color-sys-table-select);\n}\n\n/*\n domLayout: 'autoHeight' 일 때 기본 높이 제거 (단, 데이터가 없는 경우 기본 높이 유지)\n https://www.ag-grid.com/react-data-grid/grid-size/#min-height-with-auto-height\n */\n.ag-grid-container[data-is-empty='false'] .ag-center-cols-viewport {\n min-height: unset !important;\n}\n\n/* 헤더는 바깥 둥근 테두리가 모서리를 맡으므로 자체 라운드 없음 */\n.ag-grid-container .ag-header {\n position: relative;\n z-index: 1;\n}\n\n/* 마지막 컬럼 크기 조절 버튼 숨김 */\n.ag-grid-container .ag-column-last .ag-header-cell-resize {\n display: none;\n}\n\n/* cellClass 옵션에 추가 시 cell width 100%으로 적용 */\n.ag-grid-container .width_full .ag-cell-wrapper {\n width: 100%;\n}\n\n.ag-grid-container .width_full .ag-cell-value {\n width: 100%;\n}\n\n.ag-grid-container .width_full.ag-cell {\n width: 100%;\n}\n\n.ag-grid-container .ag-column-first {\n display: flex;\n align-items: center;\n}\n\n/* 체크박스 크기 복원 (v33 Theming API에서 기본으로 작아짐 방지) */\n.ag-checkbox-input-wrapper,\n.ag-radio-button-input-wrapper {\n transform: scale(1.3);\n}\n\n/* focus 시 보여지는 border-color 초기화 */\n.ag-cell-focus:not(.ag-cell-range-selected):focus-within,\n.ag-cell-range-single-cell,\n.ag-cell-range-single-cell.ag-cell-range-handle,\n.ag-context-menu-open .ag-cell-focus:not(.ag-cell-range-selected),\n.ag-full-width-row.ag-row-focus:focus .ag-cell-wrapper.ag-row-group {\n border-color: transparent;\n}\n\n/* AG Grid v33: 마우스 클릭 시 focus-within 없이 ag-cell-focus만 붙는 케이스 대응 */\n.ag-grid-container .ag-cell-focus:not(.ag-cell-range-selected) {\n border-color: transparent !important;\n}\n\n/* 빈 상태 오버레이 지원 */\n.ag-overlay-no-rows-wrapper {\n position: absolute;\n top: 40px;\n height: calc(100% - 40px);\n background-color: var(--color-sys-background);\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.ag-overlay-no-rows-center {\n background-color: var(--color-sys-background);\n color: var(--color-sys-text-subtle);\n}\n\n/* 로딩 오버레이 지원 */\n.ag-overlay-loading-wrapper {\n background-color: var(--color-sys-background);\n}\n\n.ag-overlay-loading-center {\n background-color: var(--color-sys-background);\n color: var(--color-sys-text-normal);\n}\n\n/* 행 클릭 시 눌림 효과 */\n.ag-grid-container .ag-row:active {\n background-color: var(--color-sys-table-press) !important;\n}\n\n/* 선택된 행 hover 상태 */\n.ag-grid-container .ag-row-selected.ag-row-hover {\n background-color: var(--color-sys-table-press);\n}\n\n/* Checkbox Column Fix: Remove padding to allow full cell click area */\n.checkbox-column-cell {\n padding: 0 !important;\n display: flex !important;\n justify-content: center !important;\n align-items: center !important;\n}\n\n.checkbox-column-cell .ag-react-container {\n width: 100%;\n height: 100%;\n}\n\n/* ============================================================================\n 다크모드 AG Grid 오버라이드\n AG Grid 팝업(ag-popup, ag-menu)은 body 포털로 렌더링되므로\n .ag-grid-container 스코프 없이 [data-theme='dark']로만 처리\n ============================================================================ */\n\n/* 팝업 / 메뉴 / 필터 배경 */\n[data-theme='dark'] .ag-popup,\n[data-theme='dark'] .ag-menu,\n[data-theme='dark'] .ag-filter {\n background-color: var(--color-sys-background);\n border: 1px solid var(--color-sys-divider-subtler);\n}\n\n[data-theme='dark'] .ag-filter-toolpanel-header,\n[data-theme='dark'] .ag-filter-air-mode,\n[data-theme='dark'] .ag-filter-list-panel,\n[data-theme='dark'] .ag-filter-apply-panel {\n background-color: var(--color-sys-background);\n}\n\n/* 텍스트 입력창 (Search) */\n[data-theme='dark'] .ag-input-field-input {\n background-color: var(--color-sys-background);\n color: var(--color-sys-text-main);\n border: 1px solid var(--color-sys-divider-main);\n border-radius: 6px;\n height: 36px;\n}\n\n[data-theme='dark'] .ag-input-field-input:focus {\n outline: 2px solid var(--color-sys-focus-ring-bold);\n border-color: var(--color-sys-focus-ring-bold);\n}\n\n[data-theme='dark'] .ag-input-field-input::placeholder {\n color: var(--color-sys-text-subtler);\n}\n\n[data-theme='dark'] .ag-input-wrapper::before,\n[data-theme='dark'] .ag-input-wrapper::after,\n[data-theme='dark'] .ag-picker-field-icon .ag-icon::before,\n[data-theme='dark'] .ag-picker-field-icon .ag-icon::after {\n background-color: var(--color-sys-text-subtle) !important;\n color: var(--color-sys-text-subtle) !important;\n}\n\n[data-theme='dark'] .ag-picker-field-icon {\n background-color: transparent !important;\n color: var(--color-sys-text-subtle) !important;\n}\n\n[data-theme='dark'] .ag-icon {\n color: var(--color-sys-text-subtle) !important;\n}\n\n/* 셀렉트 박스 */\n[data-theme='dark'] .ag-picker-field-wrapper {\n background-color: var(--color-sys-background);\n border: 1px solid var(--color-sys-divider-main);\n border-radius: 6px;\n min-height: 36px;\n}\n\n[data-theme='dark'] .ag-picker-field-display {\n color: var(--color-sys-text-main);\n margin-left: 4px;\n}\n\n[data-theme='dark'] .ag-rich-select-list,\n[data-theme='dark'] .ag-select-list,\n[data-theme='dark'] .ag-picker-field-wrapper .ag-picker-expanded {\n background-color: var(--color-sys-background);\n border: 1px solid var(--color-sys-divider-subtler);\n box-shadow: 0 4px 16px var(--color-grayscale-s30);\n}\n\n[data-theme='dark'] .ag-rich-select-row,\n[data-theme='dark'] .ag-select-list-item {\n color: var(--color-sys-text-normal);\n}\n\n[data-theme='dark'] .ag-rich-select-row.ag-rich-select-row-selected,\n[data-theme='dark'] .ag-select-list-item:hover,\n[data-theme='dark'] .ag-select-list-item.ag-select-list-item-highlighted {\n background-color: var(--color-sys-table-select);\n}\n\n/* 체크박스: 글로우/배경 제거 */\n[data-theme='dark'] .ag-checkbox-input-wrapper {\n background-color: transparent !important;\n box-shadow: none !important;\n transform: scale(1.3);\n}\n\n[data-theme='dark'] .ag-checkbox-input-wrapper::after {\n color: white;\n}\n\n/* 라디오 버튼: Masked Donut 전략 */\n[data-theme='dark'] .ag-radio-button .ag-radio-button-input-wrapper {\n background-color: transparent;\n border: 1.5px solid var(--color-sys-divider-main);\n border-radius: 50%;\n box-sizing: border-box;\n transition: all 0.1s ease;\n background-image: none !important;\n mask-image: none !important;\n}\n\n[data-theme='dark'] .ag-radio-button:not(.ag-checked) .ag-radio-button-input-wrapper {\n border-color: var(--color-sys-divider-main);\n}\n\n[data-theme='dark'] .ag-radio-button:not(.ag-checked) .ag-radio-button-input-wrapper::after {\n content: none;\n}\n\n[data-theme='dark'] .ag-radio-button .ag-radio-button-input-wrapper.ag-checked {\n background-color: var(--color-primary30);\n border-color: var(--color-primary30);\n border-width: 0px;\n background-image: none !important;\n mask-image: none !important;\n}\n\n[data-theme='dark'] .ag-radio-button .ag-radio-button-input-wrapper.ag-checked::after {\n content: '';\n display: block;\n width: 100%;\n height: 100%;\n background-color: var(--color-sys-background) !important;\n border-radius: 50%;\n transform: scale(0.4);\n background-image: none !important;\n mask-image: none !important;\n box-shadow: none !important;\n border: none !important;\n}\n\n/* 체크박스 / 라디오 레이블 */\n[data-theme='dark'] .ag-checkbox-label,\n[data-theme='dark'] .ag-radio-button-label {\n color: var(--color-sys-text-main);\n}\n"],"mappings":";AAOA,CAAC;AACC,SAAO;AACP,YAAU;AACZ;AAGA,CAAC;AACC,eAAa;AACb,YAAU;AACV,kBAAgB;AAChB,iBAAe,IAAI,MAAM,IAAI;AAC/B;AAGA,EAAE,YAAY,EAAE,CARf;AASC,iBAAe;AACjB;AAMA,CAAC;AACC,oBAAkB,IAAI;AACxB;AAGA,CAA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.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { cn, useRestoreFocusToOpener, Stack, sanitizeUserText, Button, TooltipProvider, Tooltip, TooltipTrigger, TooltipContent, Checkbox, useFormControlContext, Table, TableHeader, TableRow, TableHead, TableBody, Spinner, IconButton, Separator, LucideIcon, TableCell, Dialog, DialogContent, DialogTitle, Badge } from './chunk-
|
|
2
|
-
export { AG_GRID_LOCALE_KR, AgGridContext, AgGridTable, Alert, AlertActions, AlertDescription, AlertTitle, BADGE_OUTLINE_ACCENT, BALANCED_FILL_MIN_WIDTH, Badge, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardThumbnail, CardTitle, Checkbox, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuPortal, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyBoxIllustration, Form, FormControl, FormDescription, FormField, FormFooter, FormHeader, FormItem, FormLabel, FormMessage, FormSection, FormSectionLevelContext, FormValidMessage, HeaderCheckboxRenderer, IconButton, LucideIcon, NUMBER_COLUMN_CLASS, NUMBER_COLUMN_WIDTH, PageHeader, PageHeaderProvider, Pagination, PaginationContent, PaginationFirst, PaginationItem, PaginationLast, PaginationLink, PaginationNext, PaginationPrevious, PaginationWrapper, Panel, RowCheckboxRenderer, SORT_ICON_OFFSET_CLASS, Separator, Skeleton, SortIcon, Spinner, Stack, Table, TableBody, TableCell, TableHead, TableHeader, TablePagination, TableRow, TableSkeleton, Tabs, TabsContent, TabsList, TabsTrigger, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TwoLineCellRenderer, alignFromClassName, badgeVariants, buttonVariants, cn, estimateHeaderTextWidth, fitColumnsToContent, getPaginationRange, getSortedColumnState, growColumnIds, sanitizeUserText, useFormControlContext, useFormField, usePageHeader, withBalancedFill, withExplicitSortIcons, withFlexFill, withHeaderMinWidth, withNumberColumnWidth, withSortIconOffset, withTypeClasses, withWidthFloor } from './chunk-
|
|
1
|
+
import { cn, useRestoreFocusToOpener, Stack, sanitizeUserText, Button, TooltipProvider, Tooltip, TooltipTrigger, TooltipContent, Checkbox, useFormControlContext, Table, TableHeader, TableRow, TableHead, TableBody, Spinner, IconButton, Separator, LucideIcon, TableCell, Dialog, DialogContent, DialogTitle, Badge } from './chunk-LBGSVYNB.js';
|
|
2
|
+
export { AG_GRID_LOCALE_KR, AgGridContext, AgGridTable, Alert, AlertActions, AlertDescription, AlertTitle, BADGE_OUTLINE_ACCENT, BALANCED_FILL_MIN_WIDTH, Badge, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardThumbnail, CardTitle, Checkbox, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuPortal, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyBoxIllustration, Form, FormControl, FormDescription, FormField, FormFooter, FormHeader, FormItem, FormLabel, FormMessage, FormSection, FormSectionLevelContext, FormValidMessage, HeaderCheckboxRenderer, IconButton, LucideIcon, NUMBER_COLUMN_CLASS, NUMBER_COLUMN_WIDTH, PageHeader, PageHeaderProvider, Pagination, PaginationContent, PaginationFirst, PaginationItem, PaginationLast, PaginationLink, PaginationNext, PaginationPrevious, PaginationWrapper, Panel, RowCheckboxRenderer, SORT_ICON_OFFSET_CLASS, Separator, Skeleton, SortIcon, Spinner, Stack, Table, TableBody, TableCell, TableHead, TableHeader, TablePagination, TableRow, TableSkeleton, Tabs, TabsContent, TabsList, TabsTrigger, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TwoLineCellRenderer, alignFromClassName, badgeVariants, buttonVariants, cn, estimateHeaderTextWidth, fitColumnsToContent, getPaginationRange, getSortedColumnState, growColumnIds, sanitizeUserText, useFormControlContext, useFormField, usePageHeader, withBalancedFill, withExplicitSortIcons, withFlexFill, withHeaderMinWidth, withNumberColumnWidth, withSortIconOffset, withTypeClasses, withWidthFloor } from './chunk-LBGSVYNB.js';
|
|
3
3
|
import * as React17 from 'react';
|
|
4
4
|
import React17__default, { forwardRef, useMemo, useState, useEffect, useCallback, useRef } from 'react';
|
|
5
5
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
package/dist/patterns/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkBTYTVCQG_cjs = require('../chunk-BTYTVCQG.cjs');
|
|
4
4
|
var react = require('react');
|
|
5
5
|
var lucideReact = require('lucide-react');
|
|
6
6
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -21,7 +21,7 @@ function withSecondaryLine(columns, primaryField, secondaryField) {
|
|
|
21
21
|
return columns.map(
|
|
22
22
|
(c) => c.field === primaryField && c.cellRenderer == null ? {
|
|
23
23
|
...c,
|
|
24
|
-
cellRenderer:
|
|
24
|
+
cellRenderer: chunkBTYTVCQG_cjs.TwoLineCellRenderer,
|
|
25
25
|
cellRendererParams: { ...c.cellRendererParams, secondaryField }
|
|
26
26
|
} : c
|
|
27
27
|
);
|
|
@@ -47,10 +47,10 @@ function LoadingState({ className, lines = 3 }) {
|
|
|
47
47
|
{
|
|
48
48
|
role: "status",
|
|
49
49
|
"aria-label": "\uBD88\uB7EC\uC624\uB294 \uC911",
|
|
50
|
-
className:
|
|
50
|
+
className: chunkBTYTVCQG_cjs.cn("flex flex-col gap-[12px]", className),
|
|
51
51
|
children: [
|
|
52
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
53
|
-
Array.from({ length: lines }, (_, i) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
52
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkBTYTVCQG_cjs.Skeleton, { className: "h-[24px] w-[240px]" }),
|
|
53
|
+
Array.from({ length: lines }, (_, i) => /* @__PURE__ */ jsxRuntime.jsx(chunkBTYTVCQG_cjs.Skeleton, { className: chunkBTYTVCQG_cjs.cn("h-[16px]", i % 2 ? "w-3/5" : "w-full") }, i))
|
|
54
54
|
]
|
|
55
55
|
}
|
|
56
56
|
);
|
|
@@ -68,12 +68,12 @@ function StateBox({
|
|
|
68
68
|
"div",
|
|
69
69
|
{
|
|
70
70
|
role,
|
|
71
|
-
className:
|
|
71
|
+
className: chunkBTYTVCQG_cjs.cn(
|
|
72
72
|
"flex flex-col items-center justify-center gap-[4px] text-center text-sys-text-subtler",
|
|
73
73
|
className
|
|
74
74
|
),
|
|
75
75
|
children: [
|
|
76
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { "aria-hidden": true, className:
|
|
76
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { "aria-hidden": true, className: chunkBTYTVCQG_cjs.cn("mb-[4px] flex text-sys-text-subtler", iconClassName), children: icon }),
|
|
77
77
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-h5 text-sys-text-main", children: title }),
|
|
78
78
|
description ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "break-keep text-base-regular text-sys-text-subtle wrap-break-word", children: description }) : null,
|
|
79
79
|
action ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-auto mt-[12px] flex gap-[8px]", children: action }) : null
|
|
@@ -94,7 +94,7 @@ function EmptyState({
|
|
|
94
94
|
{
|
|
95
95
|
role: "status",
|
|
96
96
|
className,
|
|
97
|
-
icon: icon ?? /* @__PURE__ */ jsxRuntime.jsx(
|
|
97
|
+
icon: icon ?? /* @__PURE__ */ jsxRuntime.jsx(chunkBTYTVCQG_cjs.EmptyBoxIllustration, {}),
|
|
98
98
|
title: title ?? children,
|
|
99
99
|
description,
|
|
100
100
|
action
|
|
@@ -113,11 +113,11 @@ function ErrorState({
|
|
|
113
113
|
{
|
|
114
114
|
role: "alert",
|
|
115
115
|
className,
|
|
116
|
-
icon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
116
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(chunkBTYTVCQG_cjs.LucideIcon, { iconComponentName: "CircleAlert", size: 36 }),
|
|
117
117
|
iconClassName: "text-danger30",
|
|
118
118
|
title,
|
|
119
119
|
description,
|
|
120
|
-
action: onRetry ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
120
|
+
action: onRetry ? /* @__PURE__ */ jsxRuntime.jsx(chunkBTYTVCQG_cjs.Button, { type: "button", variant: "primary", onClick: onRetry, children: retryLabel }) : null
|
|
121
121
|
}
|
|
122
122
|
);
|
|
123
123
|
}
|
|
@@ -174,12 +174,12 @@ function ListPage({
|
|
|
174
174
|
return () => document.removeEventListener("keydown", onKey);
|
|
175
175
|
}, [detailOpen]);
|
|
176
176
|
const resetButton = onResetFilters ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
177
|
-
|
|
177
|
+
chunkBTYTVCQG_cjs.Button,
|
|
178
178
|
{
|
|
179
179
|
type: "button",
|
|
180
180
|
variant: "secondaryOutline",
|
|
181
181
|
onClick: onResetFilters,
|
|
182
|
-
className:
|
|
182
|
+
className: chunkBTYTVCQG_cjs.cn(filtersActive === false && "invisible"),
|
|
183
183
|
"aria-hidden": filtersActive === false || void 0,
|
|
184
184
|
children: [
|
|
185
185
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.RotateCcw, { size: 16, "aria-hidden": true }),
|
|
@@ -203,7 +203,7 @@ function ListPage({
|
|
|
203
203
|
const quick = quickFilter ? /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex items-center gap-[8px]", children: [
|
|
204
204
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-small-regular font-medium text-sys-text-subtle", children: quickFilter.label }),
|
|
205
205
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
206
|
-
|
|
206
|
+
chunkBTYTVCQG_cjs.ToggleGroup,
|
|
207
207
|
{
|
|
208
208
|
type: "multiple",
|
|
209
209
|
variant: "outline",
|
|
@@ -215,9 +215,9 @@ function ListPage({
|
|
|
215
215
|
quickFilter.onChange(pressedAll ? [] : next.filter((v) => v !== QUICK_ALL));
|
|
216
216
|
},
|
|
217
217
|
children: [
|
|
218
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
218
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkBTYTVCQG_cjs.ToggleGroupItem, { value: QUICK_ALL, count: quickAllCount, countVariant: "primary", children: "\uC804\uCCB4" }),
|
|
219
219
|
quickFilter.options.map((o) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
220
|
-
|
|
220
|
+
chunkBTYTVCQG_cjs.ToggleGroupItem,
|
|
221
221
|
{
|
|
222
222
|
value: o.value,
|
|
223
223
|
count: o.count,
|
|
@@ -258,7 +258,7 @@ function ListPage({
|
|
|
258
258
|
className: "pt-[32px] pb-[16px]",
|
|
259
259
|
title: content.title,
|
|
260
260
|
description: content.description ?? content.children,
|
|
261
|
-
action: withReset && content.children == null ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
261
|
+
action: withReset && content.children == null ? /* @__PURE__ */ jsxRuntime.jsx(chunkBTYTVCQG_cjs.Button, { type: "button", variant: "secondaryLink", onClick: () => resetRef.current?.(), children: "\uD544\uD130 \uCD08\uAE30\uD654" }) : null
|
|
262
262
|
}
|
|
263
263
|
);
|
|
264
264
|
},
|
|
@@ -270,7 +270,7 @@ function ListPage({
|
|
|
270
270
|
);
|
|
271
271
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "w-full", children: [
|
|
272
272
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
273
|
-
|
|
273
|
+
chunkBTYTVCQG_cjs.PageHeader,
|
|
274
274
|
{
|
|
275
275
|
title,
|
|
276
276
|
description,
|
|
@@ -279,19 +279,19 @@ function ListPage({
|
|
|
279
279
|
bottomRight: filterRow
|
|
280
280
|
}
|
|
281
281
|
),
|
|
282
|
-
/* @__PURE__ */ jsxRuntime.jsx("section", { "aria-label": title, className: "px-[24px] py-[32px]", children: error ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
282
|
+
/* @__PURE__ */ jsxRuntime.jsx("section", { "aria-label": title, className: "px-[24px] py-[32px]", children: error ? /* @__PURE__ */ jsxRuntime.jsx(chunkBTYTVCQG_cjs.Alert, { variant: "danger", children: /* @__PURE__ */ jsxRuntime.jsx(chunkBTYTVCQG_cjs.AlertDescription, { children: error }) }) : (
|
|
283
283
|
// 상세 패널(detail)이 있으면 표 쪽이 줄고 패널이 오른쪽에 나란히 선다 — 목록 맥락을 유지한 채 상세를 본다
|
|
284
284
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-[24px]", children: [
|
|
285
285
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
286
286
|
caption,
|
|
287
287
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
288
|
-
|
|
288
|
+
chunkBTYTVCQG_cjs.AgGridTable,
|
|
289
289
|
{
|
|
290
290
|
rowData: rows,
|
|
291
291
|
columnDefs,
|
|
292
292
|
loading,
|
|
293
293
|
noRowsOverlayComponent: EmptyOverlay,
|
|
294
|
-
onSortChanged: onSortChange ? (e) => onSortChange(
|
|
294
|
+
onSortChanged: onSortChange ? (e) => onSortChange(chunkBTYTVCQG_cjs.getSortedColumnState(e).value) : void 0,
|
|
295
295
|
onRowClicked: onRowClick ? (e) => {
|
|
296
296
|
if (e.data) onRowClick(e.data);
|
|
297
297
|
} : void 0,
|
|
@@ -301,8 +301,8 @@ function ListPage({
|
|
|
301
301
|
rowClassRules
|
|
302
302
|
}
|
|
303
303
|
),
|
|
304
|
-
pagination ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
305
|
-
|
|
304
|
+
pagination ? /* @__PURE__ */ jsxRuntime.jsx(chunkBTYTVCQG_cjs.TablePagination, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
305
|
+
chunkBTYTVCQG_cjs.Pagination,
|
|
306
306
|
{
|
|
307
307
|
total: pagination.total,
|
|
308
308
|
rowsPerPage: pagination.pageSize,
|
|
@@ -315,13 +315,13 @@ function ListPage({
|
|
|
315
315
|
// 나란한 상세 패널: 제목·설명·닫기 → 본문 → (안내) → 버튼 줄. 스크롤해도 따라오게 sticky. Card 와 같은 테두리·라운드(그림자 없음).
|
|
316
316
|
// <aside>(complementary) 는 다른 landmark 안에 둘 수 없으므로(axe landmark-complementary-is-top-level) 이름 있는 section — DetailPage 의 aside 와 같다
|
|
317
317
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
318
|
-
|
|
318
|
+
chunkBTYTVCQG_cjs.Panel,
|
|
319
319
|
{
|
|
320
320
|
title: detail.title,
|
|
321
321
|
description: detail.description,
|
|
322
322
|
padding: "large",
|
|
323
323
|
titleRight: /* @__PURE__ */ jsxRuntime.jsx(
|
|
324
|
-
|
|
324
|
+
chunkBTYTVCQG_cjs.IconButton,
|
|
325
325
|
{
|
|
326
326
|
type: "button",
|
|
327
327
|
variant: "secondary",
|
|
@@ -332,7 +332,7 @@ function ListPage({
|
|
|
332
332
|
),
|
|
333
333
|
note: detail.note,
|
|
334
334
|
footer: detail.footer,
|
|
335
|
-
className:
|
|
335
|
+
className: chunkBTYTVCQG_cjs.cn("sticky top-[24px] shrink-0", DETAIL_WIDTH[detail.width ?? "medium"]),
|
|
336
336
|
children: detail.children
|
|
337
337
|
}
|
|
338
338
|
)
|
|
@@ -350,10 +350,10 @@ function MoreMenu({
|
|
|
350
350
|
const select = (fn) => () => {
|
|
351
351
|
pendingRef.current = fn;
|
|
352
352
|
};
|
|
353
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
354
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
353
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkBTYTVCQG_cjs.DropdownMenu, { children: [
|
|
354
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkBTYTVCQG_cjs.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(chunkBTYTVCQG_cjs.IconButton, { ref: triggerRef, variant: "secondary", "aria-label": "\uB354\uBCF4\uAE30", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Ellipsis, { size: 24 }) }) }),
|
|
355
355
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
356
|
-
|
|
356
|
+
chunkBTYTVCQG_cjs.DropdownMenuContent,
|
|
357
357
|
{
|
|
358
358
|
align: "end",
|
|
359
359
|
onCloseAutoFocus: (e) => {
|
|
@@ -364,10 +364,10 @@ function MoreMenu({
|
|
|
364
364
|
fn?.();
|
|
365
365
|
},
|
|
366
366
|
children: [
|
|
367
|
-
items.map(({ children, onClick, disabled }, i) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
368
|
-
deleteAction && items.length ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
367
|
+
items.map(({ children, onClick, disabled }, i) => /* @__PURE__ */ jsxRuntime.jsx(chunkBTYTVCQG_cjs.DropdownMenuItem, { disabled, onSelect: select(onClick), children }, i)),
|
|
368
|
+
deleteAction && items.length ? /* @__PURE__ */ jsxRuntime.jsx(chunkBTYTVCQG_cjs.DropdownMenuSeparator, {}) : null,
|
|
369
369
|
deleteAction ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
370
|
-
|
|
370
|
+
chunkBTYTVCQG_cjs.DropdownMenuItem,
|
|
371
371
|
{
|
|
372
372
|
variant: "danger",
|
|
373
373
|
disabled: deleteAction.disabled,
|
|
@@ -415,7 +415,7 @@ function DetailPage({
|
|
|
415
415
|
body = // 넓은 화면: 본문 2 : 패널 1 + 세로선. 좁은 화면: 세로로 쌓이고 패널은 제목 + 가로선으로 시작한다
|
|
416
416
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-1 gap-[24px] xl:grid-cols-[2fr_1fr] xl:items-start", children: [
|
|
417
417
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0", children }),
|
|
418
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
418
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkBTYTVCQG_cjs.Panel, { title: asideTitle, children: aside })
|
|
419
419
|
] });
|
|
420
420
|
} else {
|
|
421
421
|
body = children;
|
|
@@ -423,11 +423,11 @@ function DetailPage({
|
|
|
423
423
|
const VISIBLE_SECONDARY = 2;
|
|
424
424
|
const visibleSecondary = secondaryActions?.slice(0, VISIBLE_SECONDARY) ?? [];
|
|
425
425
|
const overflowSecondary = secondaryActions?.slice(VISIBLE_SECONDARY) ?? [];
|
|
426
|
-
const primaryButton = primaryAction ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
426
|
+
const primaryButton = primaryAction ? /* @__PURE__ */ jsxRuntime.jsx(chunkBTYTVCQG_cjs.Button, { type: "button", variant: "primaryBold", ...primaryAction }) : null;
|
|
427
427
|
const moreMenu = (items) => items.length || deleteAction ? /* @__PURE__ */ jsxRuntime.jsx(MoreMenu, { items, deleteAction }) : null;
|
|
428
428
|
const fullRow = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
429
429
|
moreMenu(overflowSecondary),
|
|
430
|
-
visibleSecondary.map((action, i) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
430
|
+
visibleSecondary.map((action, i) => /* @__PURE__ */ jsxRuntime.jsx(chunkBTYTVCQG_cjs.Button, { type: "button", variant: "secondary", ...action }, i)),
|
|
431
431
|
primaryButton
|
|
432
432
|
] });
|
|
433
433
|
const collapsedRow = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
@@ -448,7 +448,7 @@ function DetailPage({
|
|
|
448
448
|
/* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "detail-actions-collapsed", className: "flex items-center gap-[8px] @3xl:hidden", children: collapsedRow })
|
|
449
449
|
] }) : primaryButton ? primaryButton : void 0;
|
|
450
450
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "w-full", children: [
|
|
451
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
451
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkBTYTVCQG_cjs.PageHeader, { ...header, actions: actionRow }),
|
|
452
452
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
453
453
|
"section",
|
|
454
454
|
{
|
|
@@ -456,7 +456,7 @@ function DetailPage({
|
|
|
456
456
|
className: "flex flex-col gap-[24px] px-[24px] py-[24px]",
|
|
457
457
|
children: [
|
|
458
458
|
banner,
|
|
459
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
459
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkBTYTVCQG_cjs.cn("w-full", width === "panel" && "mx-auto max-w-[900px]"), children: [
|
|
460
460
|
note,
|
|
461
461
|
body
|
|
462
462
|
] })
|
|
@@ -478,7 +478,7 @@ function useFormShell({
|
|
|
478
478
|
}
|
|
479
479
|
function FormError({ error, className }) {
|
|
480
480
|
if (!error) return null;
|
|
481
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
481
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkBTYTVCQG_cjs.Alert, { variant: "danger", className, children: /* @__PURE__ */ jsxRuntime.jsx(chunkBTYTVCQG_cjs.AlertDescription, { children: error }) });
|
|
482
482
|
}
|
|
483
483
|
function FormActions({
|
|
484
484
|
busy,
|
|
@@ -490,7 +490,7 @@ function FormActions({
|
|
|
490
490
|
}) {
|
|
491
491
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
492
492
|
onCancel ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
493
|
-
|
|
493
|
+
chunkBTYTVCQG_cjs.Button,
|
|
494
494
|
{
|
|
495
495
|
type: "button",
|
|
496
496
|
variant: "secondaryOutline",
|
|
@@ -501,7 +501,7 @@ function FormActions({
|
|
|
501
501
|
}
|
|
502
502
|
) : null,
|
|
503
503
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
504
|
-
|
|
504
|
+
chunkBTYTVCQG_cjs.Button,
|
|
505
505
|
{
|
|
506
506
|
type: "submit",
|
|
507
507
|
variant: "primaryBold",
|
|
@@ -553,11 +553,11 @@ function FormPage({
|
|
|
553
553
|
" ",
|
|
554
554
|
"\uD45C\uC2DC\uB294 \uD544\uC218 \uC785\uB825 \uD56D\uBAA9\uC785\uB2C8\uB2E4"
|
|
555
555
|
] }) : null,
|
|
556
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
557
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
556
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkBTYTVCQG_cjs.Form, { ...form, children: /* @__PURE__ */ jsxRuntime.jsxs("form", { id: formId, noValidate: true, onSubmit: handleSubmit, children: [
|
|
557
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkBTYTVCQG_cjs.FormSectionLevelContext.Provider, { value: 2, children }),
|
|
558
558
|
/* @__PURE__ */ jsxRuntime.jsx(FormError, { error, className: "mt-[24px]" }),
|
|
559
559
|
aside ? null : /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
560
|
-
|
|
560
|
+
chunkBTYTVCQG_cjs.FormFooter,
|
|
561
561
|
{
|
|
562
562
|
align: "end",
|
|
563
563
|
className: "mt-[24px] border-t border-sys-divider-subtle pt-[16px]",
|
|
@@ -569,9 +569,9 @@ function FormPage({
|
|
|
569
569
|
const column = canvas === "subtle" ? (
|
|
570
570
|
// 폼 전체를 흰 Card 하나로(섹션 사이 구분선은 그대로). 위 8px 는 첫 FormSection 의 pt-[16px] 과 더해 24
|
|
571
571
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
572
|
-
|
|
572
|
+
chunkBTYTVCQG_cjs.Card,
|
|
573
573
|
{
|
|
574
|
-
className:
|
|
574
|
+
className: chunkBTYTVCQG_cjs.cn(
|
|
575
575
|
"w-full max-w-[var(--max-w-form-control)] px-[24px] pb-[24px] pt-[8px]",
|
|
576
576
|
align === "center" && !aside && "mx-auto"
|
|
577
577
|
),
|
|
@@ -581,7 +581,7 @@ function FormPage({
|
|
|
581
581
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
582
582
|
"div",
|
|
583
583
|
{
|
|
584
|
-
className:
|
|
584
|
+
className: chunkBTYTVCQG_cjs.cn(
|
|
585
585
|
"w-full max-w-[var(--max-w-form-control)]",
|
|
586
586
|
align === "center" && !aside && "mx-auto"
|
|
587
587
|
),
|
|
@@ -590,9 +590,9 @@ function FormPage({
|
|
|
590
590
|
);
|
|
591
591
|
return (
|
|
592
592
|
// subtle 의 캔버스 회색은 기존 토큰(grayscale20, 진단 18-A 의 f7 변형)을 쓴다 — 채택되면 전용 sys 토큰으로 올린다
|
|
593
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
593
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkBTYTVCQG_cjs.cn("w-full", canvas === "subtle" && "bg-sys-background-hover"), children: [
|
|
594
594
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
595
|
-
|
|
595
|
+
chunkBTYTVCQG_cjs.PageHeader,
|
|
596
596
|
{
|
|
597
597
|
title,
|
|
598
598
|
description,
|
|
@@ -606,7 +606,7 @@ function FormPage({
|
|
|
606
606
|
// <aside>(complementary) 는 다른 landmark 안에 둘 수 없으므로(axe) 이름 있는 section (DetailPage aside 와 같은 꼴)
|
|
607
607
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-1 gap-[24px] xl:grid-cols-[minmax(0,var(--max-w-form-control))_minmax(280px,1fr)] xl:items-start", children: [
|
|
608
608
|
column,
|
|
609
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
609
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkBTYTVCQG_cjs.Panel, { title: asideTitle, className: "xl:sticky xl:top-[24px]", children: [
|
|
610
610
|
aside,
|
|
611
611
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
612
612
|
"div",
|
|
@@ -643,23 +643,23 @@ function FormDrawer({
|
|
|
643
643
|
if (!next && busy) return;
|
|
644
644
|
onOpenChange(next);
|
|
645
645
|
};
|
|
646
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
647
|
-
|
|
646
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkBTYTVCQG_cjs.Drawer, { open, onOpenChange: guardedOpenChange, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
647
|
+
chunkBTYTVCQG_cjs.DrawerContent,
|
|
648
648
|
{
|
|
649
649
|
side,
|
|
650
650
|
size,
|
|
651
651
|
...description ? {} : { "aria-describedby": void 0 },
|
|
652
652
|
children: [
|
|
653
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
654
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
655
|
-
description ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
653
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkBTYTVCQG_cjs.DrawerHeader, { children: [
|
|
654
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkBTYTVCQG_cjs.DrawerTitle, { children: title }),
|
|
655
|
+
description ? /* @__PURE__ */ jsxRuntime.jsx(chunkBTYTVCQG_cjs.DrawerDescription, { children: description }) : null
|
|
656
656
|
] }),
|
|
657
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
658
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
657
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkBTYTVCQG_cjs.Form, { ...form, children: /* @__PURE__ */ jsxRuntime.jsxs("form", { noValidate: true, onSubmit: handleSubmit, className: "flex min-h-0 flex-1 flex-col", children: [
|
|
658
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkBTYTVCQG_cjs.DrawerBody, { className: "px-[24px]", children: [
|
|
659
659
|
children,
|
|
660
660
|
/* @__PURE__ */ jsxRuntime.jsx(FormError, { error, className: "mt-[24px]" })
|
|
661
661
|
] }),
|
|
662
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
662
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkBTYTVCQG_cjs.DrawerFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
663
663
|
FormActions,
|
|
664
664
|
{
|
|
665
665
|
busy,
|
|
@@ -694,21 +694,21 @@ function FormDialog({
|
|
|
694
694
|
if (!next && busy) return;
|
|
695
695
|
onOpenChange(next);
|
|
696
696
|
};
|
|
697
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
698
|
-
|
|
697
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkBTYTVCQG_cjs.Dialog, { open, onOpenChange: guardedOpenChange, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
698
|
+
chunkBTYTVCQG_cjs.DialogContent,
|
|
699
699
|
{
|
|
700
700
|
width,
|
|
701
701
|
hideCloseButton: busy,
|
|
702
702
|
...description ? {} : { "aria-describedby": void 0 },
|
|
703
703
|
children: [
|
|
704
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
705
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
706
|
-
description ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
704
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkBTYTVCQG_cjs.DialogHeader, { children: [
|
|
705
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkBTYTVCQG_cjs.DialogTitle, { children: title }),
|
|
706
|
+
description ? /* @__PURE__ */ jsxRuntime.jsx(chunkBTYTVCQG_cjs.DialogDescription, { children: description }) : null
|
|
707
707
|
] }),
|
|
708
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
708
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkBTYTVCQG_cjs.Form, { ...form, children: /* @__PURE__ */ jsxRuntime.jsxs("form", { noValidate: true, onSubmit: handleSubmit, className: "flex flex-col gap-[16px]", children: [
|
|
709
709
|
children,
|
|
710
710
|
/* @__PURE__ */ jsxRuntime.jsx(FormError, { error }),
|
|
711
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
711
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkBTYTVCQG_cjs.DialogFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
712
712
|
FormActions,
|
|
713
713
|
{
|
|
714
714
|
busy,
|
|
@@ -740,7 +740,7 @@ function StatTile({
|
|
|
740
740
|
}) {
|
|
741
741
|
const labelId = react.useId();
|
|
742
742
|
const percent = ratio == null ? null : Math.round(Math.min(Math.max(ratio, 0), 1) * 100);
|
|
743
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
743
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkBTYTVCQG_cjs.Card, { className: "relative gap-[4px] p-[16px]", children: [
|
|
744
744
|
/* @__PURE__ */ jsxRuntime.jsx("span", { id: labelId, className: "text-h6 text-sys-text-subtle", children: href ? (
|
|
745
745
|
// 타일 전체를 클릭 영역으로: 링크의 ::after 를 Card 크기로 늘린다
|
|
746
746
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -752,7 +752,7 @@ function StatTile({
|
|
|
752
752
|
}
|
|
753
753
|
)
|
|
754
754
|
) : label }),
|
|
755
|
-
loading ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
755
|
+
loading ? /* @__PURE__ */ jsxRuntime.jsx(chunkBTYTVCQG_cjs.Skeleton, { role: "status", "aria-label": "\uBD88\uB7EC\uC624\uB294 \uC911", className: "h-[32px] w-[80px]" }) : /* @__PURE__ */ jsxRuntime.jsxs("span", { className: chunkBTYTVCQG_cjs.cn("flex items-center gap-[6px] text-h2", TONE_TEXT[tone]), children: [
|
|
756
756
|
tone !== "default" ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.TriangleAlert, { "aria-hidden": true, size: 20, className: "shrink-0" }) : null,
|
|
757
757
|
value
|
|
758
758
|
] }),
|
|
@@ -768,7 +768,7 @@ function StatTile({
|
|
|
768
768
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
769
769
|
"div",
|
|
770
770
|
{
|
|
771
|
-
className:
|
|
771
|
+
className: chunkBTYTVCQG_cjs.cn("h-full rounded-full", TONE_BAR[tone]),
|
|
772
772
|
style: { width: `${percent}%` }
|
|
773
773
|
}
|
|
774
774
|
)
|
|
@@ -797,7 +797,7 @@ function DashboardLayout({
|
|
|
797
797
|
children
|
|
798
798
|
] });
|
|
799
799
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "w-full", children: [
|
|
800
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
800
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkBTYTVCQG_cjs.PageHeader, { ...header, actions }),
|
|
801
801
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
802
802
|
"section",
|
|
803
803
|
{
|
|
@@ -819,9 +819,9 @@ function DashboardSection({ title, action, columns, children }) {
|
|
|
819
819
|
// 1px 간격 + 구분선 색 배경 = 칸 사이 가로·세로 구분선. 칸(DashboardPanel)은 자기 배경을 가진다
|
|
820
820
|
// 2열에서 칸 수가 홀수면 마지막 칸이 두 열을 차지해 빈 칸이 생기지 않게 한다
|
|
821
821
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
822
|
-
|
|
822
|
+
chunkBTYTVCQG_cjs.Card,
|
|
823
823
|
{
|
|
824
|
-
className:
|
|
824
|
+
className: chunkBTYTVCQG_cjs.cn(
|
|
825
825
|
"grid grid-cols-1 gap-px overflow-hidden bg-sys-divider-subtler",
|
|
826
826
|
columns === 2 && "xl:grid-cols-2 xl:[&>:last-child:nth-child(odd)]:col-span-2"
|
|
827
827
|
),
|
package/dist/patterns/index.css
CHANGED
|
@@ -57,6 +57,9 @@
|
|
|
57
57
|
text-overflow: ellipsis;
|
|
58
58
|
white-space: nowrap;
|
|
59
59
|
}
|
|
60
|
+
.ag-grid-container .ag-cell[col-id=ag-Grid-SelectionColumn]:not(.ag-cell-wrap-text) .ag-cell-value:not(.ag-allow-overflow) {
|
|
61
|
+
overflow: visible;
|
|
62
|
+
}
|
|
60
63
|
.ag-grid-container .ag-cell.ag-cell-value:not(:has(> *)):not(.ag-right-aligned-cell):not(.ag-cell-wrap-text) {
|
|
61
64
|
display: block !important;
|
|
62
65
|
align-content: center;
|