dsforge-harness 0.1.5 → 0.1.6

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.
Files changed (32) hide show
  1. package/README.md +11 -14
  2. package/package.json +1 -1
  3. package/plugins/dsforge/.claude-plugin/plugin.json +1 -1
  4. package/plugins/dsforge/skills/dsforge/SKILL.md +9 -11
  5. package/plugins/dsforge/skills/dsforge/references/00-portable-kit-and-runbook.md +7 -7
  6. package/plugins/dsforge/skills/dsforge/references/01-harness-design-and-validation-plan.md +3 -3
  7. package/plugins/dsforge/skills/dsforge/references/03-verifier-generalization-spec.md +10 -10
  8. package/plugins/dsforge/skills/dsforge/references/examples/smoke-fixture/README.md +2 -3
  9. package/plugins/dsforge/skills/dsforge/references/examples/smoke-fixture/validators/projects/smoke.json +1 -1
  10. package/plugins/dsforge/skills/dsforge/validators/check2.js +4 -4
  11. package/plugins/dsforge/skills/dsforge/validators/check3.js +1 -1
  12. package/plugins/dsforge/skills/dsforge/validators/extract-tokens.js +1 -1
  13. package/plugins/dsforge/skills/dsforge/validators/projects/_TEMPLATE.json +1 -1
  14. package/plugins/dsforge/skills/dsforge/validators/test/check-layout.test.js +4 -4
  15. package/plugins/dsforge/skills/dsforge/validators/verify.js +3 -2
  16. package/templates/CLAUDE.md +4 -4
  17. package/plugins/dsforge/skills/dsforge/assets/code-scaffold-reference-ezp/DatasetManagement.tsx +0 -48
  18. package/plugins/dsforge/skills/dsforge/assets/code-scaffold-reference-ezp/ModelCreateEdit.tsx +0 -93
  19. package/plugins/dsforge/skills/dsforge/assets/code-scaffold-reference-ezp/components/DataTable.tsx +0 -64
  20. package/plugins/dsforge/skills/dsforge/assets/code-scaffold-reference-ezp/components/controls.tsx +0 -97
  21. package/plugins/dsforge/skills/dsforge/assets/code-scaffold-reference-ezp/components/forms.tsx +0 -41
  22. package/plugins/dsforge/skills/dsforge/assets/code-scaffold-reference-ezp/components/icons.tsx +0 -57
  23. package/plugins/dsforge/skills/dsforge/assets/code-scaffold-reference-ezp/components/shell.tsx +0 -83
  24. package/plugins/dsforge/skills/dsforge/assets/code-scaffold-reference-ezp/ezp.css +0 -118
  25. package/plugins/dsforge/skills/dsforge/assets/code-scaffold-reference-ezp/tokens.css +0 -106
  26. package/plugins/dsforge/skills/dsforge/assets/code-scaffold-reference-ezp/tokens.ts +0 -94
  27. package/plugins/dsforge/skills/dsforge/references/examples/code-stage-instruction-dataset-management.md +0 -36
  28. package/plugins/dsforge/skills/dsforge/references/examples/ezp-states-elevation-augmentation-spec.md +0 -35
  29. package/plugins/dsforge/skills/dsforge/references/examples/run1-dataset-management-list-spec.md +0 -58
  30. package/plugins/dsforge/skills/dsforge/references/examples/run2-model-create-edit-spec.md +0 -38
  31. package/plugins/dsforge/skills/dsforge/validators/out/ezp-tokens.json +0 -7
  32. package/plugins/dsforge/skills/dsforge/validators/projects/ezp.json +0 -71
@@ -1,97 +0,0 @@
1
- /*
2
- * EZP atomic components (code counterparts of EZP Figma components).
3
- * Static appearance only — interactive states (hover/active/focus/disabled)
4
- * are OUT OF SCOPE this run (EZP variants in progress). Placeholders noted.
5
- * All visuals come from --ezp-* tokens (tokens.css / ezp.css). No raw hex/px here.
6
- */
7
- import React from 'react';
8
-
9
- /* status-badge — tone maps to an EZP color token. Status taxonomy = 제안 (§3). */
10
- const STATUS_TONE: Record<string, string> = {
11
- done: '--ezp-logo-green',
12
- inuse: '--ezp-logo-blue',
13
- todo: '--ezp-light-900',
14
- deprecated: '--ezp-logo-yellow',
15
- };
16
- export function StatusBadge({ label, tone }: { label: string; tone: keyof typeof STATUS_TONE }) {
17
- return (
18
- <span className="ezp-badge ezp-text-body-small" style={{ background: `var(${STATUS_TONE[tone]})` }}>
19
- {label}
20
- </span>
21
- );
22
- }
23
-
24
- /* tag-item */
25
- export function Tag({ label }: { label: string }) {
26
- return (
27
- <span className="ezp-tag ezp-text-body-small">
28
- {label}
29
- <span className="ezp-tag-x" aria-hidden>×</span>
30
- </span>
31
- );
32
- }
33
-
34
- /* form-control (search input) — static (read-only); focus/disabled 추후 */
35
- export function SearchInput({ placeholder }: { placeholder: string }) {
36
- return <input className="ezp-input ezp-text-body" placeholder={placeholder} readOnly />;
37
- }
38
-
39
- /* form-select (filter) — static; hover/focus/disabled 추후 */
40
- export function FilterSelect({ label }: { label: string }) {
41
- return (
42
- <div className="ezp-select ezp-text-body" role="button" tabIndex={0}>
43
- <span>{label}</span>
44
- <span className="ezp-select-caret" aria-hidden>▾</span>
45
- </div>
46
- );
47
- }
48
-
49
- /* btn-w-auto (primary) — static; hover/active/disabled 추후 */
50
- export function CreateButton({ label }: { label: string }) {
51
- return <button type="button" className="ezp-btn-primary ezp-text-body-small-bold">{label}</button>;
52
- }
53
-
54
- /* toolbox-btn (row action trigger) */
55
- export function RowActionButton({ label = 'Tools', onClick }: { label?: string; onClick?: () => void }) {
56
- return (
57
- <button type="button" className="ezp-tools-btn ezp-text-body-small" onClick={onClick}>
58
- {label}
59
- <span className="ezp-tools-caret" aria-hidden>▴</span>
60
- </button>
61
- );
62
- }
63
-
64
- /* dropdown menu of row actions (open state shown for the affordance) */
65
- export function ActionMenu({ items }: { items: string[] }) {
66
- return (
67
- <div className="ezp-menu" role="menu">
68
- {items.map((it) => (
69
- <div key={it} className="ezp-menu-item ezp-text-body" role="menuitem">{it}</div>
70
- ))}
71
- </div>
72
- );
73
- }
74
-
75
- /* pagination-wrap — static */
76
- export function Pagination() {
77
- const pages = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
78
- return (
79
- <div className="ezp-pagination ezp-text-body">
80
- <div className="ezp-page-meta">
81
- <span>Page Size</span>
82
- <span className="ezp-select" role="button" tabIndex={0}>20 <span className="ezp-select-caret" aria-hidden>▾</span></span>
83
- <span>Sort By</span>
84
- <span className="ezp-select" role="button" tabIndex={0}>Edit <span className="ezp-select-caret" aria-hidden>▴</span></span>
85
- </div>
86
- <div className="ezp-pagination-group">
87
- <span className="ezp-page-arrow" aria-hidden>«</span>
88
- <span className="ezp-page-arrow" aria-hidden>‹</span>
89
- {pages.map((p) => (
90
- <span key={p} className={'ezp-page-num' + (p === 1 ? ' ezp-page-num--active' : '')}>{p}</span>
91
- ))}
92
- <span className="ezp-page-arrow" aria-hidden>›</span>
93
- <span className="ezp-page-arrow" aria-hidden>»</span>
94
- </div>
95
- </div>
96
- );
97
- }
@@ -1,41 +0,0 @@
1
- /*
2
- * EZP form components (code counterparts of form-control / -textarea / -select /
3
- * -check-radio / btn). Static; tokens only. focus/disabled states match the
4
- * published EZP variants. Only ring width/offset (2px) + border (1px) are
5
- * token-less raw (allowed); every color is a --ezp-* token (via ezp.css classes).
6
- */
7
- import React from 'react';
8
-
9
- export function TextInput({ placeholder, focus, disabled }: { placeholder?: string; focus?: boolean; disabled?: boolean }) {
10
- const cls = 'ezp-input ezp-text-body' + (focus ? ' ezp-input--focus' : '') + (disabled ? ' ezp-input--disabled' : '');
11
- return <input className={cls} placeholder={placeholder} readOnly disabled={disabled} />;
12
- }
13
-
14
- export function TextArea({ placeholder, disabled }: { placeholder?: string; disabled?: boolean }) {
15
- return <textarea className={'ezp-textarea ezp-text-body' + (disabled ? ' ezp-input--disabled' : '')} placeholder={placeholder} readOnly disabled={disabled} />;
16
- }
17
-
18
- export function Select({ label, disabled }: { label: string; disabled?: boolean }) {
19
- return (
20
- <div className={'ezp-select ezp-text-body' + (disabled ? ' ezp-input--disabled' : '')} role="button" tabIndex={0}>
21
- <span>{label}</span>
22
- <span className="ezp-select-caret" aria-hidden>▾</span>
23
- </div>
24
- );
25
- }
26
-
27
- export function Radio({ label, checked }: { label: string; checked?: boolean }) {
28
- return (
29
- <label className="ezp-radio ezp-text-body">
30
- <span className={'ezp-radio-mark' + (checked ? ' ezp-radio-mark--checked' : '')}>
31
- {checked && <span className="ezp-radio-dot" />}
32
- </span>
33
- {label}
34
- </label>
35
- );
36
- }
37
-
38
- export function Button({ label, variant = 'primary', disabled }: { label: string; variant?: 'primary' | 'secondary'; disabled?: boolean }) {
39
- const cls = disabled ? 'ezp-btn--disabled' : (variant === 'secondary' ? 'ezp-btn--secondary' : 'ezp-btn-primary');
40
- return <button type="button" className={cls + ' ezp-text-body-small-bold'} disabled={disabled}>{label}</button>;
41
- }
@@ -1,57 +0,0 @@
1
- /*
2
- * DS icons extracted from the EZP design system (Branch A) — P3(a) icon/vector asset extraction.
3
- * Source: working file pDz5W3pXk579bxcWPGkvwi, screen 2:6, rail icons exported via node.exportAsync({format:'SVG_STRING'}).
4
- *
5
- * Token discipline (no raw hex):
6
- * - Monochrome icons use fill="currentColor" — the consuming slot's CSS `color` (a token) drives the colour.
7
- * Baked fills from the export (fill="white", fill="#393F4C") were normalised to currentColor.
8
- * - The brand logo's four colours map 1:1 to DS tokens: logo/yellow·red·green·blue → var(--ezp-logo-*).
9
- * The remaining rail icons (ml, eco, finance, cs, …) extract by the identical pattern; this file carries the
10
- * render-verified representative set (logo + home + material + member). This is the Branch A path only —
11
- * from-scratch (Branch B) has no DS to export from, so icons stay manual placeholders (see SKILL.md).
12
- */
13
- import React from 'react';
14
-
15
- type S = React.SVGProps<SVGSVGElement>;
16
-
17
- export function LogoMark(props: S) {
18
- return (
19
- <svg viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
20
- <path d="M10.2498 1.31319V5.80044C8.01966 6.26697 6.26168 8.02525 5.80043 10.2498H1.3076C0.585887 10.2498 0 9.66387 0 8.94216V1.31319C0 0.586198 0.585887 0 1.3076 0H8.93656C9.66356 0 10.2498 0.585887 10.2498 1.31319Z" fill="var(--ezp-logo-yellow)" />
21
- <path d="M23.756 5.75164C23.756 8.92599 21.184 11.4977 18.0097 11.4977C17.8089 11.4977 17.6137 11.4868 17.4182 11.4706C17.3911 11.1775 17.3423 10.89 17.2718 10.6078C17.4129 10.4179 17.5484 10.228 17.6786 10.0381C19.5886 7.33058 20.3917 5.05168 19.5507 4.21062C18.7043 3.36955 16.4198 4.17798 13.7123 6.07706C14.0325 6.18554 14.3417 6.32136 14.6348 6.47304C15.5029 6.16906 16.192 6.17466 16.5609 6.54359C16.8972 6.8799 16.9299 7.47138 16.7073 8.22013C16.6529 8.42092 16.5771 8.63258 16.4795 8.85513C15.861 7.93263 14.9873 7.20004 13.951 6.76054C13.6959 6.65207 13.4301 6.55976 13.1535 6.4892C12.8713 6.41865 12.5838 6.36456 12.2854 6.33721C12.2692 6.14731 12.2583 5.94652 12.2583 5.75133C12.2583 2.572 14.8303 0 18.01 0C21.1896 0 23.7563 2.572 23.7563 5.75164H23.756Z" fill="var(--ezp-logo-red)" />
22
- <path d="M11.498 18.2484C11.498 21.4227 8.92071 24 5.74635 24C2.572 24 0 21.4227 0 18.2484C0 15.074 2.572 12.502 5.74604 12.502C5.94124 12.502 6.14202 12.5129 6.33193 12.5291C6.35897 12.8274 6.41336 13.1149 6.48392 13.3972C6.55447 13.6685 6.64679 13.929 6.75526 14.1838V14.1891C7.19475 15.2201 7.92735 16.0991 8.84984 16.7232C8.6329 16.8208 8.42123 16.8913 8.22044 16.951C7.4661 17.1736 6.87492 17.1409 6.53831 16.8046C6.16937 16.4357 6.16378 15.7466 6.46776 14.8785C6.31577 14.5854 6.18554 14.2817 6.07706 13.9616C4.1671 16.6691 3.36395 18.948 4.20502 19.7891C5.04609 20.6354 7.33027 19.827 10.0381 17.9226C10.2224 17.7924 10.4126 17.6566 10.6025 17.5102C10.8848 17.5807 11.1723 17.6348 11.4706 17.6622C11.4868 17.8521 11.4977 18.0476 11.4977 18.2481L11.498 18.2484Z" fill="var(--ezp-logo-green)" />
23
- <path d="M23.7566 13.8152V21.4442C23.7566 22.1659 23.1707 22.7574 22.4434 22.7574H14.8198C14.0928 22.7574 13.5066 22.1659 13.5066 21.4442V16.9513C15.7367 16.4901 17.4946 14.7321 17.9506 12.502H22.4434C23.1704 12.502 23.7566 13.0935 23.7566 13.8152Z" fill="var(--ezp-logo-blue)" />
24
- </svg>
25
- );
26
- }
27
-
28
- export function IconHome(props: S) {
29
- return (
30
- <svg viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
31
- <path d="M7 17.3574V12.8529C7 12.538 7.34615 12.2167 7.69231 12.2167L10.3077 12.2103C10.6538 12.2103 11 12.5316 11 12.8529V17.351C11 17.5214 11.0729 17.6849 11.2028 17.8054C11.3326 17.9259 11.5087 17.9936 11.6923 17.9936H17.3077C17.4913 17.9936 17.6674 17.9259 17.7972 17.8054C17.9271 17.6849 18 17.5214 18 17.351V8.35477C18.0002 8.27033 17.9824 8.18669 17.9477 8.10862C17.913 8.03056 17.8621 7.95961 17.7978 7.89982L16 6.16098L16 1.64223C16 1.4718 15.9271 1.30836 15.7972 1.18785C15.6674 1.06734 15.4913 0.999643 15.3077 0.999643H13.6923C13.5087 0.999643 13.3326 1.06734 13.2028 1.18785C13.0729 1.30836 13 1.4718 13 1.64223L13 3.59064L9.49015 0.188784C9.42584 0.128942 9.34945 0.0814642 9.26534 0.0490695C9.18123 0.0166749 9.09106 0 9 0C8.90894 0 8.81877 0.0166749 8.73466 0.0490695C8.65055 0.0814642 8.57415 0.128942 8.50984 0.188784L0.202155 7.89982C0.137906 7.95961 0.0869827 8.03056 0.0522957 8.10862C0.0176088 8.18669 -0.000161376 8.27033 1.10422e-06 8.35477V17.351C1.10422e-06 17.5214 0.0729404 17.6849 0.202773 17.8054C0.332606 17.9259 0.508697 17.9936 0.692309 17.9936L6.30769 18C6.4913 18 6.66739 17.9323 6.79723 17.8118C6.92706 17.6913 7 17.5278 7 17.3574Z" fill="currentColor" />
32
- </svg>
33
- );
34
- }
35
-
36
- export function IconMaterial(props: S) {
37
- return (
38
- <svg viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
39
- <path d="M9 -0.000488281C7.16483 -0.000488281 5.47433 0.346313 4.22133 0.931915C3.02083 1.49352 2 2.39112 2 3.59953C2 4.80793 3.02083 5.70553 4.22133 6.26714C5.47433 6.85274 7.16483 7.19954 9 7.19954C10.8352 7.19954 12.5257 6.85274 13.7787 6.26714C14.9792 5.70553 16 4.80793 16 3.59953C16 2.39112 14.9792 1.49352 13.7787 0.931915C12.5257 0.346313 10.8352 -0.000488281 9 -0.000488281Z" fill="currentColor" />
40
- <path d="M2 7.19947V6.19266C2.53317 6.71106 3.17133 7.09507 3.73833 7.35907C5.17567 8.03107 7.03767 8.39947 9 8.39947C10.9623 8.39947 12.8243 8.03107 14.2617 7.35907C14.8287 7.09387 15.4668 6.71106 16 6.19266V7.19947C16 8.40787 14.9792 9.30547 13.7787 9.86708C12.5257 10.4527 10.8352 10.7995 9 10.7995C7.16483 10.7995 5.47433 10.4515 4.22133 9.86708C3.02083 9.30547 2 8.40787 2 7.19947Z" fill="currentColor" />
41
- <path d="M2 9.79268V10.7995C2 12.0079 3.02083 12.9055 4.22133 13.4671C5.47433 14.0527 7.16483 14.3995 9 14.3995C10.8352 14.3995 12.5257 14.0527 13.7787 13.4671C14.9792 12.9055 16 12.0079 16 10.7995V9.79268C15.4668 10.3111 14.8287 10.6939 14.2617 10.9591C12.8243 11.6311 10.9623 11.9995 9 11.9995C7.03767 11.9995 5.17567 11.6311 3.73833 10.9591C3.17133 10.6951 2.53317 10.3111 2 9.79268Z" fill="currentColor" />
42
- <path d="M2 14.3995V13.3927C2.53317 13.9111 3.17133 14.2951 3.73833 14.5591C5.17567 15.2311 7.03767 15.5995 9 15.5995C10.9623 15.5995 12.8243 15.2311 14.2617 14.5591C14.8287 14.2939 15.4668 13.9111 16 13.3927V14.3995C16 15.6079 14.9792 16.5055 13.7787 17.0671C12.5257 17.6527 10.8352 17.9995 9 17.9995C7.16483 17.9995 5.47433 17.6527 4.22133 17.0671C3.02083 16.5055 2 15.6079 2 14.3995Z" fill="currentColor" />
43
- </svg>
44
- );
45
- }
46
-
47
- export function IconMember(props: S) {
48
- return (
49
- <svg viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
50
- <path d="M7.875 16C7.875 16 6.75 16 6.75 14.875C6.75 13.75 7.875 9.875 12.375 9.875C16.875 9.875 18 13.75 18 14.875C18 16 16.875 16 16.875 16H7.875ZM12.375 8.75C13.27 8.75 14.129 8.394 14.761 7.761C15.394 7.129 15.75 6.27 15.75 5.375C15.75 4.48 15.394 3.621 14.761 2.989C14.129 2.356 13.27 2 12.375 2C11.48 2 10.621 2.356 9.989 2.989C9.356 3.621 9 4.48 9 5.375C9 6.27 9.356 7.129 9.989 7.761C10.621 8.394 11.48 8.75 12.375 8.75ZM5.868 16C5.701 15.649 5.618 15.264 5.625 14.875C5.625 13.351 6.39 11.281 7.803 10.19C7.098 9.973 6.363 9.866 5.625 9.875C1.125 9.875 0 13.75 0 14.875C0 16 1.125 16 1.125 16H5.868ZM5.0625 8.75C5.808 8.75 6.524 8.454 7.051 7.926C7.579 7.399 7.875 6.683 7.875 5.9375C7.875 5.192 7.579 4.476 7.051 3.949C6.524 3.421 5.808 3.125 5.0625 3.125C4.317 3.125 3.601 3.421 3.074 3.949C2.546 4.476 2.25 5.192 2.25 5.9375C2.25 6.683 2.546 7.399 3.074 7.926C3.601 8.454 4.317 8.75 5.0625 8.75Z" fill="currentColor" />
51
- </svg>
52
- );
53
- }
54
-
55
- // Rail composition (active state via the slot, not the icon). Remaining icons extract identically.
56
- export const RAIL_TOP = [{ key: 'home', Icon: IconHome }, { key: 'material', Icon: IconMaterial }];
57
- export const RAIL_BOTTOM = [{ key: 'member', Icon: IconMember }];
@@ -1,83 +0,0 @@
1
- /*
2
- * App shell (code counterpart of EZP side-nav + gnb-wrap). Tokens only.
3
- * Prop-driven: defaults reproduce the Run1 Dataset shell; Run2 passes its own
4
- * AI Orchestration nav + breadcrumb. Sidebar gets a token-bound right border.
5
- */
6
- import React from 'react';
7
- import { LogoMark, RAIL_TOP, RAIL_BOTTOM } from './icons';
8
-
9
- export type NavItem = { label: string; active?: boolean };
10
- export type NavGroup = { label: string; items?: NavItem[] };
11
-
12
- const DEFAULT_GROUPS: NavGroup[] = [{ label: 'Content' }, { label: 'Content' }, { label: 'Content' }];
13
-
14
- export function Sidebar({ section = 'Material', navGroups = DEFAULT_GROUPS }: { section?: string; navGroups?: NavGroup[] }) {
15
- return (
16
- <aside className="ezp-sidebar">
17
- <div className="ezp-rail">
18
- {/* real DS assets (P3(a)) — inline SVG, colour from the slot token via currentColor / brand-token vars */}
19
- <span className="ezp-rail-logo" aria-label="logo"><LogoMark /></span>
20
- {RAIL_TOP.map(({ key, Icon }, i) => (
21
- <span key={key} className={'ezp-rail-icon' + (i === 0 ? ' ezp-rail-icon--on' : '')} aria-label={key}><Icon /></span>
22
- ))}
23
- <div className="ezp-rail-spacer" />
24
- {RAIL_BOTTOM.map(({ key, Icon }) => (
25
- <span key={key} className="ezp-rail-icon" aria-label={key}><Icon /></span>
26
- ))}
27
- </div>
28
- <nav className="ezp-nav">
29
- <div className="ezp-user">
30
- <span className="ezp-avatar ezp-text-body-small-bold">A</span>
31
- <span className="ezp-text-body">Username</span>
32
- </div>
33
- <div className="ezp-nav-section ezp-text-section-title">{section}</div>
34
- {navGroups.map((g, i) => (
35
- <div key={i} className="ezp-nav-group">
36
- <div className="ezp-nav-item ezp-text-body">
37
- <span className="ezp-nav-item-left"><span className="ezp-nav-glyph" />{g.label}</span>
38
- <span aria-hidden>▾</span>
39
- </div>
40
- {g.items && g.items.length > 0 && (
41
- <div className="ezp-nav-subs">
42
- {g.items.map((it, j) => (
43
- <div key={j} className={'ezp-nav-sub ezp-text-body' + (it.active ? ' ezp-nav-sub--active' : '')}>
44
- <span className="ezp-nav-sub-dot" aria-hidden />{it.label}
45
- </div>
46
- ))}
47
- </div>
48
- )}
49
- </div>
50
- ))}
51
- <div className="ezp-nav-foot ezp-text-body-small">
52
- <span className="ezp-point" aria-hidden>P</span>
53
- <span>100,379,264</span>
54
- </div>
55
- </nav>
56
- </aside>
57
- );
58
- }
59
-
60
- export function Topbar({
61
- breadcrumb = ['Data Hub', 'Dataset Service', 'Management'],
62
- rightControls = ['User Group', 'Zone - Account', 'Image Type'],
63
- }: { breadcrumb?: string[]; rightControls?: string[] }) {
64
- return (
65
- <header className="ezp-topbar">
66
- <div className="ezp-breadcrumb ezp-text-body">
67
- {breadcrumb.map((seg, i) => (
68
- <React.Fragment key={i}>
69
- {i > 0 && <span className="ezp-breadcrumb-sep" aria-hidden>〉</span>}
70
- <span className={i === breadcrumb.length - 1 ? 'ezp-breadcrumb-current' : 'ezp-breadcrumb-link'}>{seg}</span>
71
- </React.Fragment>
72
- ))}
73
- </div>
74
- <div className="ezp-topbar-right">
75
- {rightControls.map((l) => (
76
- <span key={l} className="ezp-select ezp-text-body" role="button" tabIndex={0}>
77
- {l} <span className="ezp-select-caret" aria-hidden>▾</span>
78
- </span>
79
- ))}
80
- </div>
81
- </header>
82
- );
83
- }
@@ -1,118 +0,0 @@
1
- /*
2
- * Dataset Management screen styles — EZP tokens only.
3
- * Every color/space/radius references a --ezp-* token (tokens.css).
4
- * UNAVOIDABLE raw values (no EZP token exists; see self-report §3):
5
- * - 1px hairline border-width (EZP has no border-width token)
6
- * - action-menu box-shadow (EZP has no elevation token — backlog B3)
7
- * Interactive states (hover/active/focus/disabled) = OUT OF SCOPE this run;
8
- * placeholders marked "추후 (states pending — EZP variants in progress)".
9
- */
10
-
11
- .ezp-screen {
12
- width: 1920px; height: 1080px; display: flex; overflow: hidden;
13
- background: var(--ezp-white);
14
- font-family: var(--ezp-font-family);
15
- color: var(--ezp-light-1100);
16
- }
17
-
18
- /* ===== Shell: Sidebar ===== */
19
- .ezp-sidebar { width: var(--ezp-size-sidebar-width); height: 100%; flex: 0 0 auto; display: flex; border-right: 1px solid var(--ezp-light-200); } /* right border bound to light/200 token */
20
- .ezp-nav-group { display: flex; flex-direction: column; gap: var(--ezp-space-2xs); }
21
- .ezp-nav-subs { display: flex; flex-direction: column; padding-left: var(--ezp-space-lg); }
22
- .ezp-nav-sub { display: flex; align-items: center; gap: var(--ezp-space-xs); padding: var(--ezp-space-2xs) var(--ezp-space-xs); color: var(--ezp-light-600); }
23
- .ezp-nav-sub-dot { width: 4px; height: 4px; border-radius: var(--ezp-radius-pill); background: var(--ezp-light-400); }
24
- .ezp-nav-sub--active { color: var(--ezp-logo-blue); }
25
- .ezp-nav-sub--active .ezp-nav-sub-dot { background: var(--ezp-logo-blue); }
26
- .ezp-rail { width: var(--ezp-size-sidebar-collapsed); background: var(--ezp-light-1100); display: flex; flex-direction: column; align-items: center; padding: var(--ezp-space-md) 0; gap: var(--ezp-space-sm); }
27
- /* real DS icons (P3(a)): inline SVG sized by the slot; monochrome colour comes from `color` (a token) via
28
- currentColor, the brand logo from logo/* token vars baked into its SVG. No background boxes. */
29
- .ezp-rail-logo { width: 24px; height: 24px; margin-bottom: var(--ezp-space-sm); }
30
- .ezp-rail-icon { width: 20px; height: 20px; color: var(--ezp-white); opacity: .55; }
31
- .ezp-rail-icon--on { opacity: 1; }
32
- .ezp-rail-logo svg, .ezp-rail-icon svg { display: block; width: 100%; height: 100%; }
33
- .ezp-rail-spacer { flex: 1; }
34
- .ezp-nav { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: var(--ezp-space-md); gap: var(--ezp-space-md); background: var(--ezp-white); }
35
- .ezp-user { display: flex; align-items: center; gap: var(--ezp-space-sm); }
36
- .ezp-avatar { width: 24px; height: 24px; border-radius: var(--ezp-radius-pill); background: var(--ezp-logo-green); color: var(--ezp-white); display: flex; align-items: center; justify-content: center; }
37
- .ezp-nav-section { color: var(--ezp-light-1100); }
38
- .ezp-nav-item { display: flex; align-items: center; justify-content: space-between; padding: var(--ezp-space-xs) var(--ezp-space-sm); border-radius: var(--ezp-radius-sm); color: var(--ezp-light-700); }
39
- .ezp-nav-item-left { display: flex; align-items: center; gap: var(--ezp-space-sm); }
40
- .ezp-nav-glyph { width: 16px; height: 16px; border-radius: var(--ezp-radius-sm); background: var(--ezp-light-300); }
41
- .ezp-nav-foot { margin-top: auto; display: flex; align-items: center; gap: var(--ezp-space-sm); color: var(--ezp-light-600); }
42
- .ezp-point { width: 18px; height: 18px; border-radius: var(--ezp-radius-pill); background: var(--ezp-logo-green); color: var(--ezp-white); display: flex; align-items: center; justify-content: center; }
43
-
44
- /* ===== Shell: Main + Topbar ===== */
45
- .ezp-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
46
- .ezp-topbar { height: var(--ezp-size-topbar-height); flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--ezp-space-xl); border-bottom: 1px solid var(--ezp-light-100); background: var(--ezp-white); }
47
- .ezp-breadcrumb { display: flex; align-items: center; gap: var(--ezp-space-2xs); }
48
- .ezp-breadcrumb-sep { color: var(--ezp-light-400); }
49
- .ezp-breadcrumb-link { color: var(--ezp-light-600); }
50
- .ezp-breadcrumb-current { color: var(--ezp-light-1100); }
51
- .ezp-topbar-right { display: flex; align-items: center; gap: var(--ezp-space-sm); }
52
-
53
- /* ===== Content area + surface ===== */
54
- .ezp-content { flex: 1; min-height: 0; background: var(--ezp-light-50); padding: var(--ezp-space-xl); overflow: auto; }
55
- .ezp-surface { background: var(--ezp-white); border-radius: var(--ezp-radius-md); padding: var(--ezp-space-xl); display: flex; flex-direction: column; gap: var(--ezp-space-lg); }
56
- .ezp-header { display: flex; flex-direction: column; gap: var(--ezp-space-2xs); }
57
- .ezp-title { color: var(--ezp-light-1100); }
58
- .ezp-caption { color: var(--ezp-light-500); line-height: 1.45; } /* multi-line override of 100% token */
59
-
60
- /* ===== Toolbar ===== */
61
- .ezp-toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--ezp-space-sm); }
62
- .ezp-toolbar-left { display: flex; align-items: center; gap: var(--ezp-space-sm); }
63
- .ezp-input { height: var(--ezp-size-input-height); min-width: 220px; box-sizing: border-box; border: 1px solid var(--ezp-light-200); border-radius: var(--ezp-radius-sm); padding: 0 var(--ezp-space-sm); background: var(--ezp-white); color: var(--ezp-light-1100); }
64
- .ezp-input::placeholder { color: var(--ezp-light-400); }
65
- .ezp-select { height: var(--ezp-size-input-height); box-sizing: border-box; display: inline-flex; align-items: center; gap: var(--ezp-space-sm); border: 1px solid var(--ezp-light-200); border-radius: var(--ezp-radius-sm); padding: 0 var(--ezp-space-sm); background: var(--ezp-white); color: var(--ezp-light-700); cursor: pointer; }
66
- .ezp-select-caret { color: var(--ezp-light-400); }
67
- .ezp-btn-primary { height: var(--ezp-size-button-height); box-sizing: border-box; border: none; border-radius: var(--ezp-radius-sm); padding: 0 var(--ezp-space-lg); background: var(--ezp-logo-green); color: var(--ezp-white); cursor: pointer; }
68
-
69
- /* ===== Table ===== */
70
- .ezp-table-wrap { border: 1px solid var(--ezp-light-200); border-radius: var(--ezp-radius-md); overflow: hidden; }
71
- .ezp-table { width: 100%; border-collapse: separate; border-spacing: 0; }
72
- .ezp-th { background: var(--ezp-light-50); color: var(--ezp-light-600); text-align: left; padding: var(--ezp-space-sm) var(--ezp-space-md); border-bottom: 1px solid var(--ezp-light-200); white-space: nowrap; }
73
- .ezp-td { height: var(--ezp-size-table-row-height); box-sizing: border-box; padding: 0 var(--ezp-space-md); border-bottom: 1px solid var(--ezp-light-200); color: var(--ezp-light-1100); vertical-align: middle; background: var(--ezp-white); } /* row height bound to size/table-row-height (30px), not padding+border arithmetic; border-box so the 1px border doesn't drift the row ~1px/row (P4) */
74
- .ezp-tr:last-child .ezp-td { border-bottom: none; }
75
- .ezp-cell-name { color: var(--ezp-logo-blue); cursor: pointer; } /* 상세 진입 affordance (link) */
76
- .ezp-cell-action { text-align: right; }
77
-
78
- /* ===== Status badge ===== */
79
- .ezp-badge { display: inline-flex; align-items: center; padding: var(--ezp-space-2xs) var(--ezp-space-sm); border-radius: var(--ezp-radius-pill); color: var(--ezp-white); }
80
-
81
- /* ===== Tag ===== */
82
- .ezp-tag { display: inline-flex; align-items: center; gap: var(--ezp-space-2xs); padding: var(--ezp-space-2xs) var(--ezp-space-xs); border-radius: var(--ezp-radius-sm); background: var(--ezp-light-100); color: var(--ezp-light-700); }
83
- .ezp-tag-x { color: var(--ezp-light-500); cursor: pointer; }
84
-
85
- /* ===== Row action (Tools) button + menu ===== */
86
- .ezp-tools-btn { display: inline-flex; align-items: center; gap: var(--ezp-space-2xs); height: 26px; box-sizing: border-box; border: 1px solid var(--ezp-light-200); border-radius: var(--ezp-radius-sm); padding: 0 var(--ezp-space-sm); background: var(--ezp-white); color: var(--ezp-light-700); cursor: pointer; }
87
- .ezp-tools-caret { color: var(--ezp-light-500); }
88
- .ezp-menu { position: absolute; right: 0; top: calc(100% + var(--ezp-space-2xs)); min-width: 232px; background: var(--ezp-white); border: 1px solid var(--ezp-light-300); border-radius: var(--ezp-radius-md); padding: var(--ezp-space-2xs) 0; box-shadow: var(--ezp-elevation-sm); z-index: 10; } /* shadow now token (--ezp-elevation-sm = EZP elevation/sm) */
89
- .ezp-menu-item { padding: var(--ezp-space-xs) var(--ezp-space-md); color: var(--ezp-light-900); white-space: nowrap; cursor: pointer; } /* hover/active 추후 */
90
-
91
- /* ===== Pagination ===== */
92
- .ezp-pagination { display: flex; align-items: center; justify-content: center; gap: var(--ezp-space-md); padding-top: var(--ezp-space-sm); }
93
- .ezp-pagination-group { display: flex; align-items: center; gap: var(--ezp-space-2xs); }
94
- .ezp-page-num { min-width: 24px; height: 24px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; padding: 0 var(--ezp-space-2xs); border-radius: var(--ezp-radius-sm); color: var(--ezp-light-700); cursor: pointer; }
95
- .ezp-page-num--active { background: var(--ezp-logo-green); color: var(--ezp-white); }
96
- .ezp-page-arrow { color: var(--ezp-light-500); cursor: pointer; }
97
- .ezp-page-meta { display: flex; align-items: center; gap: var(--ezp-space-sm); color: var(--ezp-light-600); }
98
-
99
- /* ===== Form (Run2 — Model create/edit) ===== */
100
- .ezp-form { display: flex; flex-direction: column; gap: var(--ezp-space-md); }
101
- .ezp-field { display: flex; flex-direction: column; gap: var(--ezp-space-xs); }
102
- .ezp-field-label { color: var(--ezp-light-700); }
103
- .ezp-radio-row { display: flex; align-items: center; gap: var(--ezp-space-md); }
104
- .ezp-radio { display: inline-flex; align-items: center; gap: var(--ezp-space-xs); color: var(--ezp-light-1100); cursor: pointer; }
105
- .ezp-radio-mark { width: 14px; height: 14px; box-sizing: border-box; border: 1px solid var(--ezp-light-300); border-radius: var(--ezp-radius-pill); display: inline-flex; align-items: center; justify-content: center; }
106
- .ezp-radio-mark--checked { border-color: var(--ezp-logo-blue); }
107
- .ezp-radio-dot { width: 8px; height: 8px; border-radius: var(--ezp-radius-pill); background: var(--ezp-logo-blue); }
108
- .ezp-textarea { width: 100%; min-height: 72px; box-sizing: border-box; border: 1px solid var(--ezp-light-200); border-radius: var(--ezp-radius-sm); padding: var(--ezp-space-sm); background: var(--ezp-white); color: var(--ezp-light-1100); font-family: var(--ezp-font-family); resize: vertical; }
109
- .ezp-textarea::placeholder { color: var(--ezp-light-400); }
110
- /* focus state — ring width 2px / offset 2px are token-less raw (allowed); color = logo-blue token */
111
- .ezp-input--focus { outline: 2px solid var(--ezp-logo-blue); outline-offset: 2px; }
112
- /* disabled state — grey via tokens (no opacity) */
113
- .ezp-input--disabled { background: var(--ezp-light-200); color: var(--ezp-light-400); }
114
- .ezp-input--disabled::placeholder { color: var(--ezp-light-400); }
115
- .ezp-btn--secondary { height: var(--ezp-size-button-height); box-sizing: border-box; border: none; border-radius: var(--ezp-radius-sm); padding: 0 var(--ezp-space-lg); background: var(--ezp-light-200); color: var(--ezp-light-700); cursor: pointer; }
116
- .ezp-btn--disabled { height: var(--ezp-size-button-height); box-sizing: border-box; border: none; border-radius: var(--ezp-radius-sm); padding: 0 var(--ezp-space-lg); background: var(--ezp-light-200); color: var(--ezp-light-400); cursor: not-allowed; }
117
- .ezp-action-bar { display: flex; align-items: center; justify-content: flex-end; gap: var(--ezp-space-sm); }
118
- .ezp-switch-note { color: var(--ezp-light-500); }
@@ -1,106 +0,0 @@
1
- /*
2
- * EZP Design System — code tokens (1:1 from Figma variables)
3
- * Source: EZP file 8aASUh5TjMnkoGo6qutYwN
4
- * Colors collection (mode "Light", 44 vars) · Spacing collection (21 vars)
5
- * + 7 text styles. Values are read verbatim from the Figma variables.
6
- * Naming: Figma "group/name" -> --ezp-<group>-<name>. Components must reference
7
- * these tokens — no raw hex / px in component code.
8
- */
9
- @import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');
10
-
11
- :root {
12
- /* ===== Color (44) — Colors / Light ===== */
13
- --ezp-white: #FFFFFF;
14
- --ezp-black: #141413;
15
-
16
- --ezp-logo-blue: #6C91F5;
17
- --ezp-logo-blue-dark: #5D7ED7;
18
- --ezp-logo-blue-50: #B5C7FA;
19
- --ezp-logo-blue-20: #E1E9FD;
20
- --ezp-logo-green: #13BFC0;
21
- --ezp-logo-green-dark: #10ADAD;
22
- --ezp-logo-green-50: #89DFDF;
23
- --ezp-logo-green-20: #CFF2F2;
24
- --ezp-logo-red: #F15E8D;
25
- --ezp-logo-red-dark: #D8547F;
26
- --ezp-logo-red-50: #F8AEC6;
27
- --ezp-logo-red-20: #FCDEE7;
28
- --ezp-logo-yellow: #D1A112;
29
- --ezp-logo-yellow-dark: #BC9010;
30
- --ezp-logo-yellow-50: #E8D088;
31
- --ezp-logo-yellow-20: #F5ECCF;
32
- --ezp-logo-gray: #5F5968;
33
- --ezp-logo-gray-50: #5F5968;
34
-
35
- --ezp-light-50: #EEEFF2;
36
- --ezp-light-100: #E2E4E9;
37
- --ezp-light-200: #CBCFD8;
38
- --ezp-light-300: #B3BAC6;
39
- --ezp-light-400: #9CA4B4;
40
- --ezp-light-500: #858EA3;
41
- --ezp-light-600: #6E7991;
42
- --ezp-light-700: #5C667A;
43
- --ezp-light-800: #4B5363;
44
- --ezp-light-900: #393F4C;
45
- --ezp-light-1000: #272C34;
46
- --ezp-light-1100: #16191D;
47
-
48
- --ezp-dark-50: #0D0F11;
49
- --ezp-dark-100: #16191D;
50
- --ezp-dark-200: #272C34;
51
- --ezp-dark-300: #393F4C;
52
- --ezp-dark-400: #4B5363;
53
- --ezp-dark-500: #5C667A;
54
- --ezp-dark-600: #6E7991;
55
- --ezp-dark-700: #858EA3;
56
- --ezp-dark-800: #9CA4B4;
57
- --ezp-dark-900: #B3BAC6;
58
- --ezp-dark-1000: #CBCFD8;
59
- --ezp-dark-1100: #E2E4E9;
60
-
61
- /* ===== Spacing (9) ===== */
62
- --ezp-space-2xs: 3px;
63
- --ezp-space-xs: 6px;
64
- --ezp-space-sm: 9px;
65
- --ezp-space-md: 12px;
66
- --ezp-space-lg: 15px;
67
- --ezp-space-xl: 18px;
68
- --ezp-space-2xl: 24px;
69
- --ezp-space-3xl: 36px;
70
- --ezp-space-4xl: 48px;
71
-
72
- /* ===== Radius (5) ===== */
73
- --ezp-radius-none: 0px;
74
- --ezp-radius-sm: 3px;
75
- --ezp-radius-md: 6px;
76
- --ezp-radius-lg: 9px;
77
- --ezp-radius-pill: 16px;
78
-
79
- /* ===== Size (7) ===== */
80
- --ezp-size-sidebar-width: 210px;
81
- --ezp-size-sidebar-collapsed: 48px;
82
- --ezp-size-topbar-height: 40px;
83
- --ezp-size-action-bar-height: 40px;
84
- --ezp-size-input-height: 30px;
85
- --ezp-size-button-height: 32px;
86
- --ezp-size-table-row-height: 30px;
87
-
88
- /* ===== Type (family) ===== */
89
- --ezp-font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
90
-
91
- /* ===== Elevation (matches EZP local effect style elevation/sm: drop 0/0 · blur 6 · spread 0 · #000 10%) ===== */
92
- --ezp-elevation-sm: 0 0 6px rgba(0, 0, 0, 0.10);
93
- }
94
-
95
- /*
96
- * Text styles (7) — Figma text styles as utility classes.
97
- * Figma line-height = 100% (= line-height:1). The multi-line caption overrides
98
- * to 1.45 for readability (only deviation; noted in self-report §5/③).
99
- */
100
- .ezp-text-page-title { font-family: var(--ezp-font-family); font-weight: 700; font-size: 18px; line-height: 1; letter-spacing: 0; }
101
- .ezp-text-section-title { font-family: var(--ezp-font-family); font-weight: 700; font-size: 15px; line-height: 1; letter-spacing: 0; }
102
- .ezp-text-card-title { font-family: var(--ezp-font-family); font-weight: 600; font-size: 12px; line-height: 1; letter-spacing: 0; }
103
- .ezp-text-body { font-family: var(--ezp-font-family); font-weight: 400; font-size: 12px; line-height: 1; letter-spacing: 0; }
104
- .ezp-text-body-small { font-family: var(--ezp-font-family); font-weight: 400; font-size: 10.5px; line-height: 1; letter-spacing: 0; }
105
- .ezp-text-caption { font-family: var(--ezp-font-family); font-weight: 400; font-size: 11px; line-height: 1; letter-spacing: 0; }
106
- .ezp-text-body-small-bold { font-family: var(--ezp-font-family); font-weight: 600; font-size: 11px; line-height: 1; letter-spacing: 0; }
@@ -1,94 +0,0 @@
1
- /*
2
- * EZP token manifest — machine-checkable EZP Figma variable -> code token -> value.
3
- * Mirror of tokens.css (single source of truth = tokens.css). Used for the
4
- * mapping table / verification. Values read verbatim from EZP file 8aASUh5TjMnkoGo6qutYwN.
5
- */
6
- export type TokenRow = { ezp: string; cssVar: string; value: string };
7
-
8
- export const colorTokens: TokenRow[] = [
9
- { ezp: 'white', cssVar: '--ezp-white', value: '#FFFFFF' },
10
- { ezp: 'black', cssVar: '--ezp-black', value: '#141413' },
11
- { ezp: 'logo/blue', cssVar: '--ezp-logo-blue', value: '#6C91F5' },
12
- { ezp: 'logo/blue-dark', cssVar: '--ezp-logo-blue-dark', value: '#5D7ED7' },
13
- { ezp: 'logo/blue-50', cssVar: '--ezp-logo-blue-50', value: '#B5C7FA' },
14
- { ezp: 'logo/blue-20', cssVar: '--ezp-logo-blue-20', value: '#E1E9FD' },
15
- { ezp: 'logo/green', cssVar: '--ezp-logo-green', value: '#13BFC0' },
16
- { ezp: 'logo/green-dark', cssVar: '--ezp-logo-green-dark', value: '#10ADAD' },
17
- { ezp: 'logo/green-50', cssVar: '--ezp-logo-green-50', value: '#89DFDF' },
18
- { ezp: 'logo/green-20', cssVar: '--ezp-logo-green-20', value: '#CFF2F2' },
19
- { ezp: 'logo/red', cssVar: '--ezp-logo-red', value: '#F15E8D' },
20
- { ezp: 'logo/red-dark', cssVar: '--ezp-logo-red-dark', value: '#D8547F' },
21
- { ezp: 'logo/red-50', cssVar: '--ezp-logo-red-50', value: '#F8AEC6' },
22
- { ezp: 'logo/red-20', cssVar: '--ezp-logo-red-20', value: '#FCDEE7' },
23
- { ezp: 'logo/yellow', cssVar: '--ezp-logo-yellow', value: '#D1A112' },
24
- { ezp: 'logo/yellow-dark', cssVar: '--ezp-logo-yellow-dark', value: '#BC9010' },
25
- { ezp: 'logo/yellow-50', cssVar: '--ezp-logo-yellow-50', value: '#E8D088' },
26
- { ezp: 'logo/yellow-20', cssVar: '--ezp-logo-yellow-20', value: '#F5ECCF' },
27
- { ezp: 'logo/gray', cssVar: '--ezp-logo-gray', value: '#5F5968' },
28
- { ezp: 'logo/gray-50', cssVar: '--ezp-logo-gray-50', value: '#5F5968' },
29
- { ezp: 'light/50', cssVar: '--ezp-light-50', value: '#EEEFF2' },
30
- { ezp: 'light/100', cssVar: '--ezp-light-100', value: '#E2E4E9' },
31
- { ezp: 'light/200', cssVar: '--ezp-light-200', value: '#CBCFD8' },
32
- { ezp: 'light/300', cssVar: '--ezp-light-300', value: '#B3BAC6' },
33
- { ezp: 'light/400', cssVar: '--ezp-light-400', value: '#9CA4B4' },
34
- { ezp: 'light/500', cssVar: '--ezp-light-500', value: '#858EA3' },
35
- { ezp: 'light/600', cssVar: '--ezp-light-600', value: '#6E7991' },
36
- { ezp: 'light/700', cssVar: '--ezp-light-700', value: '#5C667A' },
37
- { ezp: 'light/800', cssVar: '--ezp-light-800', value: '#4B5363' },
38
- { ezp: 'light/900', cssVar: '--ezp-light-900', value: '#393F4C' },
39
- { ezp: 'light/1000', cssVar: '--ezp-light-1000', value: '#272C34' },
40
- { ezp: 'light/1100', cssVar: '--ezp-light-1100', value: '#16191D' },
41
- { ezp: 'dark/50', cssVar: '--ezp-dark-50', value: '#0D0F11' },
42
- { ezp: 'dark/100', cssVar: '--ezp-dark-100', value: '#16191D' },
43
- { ezp: 'dark/200', cssVar: '--ezp-dark-200', value: '#272C34' },
44
- { ezp: 'dark/300', cssVar: '--ezp-dark-300', value: '#393F4C' },
45
- { ezp: 'dark/400', cssVar: '--ezp-dark-400', value: '#4B5363' },
46
- { ezp: 'dark/500', cssVar: '--ezp-dark-500', value: '#5C667A' },
47
- { ezp: 'dark/600', cssVar: '--ezp-dark-600', value: '#6E7991' },
48
- { ezp: 'dark/700', cssVar: '--ezp-dark-700', value: '#858EA3' },
49
- { ezp: 'dark/800', cssVar: '--ezp-dark-800', value: '#9CA4B4' },
50
- { ezp: 'dark/900', cssVar: '--ezp-dark-900', value: '#B3BAC6' },
51
- { ezp: 'dark/1000', cssVar: '--ezp-dark-1000', value: '#CBCFD8' },
52
- { ezp: 'dark/1100', cssVar: '--ezp-dark-1100', value: '#E2E4E9' },
53
- ];
54
-
55
- export const spaceTokens: TokenRow[] = [
56
- { ezp: 'spacing/2xs', cssVar: '--ezp-space-2xs', value: '3px' },
57
- { ezp: 'spacing/xs', cssVar: '--ezp-space-xs', value: '6px' },
58
- { ezp: 'spacing/sm', cssVar: '--ezp-space-sm', value: '9px' },
59
- { ezp: 'spacing/md', cssVar: '--ezp-space-md', value: '12px' },
60
- { ezp: 'spacing/lg', cssVar: '--ezp-space-lg', value: '15px' },
61
- { ezp: 'spacing/xl', cssVar: '--ezp-space-xl', value: '18px' },
62
- { ezp: 'spacing/2xl', cssVar: '--ezp-space-2xl', value: '24px' },
63
- { ezp: 'spacing/3xl', cssVar: '--ezp-space-3xl', value: '36px' },
64
- { ezp: 'spacing/4xl', cssVar: '--ezp-space-4xl', value: '48px' },
65
- { ezp: 'size/sidebar-width', cssVar: '--ezp-size-sidebar-width', value: '210px' },
66
- { ezp: 'size/sidebar-collapsed', cssVar: '--ezp-size-sidebar-collapsed', value: '48px' },
67
- { ezp: 'size/topbar-height', cssVar: '--ezp-size-topbar-height', value: '40px' },
68
- { ezp: 'size/action-bar-height', cssVar: '--ezp-size-action-bar-height', value: '40px' },
69
- { ezp: 'size/input-height', cssVar: '--ezp-size-input-height', value: '30px' },
70
- { ezp: 'size/button-height', cssVar: '--ezp-size-button-height', value: '32px' },
71
- { ezp: 'size/table-row-height', cssVar: '--ezp-size-table-row-height', value: '30px' },
72
- ];
73
-
74
- export const radiusTokens: TokenRow[] = [
75
- { ezp: 'radius/none', cssVar: '--ezp-radius-none', value: '0px' },
76
- { ezp: 'radius/sm', cssVar: '--ezp-radius-sm', value: '3px' },
77
- { ezp: 'radius/md', cssVar: '--ezp-radius-md', value: '6px' },
78
- { ezp: 'radius/lg', cssVar: '--ezp-radius-lg', value: '9px' },
79
- { ezp: 'radius/pill', cssVar: '--ezp-radius-pill', value: '16px' },
80
- ];
81
-
82
- export const elevationTokens = [
83
- { ezp: 'elevation/sm', cssVar: '--ezp-elevation-sm', value: '0 0 6px rgba(0, 0, 0, 0.10)', note: 'matches EZP local effect style elevation/sm (drop 0/0 · blur 6 · spread 0 · #000 10%)' },
84
- ];
85
-
86
- export const textTokens = [
87
- { ezp: 'heading/page-title', cssClass: '.ezp-text-page-title', value: 'Pretendard 700 / 18px / 100%' },
88
- { ezp: 'heading/section-title', cssClass: '.ezp-text-section-title', value: 'Pretendard 700 / 15px / 100%' },
89
- { ezp: 'heading/card-title', cssClass: '.ezp-text-card-title', value: 'Pretendard 600 / 12px / 100%' },
90
- { ezp: 'body/default', cssClass: '.ezp-text-body', value: 'Pretendard 400 / 12px / 100%' },
91
- { ezp: 'body/small', cssClass: '.ezp-text-body-small', value: 'Pretendard 400 / 10.5px / 100%' },
92
- { ezp: 'caption', cssClass: '.ezp-text-caption', value: 'Pretendard 400 / 11px / 100%' },
93
- { ezp: 'body/small-bold', cssClass: '.ezp-text-body-small-bold', value: 'Pretendard 600 / 11px / 100%' },
94
- ];