@db-ux/core-foundations 4.11.1 → 4.12.1

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
@@ -1,5 +1,13 @@
1
1
  # @db-ux/core-foundations
2
2
 
3
+ ## 4.12.1
4
+
5
+ _version bump_
6
+
7
+ ## 4.12.0
8
+
9
+ _version bump_
10
+
3
11
  ## 4.11.1
4
12
 
5
13
  _version bump_
@@ -1 +1,18 @@
1
+ @use "functions";
2
+
1
3
  $interactive-elements: 'button,input,textarea,summary,select,a[href],[tabindex]:not([tabindex="-1"])';
4
+
5
+ /// Generates not-disabled > hover/active background-color states.
6
+ /// @param {Color} $bg-hovered - The hovered background color token.
7
+ /// @param {Color} $bg-pressed - The pressed background color token.
8
+ @mixin interactive-bg($bg-hovered, $bg-pressed) {
9
+ @include functions.not-disabled {
10
+ @include functions.hover {
11
+ background-color: $bg-hovered;
12
+ }
13
+
14
+ @include functions.active {
15
+ background-color: $bg-pressed;
16
+ }
17
+ }
18
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@db-ux/core-foundations",
3
- "version": "4.11.1",
3
+ "version": "4.12.1",
4
4
  "type": "module",
5
5
  "description": "Provides basic tokens and assets based on DB UX Design System (Version 3).",
6
6
  "repository": {