From 70291d5514e87e5aa67dd5e5dca356b41690e112 Mon Sep 17 00:00:00 2001 From: Benjy Cui Date: Mon, 30 Oct 2017 10:52:05 +0800 Subject: [PATCH] chore: update size props order, ref: d12f247 --- components/list/index.en-US.md | 2 +- components/list/index.zh-CN.md | 2 +- scripts/sort-api-table.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/list/index.en-US.md b/components/list/index.en-US.md index 631b403665..c4b9480a25 100644 --- a/components/list/index.en-US.md +++ b/components/list/index.en-US.md @@ -34,11 +34,11 @@ A list can be used to display content related to a single subject. The content c | column | column of grid | number | - | | gutter | spacing between grid | number | 0 | | xs | `<576px` column of grid | number | - | -| xxl | `≥1600px` column of grid | number | - | | sm | `≥576px` column of grid | number | - | | md | `≥768px` column of grid | number | - | | lg | `≥992px` column of grid | number | - | | xl | `≥1200px` column of grid | number | - | +| xxl | `≥1600px` column of grid | number | - | ### List.Item diff --git a/components/list/index.zh-CN.md b/components/list/index.zh-CN.md index def7909edc..a3c77e26a1 100644 --- a/components/list/index.zh-CN.md +++ b/components/list/index.zh-CN.md @@ -35,11 +35,11 @@ cols: 1 | column | 列数 | number | - | | gutter | 栅格间隔 | number | 0 | | xs | `<576px` 展示的列数 | number | - | -| xxl | `≥1600px` 展示的列数 | number | - | | sm | `≥576px` 展示的列数 | number | - | | md | `≥768px` 展示的列数 | number | - | | lg | `≥992px` 展示的列数 | number | - | | xl | `≥1200px` 展示的列数 | number | - | +| xxl | `≥1600px` 展示的列数 | number | - | ### List.Item diff --git a/scripts/sort-api-table.js b/scripts/sort-api-table.js index de4615a728..7f6acf2c8e 100644 --- a/scripts/sort-api-table.js +++ b/scripts/sort-api-table.js @@ -25,7 +25,7 @@ function getCellValue(node) { } // from small to large -const sizeBreakPoints = ['xs', 'sm', 'md', 'lg', 'xl']; +const sizeBreakPoints = ['xs', 'sm', 'md', 'lg', 'xl', 'xxl']; const groups = { isDynamic: val => /^on[A-Z]/.test(val),