diff --git a/.prettierrc b/.prettierrc index 544138be45..554f2a3baa 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,3 +1,4 @@ { - "singleQuote": true + "singleQuote": true, + "printWidth": 100 } diff --git a/packages/core/src/components/Alert/Alert.example.jsx b/packages/core/src/components/Alert/Alert.example.jsx index f8651a144e..2dcef6d741 100644 --- a/packages/core/src/components/Alert/Alert.example.jsx +++ b/packages/core/src/components/Alert/Alert.example.jsx @@ -9,9 +9,7 @@ ReactDOM.render( -

- This is a React Alert component without a heading. -

+

This is a React Alert component without a heading.

, document.getElementById('js-example') diff --git a/packages/core/src/components/Alert/alert.example.html b/packages/core/src/components/Alert/alert.example.html index 23c1459e7c..1e9737a368 100644 --- a/packages/core/src/components/Alert/alert.example.html +++ b/packages/core/src/components/Alert/alert.example.html @@ -3,8 +3,8 @@

Informative status

- Lorem ipsum dolor sit link text, - consectetur adipiscing elit, sed do eiusmod. + Lorem ipsum dolor sit link text, consectetur adipiscing + elit, sed do eiusmod.

@@ -12,8 +12,8 @@

Informative status

Error status

- Lorem ipsum dolor sit link text, - consectetur adipiscing elit, sed do eiusmod. + Lorem ipsum dolor sit link text, consectetur adipiscing + elit, sed do eiusmod.

@@ -21,8 +21,8 @@

Error status

Warning status

- Lorem ipsum dolor sit link text, - consectetur adipiscing elit, sed do eiusmod. + Lorem ipsum dolor sit link text, consectetur adipiscing + elit, sed do eiusmod.

@@ -30,8 +30,8 @@

Warning status

Success status

- Lorem ipsum dolor sit link text, - consectetur adipiscing elit, sed do eiusmod. + Lorem ipsum dolor sit link text, consectetur adipiscing + elit, sed do eiusmod.

@@ -39,8 +39,8 @@

Success status

Status without icon

- Lorem ipsum dolor sit link text, - consectetur adipiscing elit, sed do eiusmod. + Lorem ipsum dolor sit link text, consectetur adipiscing + elit, sed do eiusmod.

diff --git a/packages/core/src/components/Badge/badge.example.html b/packages/core/src/components/Badge/badge.example.html index 5aa2b64158..c28d39a53a 100644 --- a/packages/core/src/components/Badge/badge.example.html +++ b/packages/core/src/components/Badge/badge.example.html @@ -7,29 +7,21 @@
2 Info badge - Larger info badge + Larger info badge
3 Success badge - Larger success badge + Larger success badge
4 Warning badge - Larger warning badge + Larger warning badge
5 Alert badge - Larger alert badge + Larger alert badge
diff --git a/packages/core/src/components/Button/button.example.html b/packages/core/src/components/Button/button.example.html index 04772781af..390677aaf4 100644 --- a/packages/core/src/components/Button/button.example.html +++ b/packages/core/src/components/Button/button.example.html @@ -16,22 +16,13 @@
Primary button
- - - @@ -39,22 +30,13 @@
Danger button
- - - @@ -62,22 +44,13 @@
Success button
- - - @@ -85,22 +58,13 @@
Transparent button
- - - diff --git a/packages/core/src/components/ChoiceList/checkbox-radio-right-to-left.example.html b/packages/core/src/components/ChoiceList/checkbox-radio-right-to-left.example.html index b488e326bd..f25e4e348f 100644 --- a/packages/core/src/components/ChoiceList/checkbox-radio-right-to-left.example.html +++ b/packages/core/src/components/ChoiceList/checkbox-radio-right-to-left.example.html @@ -1,7 +1,5 @@
-
+
Right to left @@ -47,9 +45,7 @@ >
Right to left - + Select desired fruits +
+
+ Size variants + Select a size + + + + +
+
+
+
+ Size variants + Select a size + + + + +
+
+
diff --git a/packages/core/src/components/ChoiceList/checkbox-radio.example.html b/packages/core/src/components/ChoiceList/checkbox-radio.example.html index cb122c0db9..e6b7631750 100644 --- a/packages/core/src/components/ChoiceList/checkbox-radio.example.html +++ b/packages/core/src/components/ChoiceList/checkbox-radio.example.html @@ -48,21 +48,9 @@ Radio 1 Choice hint text - + - +
@@ -88,12 +76,8 @@
Inverse example - Helpful hint text - Error message example + Helpful hint text + Error message example - diff --git a/packages/core/src/components/DateField/DateField.example.html b/packages/core/src/components/DateField/DateField.example.html deleted file mode 100644 index 5fcf814187..0000000000 --- a/packages/core/src/components/DateField/DateField.example.html +++ /dev/null @@ -1,55 +0,0 @@ -
- - Date of birth - For example: 4 / 28 / 1986 - -
-
- - -
- / -
- - -
- / -
- - -
-
-
diff --git a/packages/core/src/components/DateField/datefield.example.html b/packages/core/src/components/DateField/datefield.example.html index 5fcf814187..46d64bc188 100644 --- a/packages/core/src/components/DateField/datefield.example.html +++ b/packages/core/src/components/DateField/datefield.example.html @@ -5,9 +5,7 @@
- /
- + /
- + Dropdown label + + + - + - +