Files
front-ui-registry/registry/components/registry.json

582 lines
18 KiB
JSON

{
"$schema": "https://ui.shadcn.com/schema/registry.json",
"items": [
{
"name": "kri-chart",
"type": "registry:component",
"title": "KRI Chart",
"description": "KRI common ECharts wrapper component with resize remounting and optional numeric data normalization.",
"dependencies": [
"echarts",
"echarts-for-react"
],
"files": [
{
"path": "chart/BaseEChart.tsx",
"type": "registry:component",
"target": "@components/chart/BaseEChart.tsx"
},
{
"path": "chart/KriLineChart.tsx",
"type": "registry:component",
"target": "@components/chart/KriLineChart.tsx"
},
{
"path": "chart/KriBarChart.tsx",
"type": "registry:component",
"target": "@components/chart/KriBarChart.tsx"
},
{
"path": "chart/KriStackedBarChart.tsx",
"type": "registry:component",
"target": "@components/chart/KriStackedBarChart.tsx"
},
{
"path": "chart/KriPieChart.tsx",
"type": "registry:component",
"target": "@components/chart/KriPieChart.tsx"
},
{
"path": "chart/KriRadarChart.tsx",
"type": "registry:component",
"target": "@components/chart/KriRadarChart.tsx"
},
{
"path": "chart/KriScatterChart.tsx",
"type": "registry:component",
"target": "@components/chart/KriScatterChart.tsx"
},
{
"path": "chart/chart.config.ts",
"type": "registry:component",
"target": "@components/chart/chart.config.ts"
},
{
"path": "chart/chart.types.ts",
"type": "registry:component",
"target": "@components/chart/chart.types.ts"
},
{
"path": "chart/chart.utils.ts",
"type": "registry:component",
"target": "@components/chart/chart.utils.ts"
},
{
"path": "chart/useResizeKey.ts",
"type": "registry:component",
"target": "@components/chart/useResizeKey.ts"
},
{
"path": "chart/index.ts",
"type": "registry:component",
"target": "@components/chart/index.ts"
}
]
},
{
"name": "kri-select",
"type": "registry:component",
"title": "KRI Select",
"description": "KRI 공통 단일 선택 컴포넌트입니다.",
"registryDependencies": [
"select"
],
"files": [
{
"path": "KriSelect.tsx",
"type": "registry:component",
"target": "@components/common/KriSelect.tsx"
}
]
},
{
"name": "kri-date-range-picker",
"type": "registry:component",
"title": "KRI Date Range Picker",
"description": "시작일과 종료일을 선택하고 초기화할 수 있는 KRI 공통 날짜 범위 컴포넌트입니다.",
"registryDependencies": [
"button",
"calendar",
"popover"
],
"dependencies": [
"lucide-react"
],
"files": [
{
"path": "KriDateRangePicker.tsx",
"type": "registry:component",
"target": "@components/common/KriDateRangePicker.tsx"
}
]
},
{
"name": "kri-date-picker",
"type": "registry:component",
"title": "KRI Date Picker",
"description": "KRI common single date picker component.",
"registryDependencies": [
"button",
"calendar",
"popover"
],
"dependencies": [
"lucide-react"
],
"files": [
{
"path": "KriDatePicker.tsx",
"type": "registry:component",
"target": "@components/common/KriDatePicker.tsx"
}
]
},
{
"name": "kri-date-time-picker",
"type": "registry:component",
"title": "KRI Date Time Picker",
"description": "KRI common date and time picker component.",
"registryDependencies": [
"button",
"calendar",
"popover",
"scroll-area"
],
"dependencies": [
"lucide-react"
],
"files": [
{
"path": "KriDateTimePicker.tsx",
"type": "registry:component",
"target": "@components/common/KriDateTimePicker.tsx"
},
{
"path": "KriTimePicker.tsx",
"type": "registry:component",
"target": "@components/common/KriTimePicker.tsx"
}
]
},
{
"name": "kri-time-picker",
"type": "registry:component",
"title": "KRI Time Picker",
"description": "KRI common 24-hour time picker component.",
"registryDependencies": [
"button",
"scroll-area"
],
"files": [
{
"path": "KriTimePicker.tsx",
"type": "registry:component",
"target": "@components/common/KriTimePicker.tsx"
}
]
},
{
"name": "kri-password",
"type": "registry:component",
"title": "KRI Password",
"description": "8~20자 비밀번호 규칙과 표시 전환 및 강도 안내를 제공하는 컴포넌트입니다.",
"registryDependencies": [
"button",
"input",
"label"
],
"dependencies": [
"lucide-react"
],
"files": [
{
"path": "KriPassword.tsx",
"type": "registry:component",
"target": "@components/common/KriPassword.tsx"
}
]
},
{
"name": "kri-auto-complete",
"type": "registry:component",
"title": "KRI Auto Complete",
"description": "단일·다중 선택, 로컬 필터 및 서버 검색을 지원하는 KRI 공통 자동완성 컴포넌트입니다.",
"registryDependencies": [
"badge",
"button",
"command",
"popover",
"tooltip"
],
"dependencies": [
"lucide-react"
],
"files": [
{
"path": "KriAutoComplete.tsx",
"type": "registry:component",
"target": "@components/common/KriAutoComplete.tsx"
},
{
"path": "multi-select/MultiSelect.tsx",
"type": "registry:component",
"target": "@components/common/multi-select/MultiSelect.tsx"
},
{
"path": "multi-select/MultiSelectContent.tsx",
"type": "registry:component",
"target": "@components/common/multi-select/MultiSelectContent.tsx"
},
{
"path": "multi-select/MultiSelectTrigger.tsx",
"type": "registry:component",
"target": "@components/common/multi-select/MultiSelectTrigger.tsx"
},
{
"path": "multi-select/index.ts",
"type": "registry:component",
"target": "@components/common/multi-select/index.ts"
},
{
"path": "multi-select/types.ts",
"type": "registry:component",
"target": "@components/common/multi-select/types.ts"
},
{
"path": "multi-select/use-responsive-settings.ts",
"type": "registry:component",
"target": "@components/common/multi-select/use-responsive-settings.ts"
},
{
"path": "multi-select/utils.ts",
"type": "registry:component",
"target": "@components/common/multi-select/utils.ts"
}
]
},
{
"name": "kri-data-table",
"type": "registry:component",
"title": "KRI Data Table",
"description": "클라이언트·서버 페이지네이션, 정렬, 행 선택을 지원하는 공통 데이터 테이블입니다.",
"registryDependencies": [
"button",
"checkbox",
"pagination",
"select",
"table"
],
"dependencies": [
"@tanstack/react-table@^8.21.3",
"lucide-react"
],
"files": [
{
"path": "data-table/DataTable.tsx",
"type": "registry:component",
"target": "@components/data-table/DataTable.tsx"
},
{
"path": "data-table/DataTable.type.ts",
"type": "registry:component",
"target": "@components/data-table/DataTable.type.ts"
},
{
"path": "data-table/DataTablePagination.tsx",
"type": "registry:component",
"target": "@components/data-table/DataTablePagination.tsx"
},
{
"path": "data-table/hooks/usePagination.ts",
"type": "registry:component",
"target": "@components/data-table/hooks/usePagination.ts"
},
{
"path": "data-table/hooks/usePreventClickOnDrag.ts",
"type": "registry:component",
"target": "@components/data-table/hooks/usePreventClickOnDrag.ts"
},
{
"path": "data-table/index.ts",
"type": "registry:component",
"target": "@components/data-table/index.ts"
}
]
},
{
"name": "kri-loading-overlay",
"type": "registry:component",
"title": "KRI Loading Overlay",
"description": "상태 관리 라이브러리에 의존하지 않고 open prop으로 제어하는 로딩 오버레이입니다.",
"files": [
{
"path": "KriLoadingOverlay.tsx",
"type": "registry:component",
"target": "@components/common/KriLoadingOverlay.tsx"
}
]
},
{
"name": "kri-editor",
"type": "registry:component",
"title": "KRI Editor",
"description": "WYSIWYG, HTML, SMS 모드, 알림톡(KKO) 미리보기와 주입형 이미지 업로드 및 선택형 툴바를 제공하는 편집기입니다.",
"registryDependencies": [
"button",
"dropdown-menu",
"input",
"popover",
"separator"
],
"dependencies": [
"@tiptap/extension-color",
"@tiptap/extension-font-family",
"@tiptap/extension-highlight",
"@tiptap/extension-image",
"@tiptap/extension-link",
"@tiptap/extension-placeholder",
"@tiptap/extension-table",
"@tiptap/extension-table-cell",
"@tiptap/extension-table-header",
"@tiptap/extension-table-row",
"@tiptap/extension-text-align",
"@tiptap/extension-text-style",
"@tiptap/extension-underline",
"@tiptap/react",
"@tiptap/starter-kit",
"dompurify",
"lucide-react",
"prettier",
"sonner"
],
"files": [
{
"path": "kri-editor/KriEditor.tsx",
"type": "registry:component",
"target": "@components/kri-editor/KriEditor.tsx"
},
{
"path": "kri-editor/KriEditorHtmlOnly.tsx",
"type": "registry:component",
"target": "@components/kri-editor/KriEditorHtmlOnly.tsx"
},
{
"path": "kri-editor/KriEditorKko.tsx",
"type": "registry:component",
"target": "@components/kri-editor/KriEditorKko.tsx"
},
{
"path": "kri-editor/KriEditorSms.tsx",
"type": "registry:component",
"target": "@components/kri-editor/KriEditorSms.tsx"
},
{
"path": "kri-editor/KriEditorWysiwyg.tsx",
"type": "registry:component",
"target": "@components/kri-editor/KriEditorWysiwyg.tsx"
},
{
"path": "kri-editor/extensions/div.ts",
"type": "registry:component",
"target": "@components/kri-editor/extensions/div.ts"
},
{
"path": "kri-editor/extensions/font-size.ts",
"type": "registry:component",
"target": "@components/kri-editor/extensions/font-size.ts"
},
{
"path": "kri-editor/extensions/image-map.ts",
"type": "registry:component",
"target": "@components/kri-editor/extensions/image-map.ts"
},
{
"path": "kri-editor/hooks/useDebouncedChange.ts",
"type": "registry:component",
"target": "@components/kri-editor/hooks/useDebouncedChange.ts"
},
{
"path": "kri-editor/hooks/useTextareaInsert.ts",
"type": "registry:component",
"target": "@components/kri-editor/hooks/useTextareaInsert.ts"
},
{
"path": "kri-editor/hooks/useImageMapOverlay.ts",
"type": "registry:component",
"target": "@components/kri-editor/hooks/useImageMapOverlay.ts"
},
{
"path": "kri-editor/index.ts",
"type": "registry:component",
"target": "@components/kri-editor/index.ts"
},
{
"path": "kri-editor/toolbar/Toolbar.tsx",
"type": "registry:component",
"target": "@components/kri-editor/toolbar/Toolbar.tsx"
},
{
"path": "kri-editor/toolbar/ToolbarButton.tsx",
"type": "registry:component",
"target": "@components/kri-editor/toolbar/ToolbarButton.tsx"
},
{
"path": "kri-editor/types.ts",
"type": "registry:component",
"target": "@components/kri-editor/types.ts"
},
{
"path": "kri-editor/utils/editorTypeGuards.ts",
"type": "registry:component",
"target": "@components/kri-editor/utils/editorTypeGuards.ts"
},
{
"path": "kri-editor/utils/emptyParagraph.ts",
"type": "registry:component",
"target": "@components/kri-editor/utils/emptyParagraph.ts"
},
{
"path": "kri-editor/utils/fontFamilyOptions.ts",
"type": "registry:component",
"target": "@components/kri-editor/utils/fontFamilyOptions.ts"
},
{
"path": "kri-editor/utils/formatHtml.ts",
"type": "registry:component",
"target": "@components/kri-editor/utils/formatHtml.ts"
},
{
"path": "kri-editor/utils/imageMapOverlay.ts",
"type": "registry:component",
"target": "@components/kri-editor/utils/imageMapOverlay.ts"
},
{
"path": "kri-editor/utils/imageCompression.ts",
"type": "registry:component",
"target": "@components/kri-editor/utils/imageCompression.ts"
},
{
"path": "kri-editor/utils/linkPreview.ts",
"type": "registry:component",
"target": "@components/kri-editor/utils/linkPreview.ts"
},
{
"path": "kri-editor/utils/sanitizeHtml.ts",
"type": "registry:component",
"target": "@components/kri-editor/utils/sanitizeHtml.ts"
}
]
},
{
"name": "kri-layout",
"type": "registry:component",
"title": "KRI Layout",
"description": "프로젝트 상태와 라우터에 의존하지 않는 Header, Sidebar, MainLayout, PageTitle 컴포넌트 모음입니다.",
"registryDependencies": [
"button"
],
"dependencies": [
"lucide-react"
],
"files": [
{
"path": "layout/KriHeader.tsx",
"type": "registry:component",
"target": "@components/layout/KriHeader.tsx"
},
{
"path": "layout/KriMainLayout.tsx",
"type": "registry:component",
"target": "@components/layout/KriMainLayout.tsx"
},
{
"path": "layout/KriPageTitle.tsx",
"type": "registry:component",
"target": "@components/layout/KriPageTitle.tsx"
},
{
"path": "layout/KriSidebar.tsx",
"type": "registry:component",
"target": "@components/layout/KriSidebar.tsx"
},
{
"path": "layout/index.ts",
"type": "registry:component",
"target": "@components/layout/index.ts"
},
{
"path": "layout/types.ts",
"type": "registry:component",
"target": "@components/layout/types.ts"
}
]
},
{
"name": "kri-dialog",
"type": "registry:component",
"title": "KRI Dialog",
"description": "빈 Body, 기본 닫기 Footer 및 사용자 정의 Footer를 지원하는 범용 다이얼로그입니다.",
"registryDependencies": [
"button",
"dialog"
],
"files": [
{
"path": "KriDialog.tsx",
"type": "registry:component",
"target": "@components/common/KriDialog.tsx"
}
]
},
{
"name": "kri-color-palette",
"type": "registry:component",
"title": "KRI Color Palette",
"description": "기본 색상 버튼, 색상 영역·색조 슬라이더, HEX 입력과 선택적 투명도를 지원하는 색상 선택 컴포넌트입니다.",
"registryDependencies": [
"button",
"input",
"popover",
"select"
],
"dependencies": [
"class-variance-authority",
"lucide-react",
"radix-ui"
],
"files": [
{
"path": "KriColorPalette.tsx",
"type": "registry:component",
"target": "@components/common/KriColorPalette.tsx"
},
{
"path": "color-palette/color.ts",
"type": "registry:component",
"target": "@components/common/color-palette/color.ts"
},
{
"path": "color-palette/color-picker.tsx",
"type": "registry:component",
"target": "@components/common/color-palette/color-picker.tsx"
},
{
"path": "color-palette/visually-hidden-input.tsx",
"type": "registry:component",
"target": "@components/common/color-palette/visually-hidden-input.tsx"
},
{
"path": "color-palette/use-ref-with-init.ts",
"type": "registry:component",
"target": "@components/common/color-palette/use-ref-with-init.ts"
},
{
"path": "color-palette/use-value-as-ref.ts",
"type": "registry:component",
"target": "@components/common/color-palette/use-value-as-ref.ts"
}
]
}
]
}