diff --git a/styleguide/src/system/components/data-display/Number/Number.vue b/styleguide/src/system/components/data-display/Number/Number.vue
new file mode 100644
index 000000000..0e869856e
--- /dev/null
+++ b/styleguide/src/system/components/data-display/Number/Number.vue
@@ -0,0 +1,36 @@
+
+
+ {{ count }}
+
+
+
+
+
+
+
+
+
+
diff --git a/styleguide/src/system/components/data-display/Number/demo.md b/styleguide/src/system/components/data-display/Number/demo.md
new file mode 100644
index 000000000..ae45b2505
--- /dev/null
+++ b/styleguide/src/system/components/data-display/Number/demo.md
@@ -0,0 +1,16 @@
+## Basic usage
+
+```html
+
+```
+
+## Sizes
+
+```html
+
+```
diff --git a/styleguide/src/system/components/data-display/Number/style.scss b/styleguide/src/system/components/data-display/Number/style.scss
new file mode 100644
index 000000000..2899d9502
--- /dev/null
+++ b/styleguide/src/system/components/data-display/Number/style.scss
@@ -0,0 +1,15 @@
+.ds-number {
+ text-align: center;
+}
+.ds-number-count {
+ font-weight: bold;
+}
+.ds-number-label {
+ font-size: $font-size-small;
+}
+// .ds-number-size-x-large,
+// .ds-number-size-xx-large {
+// .ds-number-label {
+// font-size: $font-size-base;
+// }
+// }
diff --git a/styleguide/src/system/components/navigation/Button/demo.md b/styleguide/src/system/components/navigation/Button/demo.md
index 13cc66135..5e1b0f4ae 100644
--- a/styleguide/src/system/components/navigation/Button/demo.md
+++ b/styleguide/src/system/components/navigation/Button/demo.md
@@ -30,6 +30,7 @@ Use different sizes to create hierarchy.
Small
Base
Large
+very Large
```
## Button full width
@@ -45,8 +46,8 @@ A button can take different states.
```
Default state
Disabled state
-Loading state
Hover state
+Loading state
```
## Icon buttons
diff --git a/styleguide/src/system/components/typography/Text/Text.vue b/styleguide/src/system/components/typography/Text/Text.vue
index c409ea0b3..c1da4adfd 100644
--- a/styleguide/src/system/components/typography/Text/Text.vue
+++ b/styleguide/src/system/components/typography/Text/Text.vue
@@ -1,11 +1,13 @@
-
@@ -60,7 +62,7 @@ export default {
type: String,
default: null,
validator: value => {
- return value.match(/(small|base|large|x-large)/)
+ return value.match(/(small|base|large|x-large|xx-large|xxx-large)/)
}
},
/**
@@ -71,6 +73,24 @@ export default {
default() {
return this.$parentText ? 'span' : 'p'
}
+ },
+ /**
+ * Align Text
+ * `left, center, right
+ */
+ align: {
+ type: String,
+ default: null,
+ validator: value => {
+ return value.match(/(left|center|right)/)
+ }
+ },
+ /**
+ * Text in Uppdercase
+ */
+ uppercase: {
+ type: Boolean,
+ default: false
}
}
}
diff --git a/styleguide/src/system/components/typography/Text/demo.md b/styleguide/src/system/components/typography/Text/demo.md
index bd08f8015..ae3ef4365 100644
--- a/styleguide/src/system/components/typography/Text/demo.md
+++ b/styleguide/src/system/components/typography/Text/demo.md
@@ -2,7 +2,7 @@
Use different sizes to create hierarchy.
-```
+```html
The quick brown fox (x-large)
The quick brown fox (large)
The quick brown fox (base)
@@ -13,7 +13,7 @@ Use different sizes to create hierarchy.
Use colors to highlight or deemphasize.
-```
+```html
The quick brown fox
The quick brown fox
The quick brown fox
@@ -23,12 +23,30 @@ Use colors to highlight or deemphasize.
The quick brown fox
```
+## Text align
+
+Align text to left, center or right.
+
+```html
+The quick brown fox
+The quick brown fox
+The quick brown fox
+```
+
+## Text uppercase
+
+Display text in uppercase.
+
+```html
+The quick brown fox
+```
+
## Nesting styles
Nested text components use their parents format by default.
-```
+```html
The quick brown fox
-```
\ No newline at end of file
+```
diff --git a/styleguide/src/system/components/typography/Text/style.scss b/styleguide/src/system/components/typography/Text/style.scss
index c5f3325dc..c00524dea 100644
--- a/styleguide/src/system/components/typography/Text/style.scss
+++ b/styleguide/src/system/components/typography/Text/style.scss
@@ -9,6 +9,22 @@
font-weight: $font-weight-bold;
}
+.ds-text-left {
+ text-align: left;
+}
+
+.ds-text-center {
+ text-align: center;
+}
+
+.ds-text-right {
+ text-align: right;
+}
+
+.ds-text-uppercase {
+ text-transform: uppercase;
+}
+
.ds-text-size-small {
font-size: $font-size-small;
}
@@ -25,6 +41,14 @@
font-size: $font-size-x-large;
}
+.ds-text-size-xx-large {
+ font-size: $font-size-xx-large;
+}
+
+.ds-text-size-xxx-large {
+ font-size: $font-size-xxx-large;
+}
+
.ds-text-soft {
color: $text-color-soft;
}
@@ -47,4 +71,4 @@
.ds-text-warning {
color: $text-color-warning;
-}
\ No newline at end of file
+}