Information! Visste du att du kan lämna in din deklaration via din internetbank?
Visa hur
diff --git a/src/components/alerts/toast.md b/src/components/alerts/toast.md
new file mode 100644
index 00000000..273e8b34
--- /dev/null
+++ b/src/components/alerts/toast.md
@@ -0,0 +1,129 @@
+---
+title: Toast
+componentid: component-toast
+variantid: default
+guid: component-toast
+---
+
+# Usage
+The toast component has four different states: information, success, warning and critical.
+
+There are three ways to use this component.
+
+1. Import the classes and use them as is
+2. Import the toast mixin and apply it to your own selector
+3. Import the toast-mixins and use them in your own structure
+
+These will be explained in the examples section, below the component preview.
+
+### Component preview
+
+:::componentpreview
+
+## Information
+
+```html
+
+```
+
+## Success
+
+```html
+
+```
+
+## Warning
+
+```html
+
+```
+
+## Critical
+
+```html
+
+```
+
+## Timeline
+
+```html
+
+```
+
+:::
+
+### Examples
+
+1 - Import classes:
+
+```scss
+@import "~@sebgroup/vanilla/src/components/alerts/toast";
+````
+
+Use them in your template:
+
+```html
+
+```
+
+---
+
+2 - Use the toast mixin:
+
+```scss
+@import '~@sebgroup/vanilla/src/components/alerts/toast-mixins';
+
+.my-alert-class {
+ @include vanilla-toast();
+}
+```
+
+```html
+
...
+```
+
+---
+
+3 - Use the alert mixins directly in your own structure:
+
+```scss
+@import "~@sebgroup/vanilla/src/components/alerts/toast-mixins";
+
+.my-alert {
+ @include vanilla-toast-base();
+
+ .my-body {
+ @include vanilla-toast__body();
+ }
+}
+```
+
+Please refer to the source code on [Github](https://github.com/sebgroup/vanilla-pattern-library/blob/master/src/components/alerts/_toast-mixins.scss) for a full example of how to use the mixins. (see vanilla-toast)
+
+---
+
+
diff --git a/src/components/badge/_badge-mixins.scss b/src/components/badge/_badge-mixins.scss
index 3d9ae212..d240bad7 100644
--- a/src/components/badge/_badge-mixins.scss
+++ b/src/components/badge/_badge-mixins.scss
@@ -23,20 +23,20 @@
@include vanilla-badge-base();
&--info {
- background-color: $vanilla-color-grey200;
+ background-color: $vanilla-color-information;
}
&--success {
color: $vanilla-color-white;
- background-color: $vanilla-color-darkgreen2;
+ background-color: $vanilla-color-success;
}
&--warning {
- background-color: $vanilla-color-yellow;
+ background-color: $vanilla-color-warning;
}
&--error {
color: $vanilla-color-white;
- background-color: $vanilla-color-darkred1;
+ background-color: $vanilla-color-critical;
}
}
diff --git a/src/components/buttons/_button-mixins.scss b/src/components/buttons/_button-mixins.scss
index 7f9f15bc..2ed5a075 100644
--- a/src/components/buttons/_button-mixins.scss
+++ b/src/components/buttons/_button-mixins.scss
@@ -43,7 +43,6 @@ $_ghost-button_disabled-opacity: 0.5;
font-weight: 500;
font-size: 1em;
text-align: center;
- color: $vanilla-color-white;
white-space: nowrap;
appearance: none;
@@ -79,6 +78,7 @@ $_ghost-button_disabled-opacity: 0.5;
text-decoration: none;
}
+ &,
&:visited,
&:link {
color: $vanilla-color-white;
@@ -215,6 +215,12 @@ $_ghost-button_disabled-opacity: 0.5;
color: $vanilla-color-grey2;
background-color: transparent;
+ &,
+ &:visited,
+ &:link {
+ color: $vanilla-color-grey2;
+ }
+
&:focus {
@include vanilla-focus-outline($vanilla-color-grey700);
}
@@ -250,6 +256,12 @@ $_ghost-button_disabled-opacity: 0.5;
background-color: transparent;
border-color: transparent;
+ &,
+ &:visited,
+ &:link {
+ color: $vanilla-color-darkred1;
+ }
+
&:focus {
@include vanilla-focus-outline($vanilla-color-red);
}
@@ -294,6 +306,31 @@ $_ghost-button_disabled-opacity: 0.5;
}
}
+/// Sell button styles
+///
+/// @access public
+@mixin vanilla-button-sell {
+ color: $vanilla-color-white;
+ background-color: $vanilla-color-button-sell;
+ border-color: $vanilla-color-button-sell;
+
+ &:focus {
+ @include vanilla-focus-outline($vanilla-color-red);
+ }
+
+ &:focus,
+ &:hover,
+ &:active {
+ background-color: $vanilla-color-button-sell-dark;
+ border-color: $vanilla-color-button-sell-dark;
+ }
+
+ &[disabled] {
+ background-color: $_button_disabled-color-dark;
+ border-color: $_button_disabled-color-dark;
+ }
+}
+
/// Mixes in button icon
///
/// @access public
diff --git a/src/components/buttons/_button-sell.scss b/src/components/buttons/_button-sell.scss
new file mode 100644
index 00000000..0f007a67
--- /dev/null
+++ b/src/components/buttons/_button-sell.scss
@@ -0,0 +1,7 @@
+@import 'button-primary';
+
+@include _vanilla-exports('vanilla-button-sell') {
+ .sdv-button-sell {
+ @include vanilla-button-sell();
+ }
+}
diff --git a/src/components/buttons/_button.scss b/src/components/buttons/_button.scss
index d64febf5..09edba17 100644
--- a/src/components/buttons/_button.scss
+++ b/src/components/buttons/_button.scss
@@ -5,3 +5,4 @@
@import 'button-link';
@import 'button-ghost';
@import 'button-delete';
+@import 'button-sell';
diff --git a/src/components/buttons/sell.md b/src/components/buttons/sell.md
new file mode 100644
index 00000000..0b325462
--- /dev/null
+++ b/src/components/buttons/sell.md
@@ -0,0 +1,72 @@
+---
+title: Sell button
+componentid: component-button
+variantid: sell
+guid: component-button-sell
+---
+
+# Usage
+
+Import classes:
+
+```scss
+// Will import all button classes
+@import '~@sebgroup/vanilla/src/components/buttons/button';
+
+// Will import sell button only
+@import '~@sebgroup/vanilla/src/components/buttons/button-sell';
+```
+
+:::componentpreview
+
+## Base state
+```html
+
Sell button
+```
+
+## With icon
+```html
+
+ Sell button
+
+```
+
+## Disabled state
+```html
+
+ Sell button
+
+```
+
+## Small version
+
+```html
+
+ Sell button
+
+```
+
+## Large version
+
+```html
+
+ Sell button
+
+```
+:::
+
+In addition to the classes shown in the example, this component can be used via the following mixins:
+
+```scss
+@import '~@sebgroup/vanilla/src/components/buttons/button-mixins';
+
+.my-button-class {
+ @include vanilla-button();
+}
+
+.my-button-class-sell {
+ @include vanilla-button-sell();
+}
+```
+
+This will create
.my-button-class as well as
.my-button-class-sell .
diff --git a/src/components/datepicker/_datepicker.scss b/src/components/datepicker/_datepicker.scss
index 3a2d63ba..eb8e52f1 100644
--- a/src/components/datepicker/_datepicker.scss
+++ b/src/components/datepicker/_datepicker.scss
@@ -5,6 +5,8 @@
////
@import './datepicker-mixins';
+@import '../buttons/button';
+@import '../inputs/dropdown';
@include _vanilla-exports('vanilla-datepicker') {
.sdv-datepicker {
diff --git a/src/components/filter/_chip-mixins.scss b/src/components/filter/_chip-mixins.scss
new file mode 100644
index 00000000..78161a73
--- /dev/null
+++ b/src/components/filter/_chip-mixins.scss
@@ -0,0 +1,59 @@
+////
+/// @group Component mixins
+/// @author SEB Design Library
+////
+
+@import '../../variables';
+@import '../../mixins';
+@import './filter-mixins';
+
+///
+/// @access public
+@mixin vanilla-chip-base() {
+ @include vanilla-filter-base();
+ min-height: vanilla-px-to-em(32);
+ padding: 0 0.5em;
+ background-color: $vanilla-color-grey8;
+}
+
+///
+/// @access public
+@mixin vanilla-chip-close() {
+ @include vanilla-icon($_glyph: '\f00d', $_color: $vanilla-color-text);
+ display: inline;
+ position: relative;
+ top: vanilla-px-to-em(1);
+ margin-left: 0.5em;
+}
+
+///
+/// @access public
+@mixin vanilla-chip-close--hover() {
+ color: $vanilla-color-darkred1;
+}
+
+///
+/// @access public
+@mixin vanilla-chip--focus() {
+ @include vanilla-focus-outline();
+ outline: none;
+ border-color: $vanilla-color-component-selected;
+}
+
+///
+/// @access public
+@mixin vanilla-chip() {
+ @include vanilla-chip-base();
+
+ &::after {
+ @include vanilla-chip-close();
+ }
+
+ &:hover::after {
+ @include vanilla-chip-close--hover();
+ }
+
+ &:focus {
+ @include vanilla-chip--focus();
+ }
+}
diff --git a/src/components/filter/_chip.scss b/src/components/filter/_chip.scss
new file mode 100644
index 00000000..05c9ead1
--- /dev/null
+++ b/src/components/filter/_chip.scss
@@ -0,0 +1,10 @@
+@import 'chip-mixins';
+@import 'filter-mixins';
+
+.sdv-chip {
+ @include vanilla-chip();
+}
+
+.sdv-chip-group {
+ @include vanilla-filter-group();
+}
diff --git a/src/components/filter/_filter-mixins.scss b/src/components/filter/_filter-mixins.scss
new file mode 100644
index 00000000..af1160df
--- /dev/null
+++ b/src/components/filter/_filter-mixins.scss
@@ -0,0 +1,37 @@
+////
+/// @group Component mixins
+/// @author SEB Design Library
+///
+
+@import '../../variables';
+@import '../../mixins';
+
+$_filter-spacing: 0.5em;
+
+///
+/// @access public
+@mixin vanilla-filter-group() {
+ display: flex;
+ flex-wrap: wrap;
+ margin-bottom: -$_filter-spacing;
+ margin-right: -$_filter-spacing;
+
+ > * {
+ margin-bottom: $_filter-spacing;
+ margin-right: $_filter-spacing;
+ }
+}
+
+///
+/// @access public
+@mixin vanilla-filter-base() {
+ font-family: inherit;
+ font-size: inherit;
+ font-weight: 500;
+ display: inline-block;
+ border: vanilla-px-to-em(1) solid transparent;
+ border-radius: $vanilla-component-border-radius;
+ cursor: pointer;
+ user-select: none;
+ white-space: nowrap;
+}
diff --git a/src/components/filter/_filter-tag-mixins.scss b/src/components/filter/_filter-tag-mixins.scss
new file mode 100644
index 00000000..52e15045
--- /dev/null
+++ b/src/components/filter/_filter-tag-mixins.scss
@@ -0,0 +1,53 @@
+////
+/// @group Component mixins
+/// @author SEB Design Library
+////
+
+@import '../../variables';
+@import '../../mixins';
+@import './filter-mixins';
+
+///
+/// @access public
+@mixin vanilla-filter-tag-base() {
+ @include vanilla-filter-base();
+
+ // default height shall equal 32px, including border.
+ padding: vanilla-px-to-em(4-1) 0.5em;
+ border-color: $vanilla-color-grey6;
+}
+
+///
+/// @access public
+@mixin vanilla-filter-tag() {
+ input {
+ appearance: none;
+ opacity: 0;
+ z-index: -1;
+ position: absolute;
+ }
+
+ label {
+ @include vanilla-filter-tag-base();
+ }
+
+ &:hover label {
+ border-color: $vanilla-color-component-hover;
+ }
+
+ &:active label {
+ border-color: $vanilla-color-component-pressed;
+ color: $vanilla-color-component-pressed;
+ }
+
+ input:focus + label {
+ @include vanilla-focus-outline();
+ outline: none;
+ border-color: $vanilla-color-component-selected;
+ }
+
+ input:checked + label {
+ border-color: $vanilla-color-component-selected;
+ color: $vanilla-color-component-selected;
+ }
+}
diff --git a/src/components/filter/_filter-tag.scss b/src/components/filter/_filter-tag.scss
new file mode 100644
index 00000000..fc919892
--- /dev/null
+++ b/src/components/filter/_filter-tag.scss
@@ -0,0 +1,10 @@
+@import 'filter-tag-mixins';
+@import 'filter-mixins';
+
+.sdv-filter-tag {
+ @include vanilla-filter-tag();
+}
+
+.sdv-filter-tag-group {
+ @include vanilla-filter-group();
+}
diff --git a/src/components/filter/chip.md b/src/components/filter/chip.md
new file mode 100644
index 00000000..9fb0c6e5
--- /dev/null
+++ b/src/components/filter/chip.md
@@ -0,0 +1,44 @@
+---
+title: Chip
+componentid: component-chip
+variantid: default
+guid: component-chip-default
+---
+
+# Usage
+
+Import classes:
+
+```scss
+@import '~@sebgroup/vanilla/src/components/chip/chip';
+```
+
+In addition to the classes shown in the example below, this component can be used via the following mixins:
+
+```scss
+@import '~@sebgroup/vanilla/src/components/chip/chip-mixins';
+
+.my-chip-class {
+ @include vanilla-chip();
+}
+```
+
+:::componentpreview
+
+## Chip
+
+```html
+
Räntefond
+```
+
+## Chip Group
+
+```html
+
+ Europa
+ Globala
+ Sverige & norden
+ Strategi & lösningsfonder
+
+```
+:::
diff --git a/src/components/filter/filter-tag.md b/src/components/filter/filter-tag.md
new file mode 100644
index 00000000..fd3e2a3a
--- /dev/null
+++ b/src/components/filter/filter-tag.md
@@ -0,0 +1,54 @@
+---
+title: Filter-tag
+componentid: component-filter-tag
+variantid: default
+guid: component-filter-tag-default
+---
+
+# Usage
+
+Import classes:
+
+```scss
+@import '~@sebgroup/vanilla/src/components/filter-tag/filter-tag';
+```
+
+In addition to the classes shown in the example below, this component can be used via the following mixins:
+
+```scss
+@import '~@sebgroup/vanilla/src/components/filter-tag/filter-tag-mixins';
+
+.my-filter-tag-class {
+ @include vanilla-filter-tag();
+}
+```
+
+:::componentpreview
+
+## Filter tag
+
+```html
+
+```
+:::
diff --git a/src/components/progress-bars/_progress-bar-mixins.scss b/src/components/progress-bars/_progress-bar-mixins.scss
index 846c86e5..b47ddd08 100644
--- a/src/components/progress-bars/_progress-bar-mixins.scss
+++ b/src/components/progress-bars/_progress-bar-mixins.scss
@@ -14,13 +14,13 @@ $vanilla-progressbar-keyframes: 'sdv-progressbar-loading' !default;
/// Mixes in progress bar styles
///
/// @access public
-@mixin vanilla-progress-bar() {
+@mixin vanilla-progress-bar($color: $vanilla-color-green) {
appearance: none; // Clear
style
height: vanilla-px-to-rem(5);
width: 100%;
position: relative;
overflow: hidden;
- color: $vanilla-color-green; // IE fallback for ::-ms-fill
+ color: $color; // IE fallback for ::-ms-fill
border-width: 0; // Firefox adds border
background-color: $vanilla-color-grey8;
@@ -31,7 +31,7 @@ $vanilla-progressbar-keyframes: 'sdv-progressbar-loading' !default;
left: -200px;
width: 200px;
height: vanilla-px-to-rem(5);
- background-color: $vanilla-color-green;
+ background-color: $color;
animation: #{$vanilla-progressbar-keyframes} 2s linear infinite;
}
@@ -83,21 +83,21 @@ $vanilla-progressbar-keyframes: 'sdv-progressbar-loading' !default;
}
/// @access public
-@mixin vanilla-progress-bar--determinate() {
+@mixin vanilla-progress-bar--determinate($color: $vanilla-color-green) {
&::before {
content: none;
}
// Progress
&::-webkit-progress-value {
- background-color: $vanilla-color-green;
+ background-color: $color;
}
&::-moz-progress-bar {
- background-color: $vanilla-color-green;
+ background-color: $color;
}
&::-ms-fill {
- background-color: $vanilla-color-green;
+ background-color: $color;
}
}
diff --git a/src/components/tooltips/_contextual-help-mixins.scss b/src/components/tooltips/_contextual-help-mixins.scss
new file mode 100644
index 00000000..bdfa7ae2
--- /dev/null
+++ b/src/components/tooltips/_contextual-help-mixins.scss
@@ -0,0 +1,29 @@
+////
+/// Mixins for Contextual Help Button
+/// @group Component
+/// @author SEB Design Library
+////
+
+@import '../../colors';
+@import '../../variables';
+
+@mixin vanilla-contextual-help() {
+ font-size: 1em;
+ border-width: 0;
+ height: 2em;
+ width: 2em;
+ padding: 0;
+ background-color: transparent;
+ position: relative;
+ cursor: help;
+
+ &::after {
+ font-family: 'Font Awesome 5 Pro';
+ content: '\f2fd';
+ font-size: 1em;
+ font-weight: 300;
+ color: $vanilla-color-darkblue2;
+ position: relative;
+ top: vanilla-px-to-em(1px);
+ }
+}
diff --git a/src/components/tooltips/_contextual-help.scss b/src/components/tooltips/_contextual-help.scss
new file mode 100644
index 00000000..0beaae24
--- /dev/null
+++ b/src/components/tooltips/_contextual-help.scss
@@ -0,0 +1,7 @@
+@import 'contextual-help-mixins';
+
+@include _vanilla-exports('vanilla-contextual-help') {
+ .sdv-contextual-help {
+ @include vanilla-contextual-help();
+ }
+}
diff --git a/src/components/tooltips/contextual-help.md b/src/components/tooltips/contextual-help.md
new file mode 100644
index 00000000..47b888fe
--- /dev/null
+++ b/src/components/tooltips/contextual-help.md
@@ -0,0 +1,71 @@
+---
+title: Contextual Help Button
+componentid: component-contextual-help
+variantid: default
+guid: component-contextual-help-default
+---
+
+# Usage
+
+Import classes:
+
+```scss
+@import 'vanilla/components/tooltips/contextual-help';
+```
+
+:::componentpreview
+
+## Default
+
+```html
+
+
+
+
+```
+
+## Input
+
+```html
+
+ Field label
+
+
+ Field label
+
+
+
+```
+
+## Table
+
+```html
+
+
+
+ Skuld
+ 1 000 000 kr
+
+
+ Amortering 2%
+ 5 500 kr
+
+
+ Räntekostnad
+ 2 340 kr
+
+
+
+```
+
+:::
diff --git a/src/test/alerts/alert-ribbon.spec.scss b/src/test/alerts/alert-ribbon.spec.scss
index bbacb928..d97d0c0c 100644
--- a/src/test/alerts/alert-ribbon.spec.scss
+++ b/src/test/alerts/alert-ribbon.spec.scss
@@ -41,16 +41,6 @@
}
}
}
- @include it('Should compile vanilla-alert-ribbon__link') {
- @include assert {
- @include output {
- @include vanilla-alert-ribbon__link();
- }
- @include expect {
- @include vanilla-alert-ribbon__link();
- }
- }
- }
@include it('Should compile vanilla-alert-ribbon') {
@include assert {
@include output {
diff --git a/src/test/alerts/toast.spec.scss b/src/test/alerts/toast.spec.scss
new file mode 100644
index 00000000..71132d0f
--- /dev/null
+++ b/src/test/alerts/toast.spec.scss
@@ -0,0 +1,44 @@
+@import 'true';
+@import '../../components/alerts/_toast-mixins.scss';
+@include describe('alerts _toast-mixins.scss') {
+ @include it('Should compile vanilla-toast-base') {
+ @include assert {
+ @include output {
+ @include vanilla-toast-base();
+ }
+ @include expect {
+ @include vanilla-toast-base();
+ }
+ }
+ }
+ @include it('Should compile vanilla-toast__body') {
+ @include assert {
+ @include output {
+ @include vanilla-toast__body();
+ }
+ @include expect {
+ @include vanilla-toast__body();
+ }
+ }
+ }
+ @include it('Should compile vanilla-toast--timeline') {
+ @include assert {
+ @include output {
+ @include vanilla-toast--timeline();
+ }
+ @include expect {
+ @include vanilla-toast--timeline();
+ }
+ }
+ }
+ @include it('Should compile vanilla-toast') {
+ @include assert {
+ @include output {
+ @include vanilla-toast();
+ }
+ @include expect {
+ @include vanilla-toast();
+ }
+ }
+ }
+}
diff --git a/src/test/buttons/button.spec.scss b/src/test/buttons/button.spec.scss
index c5d157a0..2a611960 100644
--- a/src/test/buttons/button.spec.scss
+++ b/src/test/buttons/button.spec.scss
@@ -111,6 +111,16 @@
}
}
}
+ @include it('Should compile vanilla-button-sell') {
+ @include assert {
+ @include output {
+ @include vanilla-button-sell();
+ }
+ @include expect {
+ @include vanilla-button-sell();
+ }
+ }
+ }
@include it('Should compile vanilla-button-icon') {
@include assert {
@include output {
diff --git a/src/test/filter/chip.spec.scss b/src/test/filter/chip.spec.scss
new file mode 100644
index 00000000..d4bac06f
--- /dev/null
+++ b/src/test/filter/chip.spec.scss
@@ -0,0 +1,54 @@
+@import 'true';
+@import '../../components/filter/_chip-mixins.scss';
+@include describe('filter _chip-mixins.scss') {
+ @include it('Should compile vanilla-chip-base') {
+ @include assert {
+ @include output {
+ @include vanilla-chip-base();
+ }
+ @include expect {
+ @include vanilla-chip-base();
+ }
+ }
+ }
+ @include it('Should compile vanilla-chip-close') {
+ @include assert {
+ @include output {
+ @include vanilla-chip-close();
+ }
+ @include expect {
+ @include vanilla-chip-close();
+ }
+ }
+ }
+ @include it('Should compile vanilla-chip-close--hover') {
+ @include assert {
+ @include output {
+ @include vanilla-chip-close--hover();
+ }
+ @include expect {
+ @include vanilla-chip-close--hover();
+ }
+ }
+ }
+ @include it('Should compile vanilla-chip--focus') {
+ @include assert {
+ @include output {
+ @include vanilla-chip--focus();
+ }
+ @include expect {
+ @include vanilla-chip--focus();
+ }
+ }
+ }
+ @include it('Should compile vanilla-chip') {
+ @include assert {
+ @include output {
+ @include vanilla-chip();
+ }
+ @include expect {
+ @include vanilla-chip();
+ }
+ }
+ }
+}
diff --git a/src/test/filter/filter-tag.spec.scss b/src/test/filter/filter-tag.spec.scss
new file mode 100644
index 00000000..0b0e13a9
--- /dev/null
+++ b/src/test/filter/filter-tag.spec.scss
@@ -0,0 +1,24 @@
+@import 'true';
+@import '../../components/filter/_filter-tag-mixins.scss';
+@include describe('filter _filter-tag-mixins.scss') {
+ @include it('Should compile vanilla-filter-tag-base') {
+ @include assert {
+ @include output {
+ @include vanilla-filter-tag-base();
+ }
+ @include expect {
+ @include vanilla-filter-tag-base();
+ }
+ }
+ }
+ @include it('Should compile vanilla-filter-tag') {
+ @include assert {
+ @include output {
+ @include vanilla-filter-tag();
+ }
+ @include expect {
+ @include vanilla-filter-tag();
+ }
+ }
+ }
+}
diff --git a/src/test/filter/filter.spec.scss b/src/test/filter/filter.spec.scss
new file mode 100644
index 00000000..89052eb0
--- /dev/null
+++ b/src/test/filter/filter.spec.scss
@@ -0,0 +1,24 @@
+@import 'true';
+@import '../../components/filter/_filter-mixins.scss';
+@include describe('filter _filter-mixins.scss') {
+ @include it('Should compile vanilla-filter-group') {
+ @include assert {
+ @include output {
+ @include vanilla-filter-group();
+ }
+ @include expect {
+ @include vanilla-filter-group();
+ }
+ }
+ }
+ @include it('Should compile vanilla-filter-base') {
+ @include assert {
+ @include output {
+ @include vanilla-filter-base();
+ }
+ @include expect {
+ @include vanilla-filter-base();
+ }
+ }
+ }
+}
diff --git a/src/test/inputs/text-field.spec.scss b/src/test/inputs/text-field.spec.scss
index 70d18c1b..5de11992 100644
--- a/src/test/inputs/text-field.spec.scss
+++ b/src/test/inputs/text-field.spec.scss
@@ -21,6 +21,16 @@
}
}
}
+ @include it('Should compile vanilla-text-field-wrap--small') {
+ @include assert {
+ @include output {
+ @include vanilla-text-field-wrap--small();
+ }
+ @include expect {
+ @include vanilla-text-field-wrap--small();
+ }
+ }
+ }
@include it('Should compile vanilla-text-field-textarea') {
@include assert {
@include output {
diff --git a/src/test/tooltips/contextual-help.spec.scss b/src/test/tooltips/contextual-help.spec.scss
new file mode 100644
index 00000000..f72ec965
--- /dev/null
+++ b/src/test/tooltips/contextual-help.spec.scss
@@ -0,0 +1,14 @@
+@import 'true';
+@import '../../components/tooltips/_contextual-help-mixins.scss';
+@include describe('tooltips _contextual-help-mixins.scss') {
+ @include it('Should compile vanilla-contextual-help') {
+ @include assert {
+ @include output {
+ @include vanilla-contextual-help();
+ }
+ @include expect {
+ @include vanilla-contextual-help();
+ }
+ }
+ }
+}