diff --git a/index.html b/index.html index e2bda73..f63f543 100644 --- a/index.html +++ b/index.html @@ -80,7 +80,7 @@

브라우저가 이미 가진 UI 계약을 다시 씁니다.

브라우저가 넘겨주는 상호작용

각 예제가 제공하는 초점 이동과 닫기 동작을 같은 밀도로 비교합니다.

-
+
@@ -141,7 +141,7 @@

Profile menu

Forms

브라우저 기본 validation과 CSS 상태 선택자로 입력 흐름을 만든다.

- +

입력 전에는 helper text를 보여주고, 제출 또는 편집 후에는 브라우저 validation 상태에 맞춰 성공/오류 문구가 나타납니다.

@@ -219,7 +219,7 @@

Forms

File Input

운영체제 파일 선택기와 브라우저의 선택 상태를 별도 업로드 코드 없이 사용합니다.

-
+

local source review

예제 파일 선택

@@ -257,7 +257,7 @@

예제 파일 선택

Selectors

fieldset, radio, checkbox, color/date picker로 선택 흐름을 구성합니다.

-
+

검토 옵션

검증 범위 @@ -302,7 +302,7 @@

검토 옵션

Dialog & Accordion

지원 브라우저에서는 commandfor로 dialog를 선언적으로 열 수 있습니다.

-
+
접근성 diff --git a/styles.css b/styles.css index a1dcc0d..202df7e 100644 --- a/styles.css +++ b/styles.css @@ -162,6 +162,13 @@ box-shadow: var(--shadow-card); } + .component-flow { + --component-flow-gap: 14px; + + display: grid; + gap: var(--component-flow-gap); + } + .component-card h3, dialog h2 { margin: 0 0 14px; @@ -320,15 +327,8 @@ } } - .form-card, - .stack { - display: grid; - gap: 14px; - } - .file-card { - display: grid; - gap: 18px; + --component-flow-gap: 18px; } .file-card h3 { @@ -412,8 +412,7 @@ } .matrix-card { - display: grid; - gap: 16px; + --component-flow-gap: 16px; } .interaction-matrix {
주요 native UI 동작