diff --git a/dev/data/page.json b/dev/data/page.json index 2ee824c9..7970d855 100644 --- a/dev/data/page.json +++ b/dev/data/page.json @@ -125,8 +125,7 @@ "label": "Personal Data", "prependIcon": "person", "appendIcon": null, - "rowHeight": 22, - "rows": 5, + "rows": 2, "autoGrow": false, "outline": false, "clearable": true, diff --git a/src/components/CTextArea/CTextArea.js b/src/components/CTextArea/CTextArea.js index 7c6ab52c..55070366 100644 --- a/src/components/CTextArea/CTextArea.js +++ b/src/components/CTextArea/CTextArea.js @@ -18,7 +18,6 @@ const getProps = (context) => { label: config.label, autoGrow: config.autoGrow, outline: config.outline, - rowHeight: config.rowHeight, rows: config.rows, color: config.color, dark: context.isThemeDark, diff --git a/src/components/CTextArea/index.meta.js b/src/components/CTextArea/index.meta.js index 8178d1ec..9853308c 100644 --- a/src/components/CTextArea/index.meta.js +++ b/src/components/CTextArea/index.meta.js @@ -67,12 +67,6 @@ export default { type: 'check', name: 'Auto Grow', value: false, - priority: 5, - }, - placeholder: { - type: 'input', - name: 'Placeholder Text', - value: false, priority: 6, }, outline: { @@ -81,29 +75,29 @@ export default { value: false, priority: 7, }, - rowHeight: { + rows: { type: 'input', - name: 'Row Height', + name: 'Number of Rows', value: 5, - priority: 8, + priority: 5, }, tooltip: { type: 'input', name: 'Tooltip Text', value: null, - priority: 9, + priority: 8, }, clearable: { type: 'check', name: 'Enable Input Reset', value: false, - priority: 10, + priority: 9, }, disabled: { type: 'check', name: 'Disable Input', value: false, - priority: 12, + priority: 10, }, validation: { type: 'group', diff --git a/src/components/index.meta.js b/src/components/index.meta.js index bb17aadf..d87f569a 100644 --- a/src/components/index.meta.js +++ b/src/components/index.meta.js @@ -28,6 +28,7 @@ export { default as table } from './CTable/index.meta'; export { default as tabs } from './CTabs/index.meta'; export { default as tags } from './CTags/index.meta'; export { default as text } from './CText/index.meta'; +export { default as textArea } from './CTextArea/index.meta'; export { default as video } from './CVideo/index.meta'; export { default as videoStream } from './CVideoStream/index.meta'; export { default as vlist } from './CVlist/index.meta'; diff --git a/tests/unit/specs/__snapshots__/elements.spec.js.snap b/tests/unit/specs/__snapshots__/elements.spec.js.snap index c67cb98f..e2875e0c 100644 --- a/tests/unit/specs/__snapshots__/elements.spec.js.snap +++ b/tests/unit/specs/__snapshots__/elements.spec.js.snap @@ -114,7 +114,7 @@ exports[`AllComponents c-date renders correctly 1`] = ` -
June 2018
+
July 2018
- - - @@ -178,6 +171,8 @@ exports[`AllComponents c-date renders correctly 1`] = `
7
+ + - - + + - - + + - - - + + + + + @@ -358,7 +358,7 @@ exports[`AllComponents c-date-range renders correctly 1`] = ` -
June 2018
+
July 2018
- - - @@ -422,6 +415,8 @@ exports[`AllComponents c-date-range renders correctly 1`] = `
7
+ + - - + + - - + + - - - + + + + + @@ -569,7 +569,7 @@ exports[`AllComponents c-date-range renders correctly 1`] = ` -
June 2018
+
July 2018
- - - @@ -633,6 +626,8 @@ exports[`AllComponents c-date-range renders correctly 1`] = `
7
+ + - - + + - - + + - - - + + + + + @@ -906,7 +906,7 @@ exports[`AllComponents c-picker renders correctly 1`] = ` -
June 2018
+
July 2018
- - - @@ -970,6 +963,8 @@ exports[`AllComponents c-picker renders correctly 1`] = `
7
+ + - - + + - - + + - - - + + + + +