@xfilecom/front-core 0.2.28 → 0.2.31
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/README.md +10 -0
- package/dist/base.css +717 -0
- package/dist/components/atoms/Accordion.d.ts +18 -0
- package/dist/components/atoms/Accordion.js +68 -0
- package/dist/components/atoms/Alert.d.ts +12 -0
- package/dist/components/atoms/Alert.js +24 -0
- package/dist/components/atoms/AspectRatio.d.ts +8 -0
- package/dist/components/atoms/AspectRatio.js +10 -0
- package/dist/components/atoms/Avatar.d.ts +22 -0
- package/dist/components/atoms/Avatar.js +32 -0
- package/dist/components/atoms/Breadcrumb.d.ts +15 -0
- package/dist/components/atoms/Breadcrumb.js +27 -0
- package/dist/components/atoms/Collapsible.d.ts +12 -0
- package/dist/components/atoms/Collapsible.js +42 -0
- package/dist/components/atoms/Label.d.ts +8 -0
- package/dist/components/atoms/Label.js +10 -0
- package/dist/components/atoms/Pagination.d.ts +13 -0
- package/dist/components/atoms/Pagination.js +25 -0
- package/dist/components/atoms/Progress.d.ts +8 -0
- package/dist/components/atoms/Progress.js +9 -0
- package/dist/components/atoms/RadioGroup.d.ts +15 -0
- package/dist/components/atoms/RadioGroup.js +37 -0
- package/dist/components/atoms/ScrollArea.d.ts +8 -0
- package/dist/components/atoms/ScrollArea.js +15 -0
- package/dist/components/atoms/Separator.d.ts +10 -0
- package/dist/components/atoms/Separator.js +17 -0
- package/dist/components/atoms/Skeleton.d.ts +6 -0
- package/dist/components/atoms/Skeleton.js +15 -0
- package/dist/components/atoms/Slider.d.ts +4 -0
- package/dist/components/atoms/Slider.js +9 -0
- package/dist/components/atoms/Switch.d.ts +10 -0
- package/dist/components/atoms/Switch.js +12 -0
- package/dist/components/atoms/Table.d.ts +20 -0
- package/dist/components/atoms/Table.js +38 -0
- package/dist/components/atoms/Tabs.d.ts +20 -0
- package/dist/components/atoms/Tabs.js +54 -0
- package/dist/components/atoms/Toggle.d.ts +8 -0
- package/dist/components/atoms/Toggle.js +23 -0
- package/dist/components/atoms/Tooltip.d.ts +10 -0
- package/dist/components/atoms/Tooltip.js +12 -0
- package/dist/components/atoms/index.d.ts +22 -3
- package/dist/components/atoms/index.js +76 -7
- package/dist/generatedVersion.d.ts +1 -1
- package/dist/generatedVersion.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +51 -1
- package/dist/showcase/DesignSystemShowcase.d.ts +2 -0
- package/dist/showcase/DesignSystemShowcase.js +19 -0
- package/dist/showcase/ShowcaseContext.d.ts +48 -0
- package/dist/showcase/ShowcaseContext.js +117 -0
- package/dist/showcase/components/CodeBlock.d.ts +7 -0
- package/dist/showcase/components/CodeBlock.js +11 -0
- package/dist/showcase/components/SectionTitle.d.ts +4 -0
- package/dist/showcase/components/SectionTitle.js +8 -0
- package/dist/showcase/components/ShowcaseChrome.d.ts +2 -0
- package/dist/showcase/components/ShowcaseChrome.js +25 -0
- package/dist/showcase/components/ShowcaseDemo.d.ts +10 -0
- package/dist/showcase/components/ShowcaseDemo.js +9 -0
- package/dist/showcase/components/icons.d.ts +2 -0
- package/dist/showcase/components/icons.js +11 -0
- package/dist/showcase/index.d.ts +4 -0
- package/dist/showcase/index.js +10 -0
- package/dist/showcase/nav.d.ts +26 -0
- package/dist/showcase/nav.js +13 -0
- package/dist/showcase/sections/ActionsSection.d.ts +1 -0
- package/dist/showcase/sections/ActionsSection.js +24 -0
- package/dist/showcase/sections/FeedbackSection.d.ts +1 -0
- package/dist/showcase/sections/FeedbackSection.js +17 -0
- package/dist/showcase/sections/FormsSection.d.ts +1 -0
- package/dist/showcase/sections/FormsSection.js +20 -0
- package/dist/showcase/sections/LayoutSection.d.ts +1 -0
- package/dist/showcase/sections/LayoutSection.js +19 -0
- package/dist/showcase/sections/OverlaysSection.d.ts +1 -0
- package/dist/showcase/sections/OverlaysSection.js +25 -0
- package/dist/showcase/sections/OverviewSection.d.ts +1 -0
- package/dist/showcase/sections/OverviewSection.js +17 -0
- package/dist/showcase/sections/SurfacesSection.d.ts +1 -0
- package/dist/showcase/sections/SurfacesSection.js +38 -0
- package/dist/showcase/sections/TypographySection.d.ts +1 -0
- package/dist/showcase/sections/TypographySection.js +24 -0
- package/dist/showcase.css +235 -0
- package/docs/COMPONENTS.md +26 -0
- package/docs/SHADCN.md +66 -0
- package/package.json +8 -3
package/README.md
CHANGED
|
@@ -8,6 +8,7 @@ Design tokens (`tokens.css`), atomic layout (`base.css`), browser-only React com
|
|
|
8
8
|
|------|------|
|
|
9
9
|
| [docs/DESIGN_SYSTEM.md](./docs/DESIGN_SYSTEM.md) | MUI Paper / react-native-paper 등과 **개념 매핑**, elevation·역할 색 |
|
|
10
10
|
| [docs/COMPONENTS.md](./docs/COMPONENTS.md) | 컴포넌트별 **소스 경로**, props 요약, **복붙 예제 코드** |
|
|
11
|
+
| [docs/SHADCN.md](./docs/SHADCN.md) | [shadcn/ui](https://ui.shadcn.com/) **대응표** — Radix 없이 쓰는 범위·앱 의존 권장 |
|
|
11
12
|
|
|
12
13
|
npm 패키지에 `docs/`가 포함되므로, 설치 후 `node_modules/@xfilecom/front-core/docs/`에서도 동일 파일을 볼 수 있다.
|
|
13
14
|
|
|
@@ -36,6 +37,15 @@ import {
|
|
|
36
37
|
|
|
37
38
|
서브패스: `@xfilecom/front-core/atoms`, `@xfilecom/front-core/overlays`.
|
|
38
39
|
|
|
40
|
+
## Showcase (라이브 갤러리)
|
|
41
|
+
|
|
42
|
+
`tokens.css`·`base.css`(·앱 테마) 다음에 스타일을 한 줄 더 넣고, 컴포넌트를 import 합니다.
|
|
43
|
+
|
|
44
|
+
```tsx
|
|
45
|
+
import '@xfilecom/front-core/showcase.css';
|
|
46
|
+
import { DesignSystemShowcase } from '@xfilecom/front-core/showcase';
|
|
47
|
+
```
|
|
48
|
+
|
|
39
49
|
## Paper (표면)
|
|
40
50
|
|
|
41
51
|
MUI `Paper` / RN `Surface`에 대응하는 얇은 래퍼:
|