docs: 调整组件导航结构 (#3758)

- Layout 更名为 Grid
This commit is contained in:
ddcat1115 2016-11-09 14:43:32 +08:00 committed by Benjy Cui
parent 4d2bdfd93d
commit 0baef0627e
109 changed files with 106 additions and 104 deletions

View File

@ -12,7 +12,7 @@
"newlineAfterBlock": false, "newlineAfterBlock": false,
"maxCharPerLine": false, "maxCharPerLine": false,
"excludedFiles": [ "excludedFiles": [
"components/layout/style/mixin.less", "components/grid/style/mixin.less",
"components/style/core/base.less", "components/style/core/base.less",
"components/style/core/iconfont.less", "components/style/core/iconfont.less",
"components/style/core/normalize.less", "components/style/core/normalize.less",

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Other type: Navigation
title: Affix title: Affix
--- ---

View File

@ -1,7 +1,7 @@
--- ---
category: Components category: Components
subtitle: 固钉 subtitle: 固钉
type: Other type: Navigation
title: Affix title: Affix
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Views type: Feedback
title: Alert title: Alert
--- ---

View File

@ -1,7 +1,7 @@
--- ---
category: Components category: Components
subtitle: 警告提示 subtitle: 警告提示
type: Views type: Feedback
title: Alert title: Alert
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Form Controls type: Data Entry
cols: 1 cols: 1
title: AutoComplete title: AutoComplete
--- ---

View File

@ -1,7 +1,7 @@
--- ---
category: Components category: Components
subtitle: 自动完成 subtitle: 自动完成
type: Form Controls type: Data Entry
cols: 1 cols: 1
title: AutoComplete title: AutoComplete
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Other type: Navigation
title: BackTop title: BackTop
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Other type: Navigation
subtitle: 回到顶部 subtitle: 回到顶部
title: BackTop title: BackTop
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Views type: Data Display
title: Badge title: Badge
--- ---

View File

@ -1,7 +1,7 @@
--- ---
category: Components category: Components
subtitle: 徽标数 subtitle: 徽标数
type: Views type: Data Display
title: Badge title: Badge
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Basic type: General
title: Button title: Button
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Basic type: General
title: Button title: Button
subtitle: 按钮 subtitle: 按钮
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Views type: Data Display
cols: 1 cols: 1
title: Calendar title: Calendar
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Views type: Data Display
subtitle: 日历 subtitle: 日历
cols: 1 cols: 1
title: Calendar title: Calendar

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Views type: Data Display
title: Card title: Card
cols: 1 cols: 1
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Views type: Data Display
title: Card title: Card
subtitle: 卡片 subtitle: 卡片
cols: 1 cols: 1

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Views type: Data Display
title: Carousel title: Carousel
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Views type: Data Display
title: Carousel title: Carousel
subtitle: 走马灯 subtitle: 走马灯
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Form Controls type: Data Entry
title: Cascader title: Cascader
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Form Controls type: Data Entry
title: Cascader title: Cascader
subtitle: 级联选择 subtitle: 级联选择
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Form Controls type: Data Entry
title: Checkbox title: Checkbox
--- ---

View File

@ -1,7 +1,7 @@
--- ---
category: Components category: Components
subtitle: 多选框 subtitle: 多选框
type: Form Controls type: Data Entry
title: Checkbox title: Checkbox
--- ---

View File

@ -1,2 +1,2 @@
import { Col } from '../layout'; import { Col } from '../grid';
export default Col; export default Col;

View File

@ -1,2 +1,2 @@
import '../../style/index.less'; import '../../style/index.less';
import '../../layout/style/index.less'; import '../../grid/style/index.less';

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Views type: Data Display
title: Collapse title: Collapse
cols: 1 cols: 1
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Views type: Data Display
title: Collapse title: Collapse
subtitle: 折叠面板 subtitle: 折叠面板
cols: 1 cols: 1

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Form Controls type: Data Entry
title: DatePicker title: DatePicker
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Form Controls type: Data Entry
title: DatePicker title: DatePicker
subtitle: 日期选择框 subtitle: 日期选择框
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Views type: Navigation
title: Dropdown title: Dropdown
--- ---

View File

@ -1,7 +1,7 @@
--- ---
category: Components category: Components
subtitle: 下拉菜单 subtitle: 下拉菜单
type: Views type: Navigation
title: Dropdown title: Dropdown
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Form Controls type: Data Entry
cols: 1 cols: 1
title: Form title: Form
--- ---

View File

@ -1,7 +1,7 @@
--- ---
category: Components category: Components
subtitle: 表单 subtitle: 表单
type: Form Controls type: Data Entry
cols: 1 cols: 1
title: Form title: Form
--- ---

View File

@ -2,7 +2,7 @@
@import "../../style/mixins/index"; @import "../../style/mixins/index";
@import "../../input/style/mixin"; @import "../../input/style/mixin";
@import "../../button/style/mixin"; @import "../../button/style/mixin";
@import "../../layout/style/mixin"; @import "../../grid/style/mixin";
@import "./mixin"; @import "./mixin";
@form-prefix-cls: ~"@{ant-prefix}-form"; @form-prefix-cls: ~"@{ant-prefix}-form";

View File

@ -2,4 +2,4 @@ import '../../style/index.less';
import './index.less'; import './index.less';
// style dependencies // style dependencies
import '../../layout/style'; import '../../grid/style';

View File

@ -1,15 +1,15 @@
--- ---
category: Components category: Components
type: Basic type: Layout
cols: 1 cols: 1
title: Layout title: Grid
--- ---
24 Grids System。 24 Grids System。
## Design concept ## Design concept
<div class="layout-demo"> <div class="grid-demo">
<div class="ant-row demo-row"> <div class="ant-row demo-row">
<div class="ant-col-24 demo-col demo-col-1"> <div class="ant-col-24 demo-col demo-col-1">
100% 100%

View File

@ -1,16 +1,16 @@
--- ---
category: Components category: Components
subtitle: 栅格 subtitle: 栅格
type: Basic type: Layout
cols: 1 cols: 1
title: Layout title: Grid
--- ---
24 栅格系统。 24 栅格系统。
## 设计理念 ## 设计理念
<div class="layout-demo"> <div class="grid-demo">
<div class="ant-row demo-row"> <div class="ant-row demo-row">
<div class="ant-col-24 demo-col demo-col-1"> <div class="ant-col-24 demo-col demo-col-1">
100% 100%

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Basic type: General
title: Icon title: Icon
toc: false toc: false
--- ---

View File

@ -1,7 +1,7 @@
--- ---
category: Components category: Components
subtitle: 图标 subtitle: 图标
type: Basic type: General
title: Icon title: Icon
toc: false toc: false
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Form Controls type: Data Entry
title: InputNumber title: InputNumber
--- ---

View File

@ -1,7 +1,7 @@
--- ---
category: Components category: Components
subtitle: 数字输入框 subtitle: 数字输入框
type: Form Controls type: Data Entry
title: InputNumber title: InputNumber
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Form Controls type: Data Entry
title: Input title: Input
--- ---

View File

@ -1,7 +1,7 @@
--- ---
category: Components category: Components
subtitle: 输入框 subtitle: 输入框
type: Form Controls type: Data Entry
title: Input title: Input
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Other type: Localization
cols: 1 cols: 1
title: LocaleProvider title: LocaleProvider
--- ---

View File

@ -2,7 +2,7 @@
category: Components category: Components
subtitle: 国际化 subtitle: 国际化
cols: 1 cols: 1
type: Other type: Localization
title: LocaleProvider title: LocaleProvider
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Views type: Data Entry
title: Mention title: Mention
--- ---

View File

@ -1,7 +1,7 @@
--- ---
category: Components category: Components
subtitle: 提及 subtitle: 提及
type: Views type: Data Entry
title: Mention title: Mention
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Views type: Feedback
noinstant: true noinstant: true
title: Message title: Message
--- ---

View File

@ -1,7 +1,7 @@
--- ---
category: Components category: Components
subtitle: 全局提示 subtitle: 全局提示
type: Views type: Feedback
noinstant: true noinstant: true
title: Message title: Message
--- ---

View File

@ -1,5 +1,5 @@
--- ---
type: Views type: Feedback
category: Components category: Components
title: Modal title: Modal
--- ---

View File

@ -1,5 +1,5 @@
--- ---
type: Views type: Feedback
category: Components category: Components
subtitle: 对话框 subtitle: 对话框
title: Modal title: Modal

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Views type: Feedback
noinstant: true noinstant: true
title: Notification title: Notification
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Views type: Feedback
noinstant: true noinstant: true
title: Notification title: Notification
subtitle: 通知提醒框 subtitle: 通知提醒框

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Views type: Feedback
title: Popconfirm title: Popconfirm
--- ---

View File

@ -1,7 +1,7 @@
--- ---
category: Components category: Components
subtitle: 气泡确认框 subtitle: 气泡确认框
type: Views type: Feedback
title: Popconfirm title: Popconfirm
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Views type: Data Display
title: Popover title: Popover
--- ---

View File

@ -1,7 +1,7 @@
--- ---
category: Components category: Components
subtitle: 气泡卡片 subtitle: 气泡卡片
type: Views type: Data Display
title: Popover title: Popover
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Views type: Feedback
title: Progress title: Progress
--- ---

View File

@ -1,7 +1,7 @@
--- ---
category: Components category: Components
subtitle: 进度条 subtitle: 进度条
type: Views type: Feedback
title: Progress title: Progress
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Form Controls type: Data Entry
title: Radio title: Radio
--- ---

View File

@ -1,7 +1,7 @@
--- ---
category: Components category: Components
subtitle: 单选框 subtitle: 单选框
type: Form Controls type: Data Entry
title: Radio title: Radio
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Form Controls type: Data Entry
title: Rate title: Rate
--- ---

View File

@ -1,7 +1,7 @@
--- ---
category: Components category: Components
subtitle: 评分 subtitle: 评分
type: Form Controls type: Data Entry
title: Rate title: Rate
--- ---

View File

@ -1,2 +1,2 @@
import { Row } from '../layout'; import { Row } from '../grid';
export default Row; export default Row;

View File

@ -1,2 +1,2 @@
import '../../style/index.less'; import '../../style/index.less';
import '../../layout/style/index.less'; import '../../grid/style/index.less';

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Form Controls type: Data Entry
title: Select title: Select
--- ---

View File

@ -1,7 +1,7 @@
--- ---
category: Components category: Components
subtitle: 选择器 subtitle: 选择器
type: Form Controls type: Data Entry
title: Select title: Select
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Form Controls type: Data Entry
title: Slider title: Slider
--- ---

View File

@ -1,7 +1,7 @@
--- ---
category: Components category: Components
subtitle: 滑动输入条 subtitle: 滑动输入条
type: Form Controls type: Data Entry
title: Slider title: Slider
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Other type: Feedback
title: Spin title: Spin
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Other type: Feedback
title: Spin title: Spin
subtitle: 加载中 subtitle: 加载中
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Form Controls type: Data Entry
title: Switch title: Switch
--- ---

View File

@ -1,7 +1,7 @@
--- ---
category: Components category: Components
subtitle: 开关 subtitle: 开关
type: Form Controls type: Data Entry
title: Switch title: Switch
--- ---

View File

@ -1,7 +1,7 @@
--- ---
category: Components category: Components
cols: 1 cols: 1
type: Views type: Data Display
title: Table title: Table
--- ---

View File

@ -1,7 +1,7 @@
--- ---
category: Components category: Components
cols: 1 cols: 1
type: Views type: Data Display
title: Table title: Table
subtitle: 表格 subtitle: 表格
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Views type: Data Display
title: Tag title: Tag
--- ---

View File

@ -1,7 +1,7 @@
--- ---
category: Components category: Components
subtitle: 标签 subtitle: 标签
type: Views type: Data Display
title: Tag title: Tag
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Form Controls type: Data Entry
title: TimePicker title: TimePicker
--- ---

View File

@ -1,7 +1,7 @@
--- ---
category: Components category: Components
subtitle: 时间选择框 subtitle: 时间选择框
type: Form Controls type: Data Entry
title: TimePicker title: TimePicker
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Views type: Data Display
title: Timeline title: Timeline
--- ---

View File

@ -1,7 +1,7 @@
--- ---
category: Components category: Components
subtitle: 时间轴 subtitle: 时间轴
type: Views type: Data Display
title: Timeline title: Timeline
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Views type: Data Display
title: Tooltip title: Tooltip
--- ---

View File

@ -1,7 +1,7 @@
--- ---
category: Components category: Components
subtitle: 文字提示 subtitle: 文字提示
type: Views type: Data Display
title: Tooltip title: Tooltip
--- ---

View File

@ -1,6 +1,6 @@
--- ---
category: Components category: Components
type: Form Controls type: Data Entry
cols: 1 cols: 1
title: Transfer title: Transfer
--- ---

View File

@ -1,7 +1,7 @@
--- ---
category: Components category: Components
subtitle: 穿梭框 subtitle: 穿梭框
type: Form Controls type: Data Entry
cols: 1 cols: 1
title: Transfer title: Transfer
--- ---

Some files were not shown because too many files have changed in this diff Show More