@doodl/slate 1.22.13 → 1.22.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.22.14](https://bitbucket.org/doodlltd/slate/compare/v1.22.13...v1.22.14) (2023-06-14)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * Ensure that contained-button mixin generates a :visited state ([4057d0d](https://bitbucket.org/doodlltd/slate/commit/4057d0d48304c6e1d964d346c459611c8bbf0e3b))
11
+
5
12
  ### [1.22.13](https://bitbucket.org/doodlltd/slate/compare/v1.22.12...v1.22.13) (2023-06-01)
6
13
 
7
14
  ### [1.22.12](https://bitbucket.org/doodlltd/slate/compare/v1.22.11...v1.22.12) (2023-06-01)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doodl/slate",
3
- "version": "1.22.13",
3
+ "version": "1.22.14",
4
4
  "description": "",
5
5
  "main": "./js/dist/index.js",
6
6
  "module": "./js/dist/index.js",
package/scss/_mixins.scss CHANGED
@@ -185,6 +185,10 @@
185
185
  @include assign-variable-property(background,$_background-colour,$key,--slate-button-background--,--contained);
186
186
  @include assign-variable-property(border-color,$_border-colour,$key,--slate-button-border-colour--,--contained);
187
187
 
188
+ &:visited {
189
+ @include button-colour-from-background($_background-colour,$colour,$key,--slate-button-,--contained--visited);
190
+ }
191
+
188
192
  &:active {
189
193
  @if type-of($background) == "map" {
190
194
  @if $_bg-lightness < 20 {
@@ -19,6 +19,10 @@
19
19
  }
20
20
  }
21
21
 
22
+ .text-center {
23
+ text-align: center;
24
+ }
25
+
22
26
  * + .text-columns {
23
27
  margin-top: $slate-default-spacing;
24
- }
28
+ }