@muraldevkit/ui-toolkit 1.30.1 → 1.32.0
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.
|
@@ -13,7 +13,12 @@ $mrl-heading-sizes: 'large', 'small';
|
|
|
13
13
|
|
|
14
14
|
@each $use-case in $mrl-heading-use-cases {
|
|
15
15
|
.MrlTextHeading-#{$use-case} {
|
|
16
|
-
|
|
16
|
+
@if $use-case == 'display' {
|
|
17
|
+
--mrl-heading-family: var(--mrl-heading-font-alt);
|
|
18
|
+
} @else {
|
|
19
|
+
--mrl-heading-family: var(--mrl-heading-font);
|
|
20
|
+
}
|
|
21
|
+
|
|
17
22
|
--mrl-heading-size: var(--mrl-type-size-#{$use-case});
|
|
18
23
|
--mrl-heading-weight: var(--mrl-type-weight-#{$use-case});
|
|
19
24
|
--mrl-heading-spacing: var(--mrl-type-spacing-#{$use-case});
|
|
@@ -31,6 +36,7 @@ $mrl-heading-sizes: 'large', 'small';
|
|
|
31
36
|
|
|
32
37
|
// ---- Title Classes ----
|
|
33
38
|
.MrlTextHeading-title {
|
|
39
|
+
--mrl-heading-family: var(--mrl-heading-font);
|
|
34
40
|
--mrl-heading-size: var(--mrl-type-size-text);
|
|
35
41
|
--mrl-heading-weight: var(--mrl-type-weight-title);
|
|
36
42
|
--mrl-heading-spacing: var(--mrl-type-spacing-text);
|
|
@@ -13,7 +13,7 @@ $mrl-tooltip-arrow-vertical-center: calc(var(--mrl-tooltip-arrow-size) * -1 / 2
|
|
|
13
13
|
// The first number of this calculation needs to match the value of var(--mrl-tooltip-arrow-size)
|
|
14
14
|
$mrl-tooltip-arrow-size: math.hypot(8px, 5px);
|
|
15
15
|
|
|
16
|
-
@use '../
|
|
16
|
+
@use '../tooltip.mixins.scss' as *;
|
|
17
17
|
@use './MrlTooltipContent.variables.scss';
|
|
18
18
|
|
|
19
19
|
.mrl-tooltip-content {
|
|
@@ -21,7 +21,7 @@ $mrl-tooltip-arrow-size: math.hypot(8px, 5px);
|
|
|
21
21
|
border-radius: var(--mrl-tooltip-border-radius);
|
|
22
22
|
color: var(--mrl-tooltip-text-color);
|
|
23
23
|
cursor: default;
|
|
24
|
-
font-family:
|
|
24
|
+
font-family: var(--mrl-body-font);
|
|
25
25
|
font-size: var(--mrl-tooltip-font-size);
|
|
26
26
|
font-weight: var(--mrl-type-weight-title-secondary);
|
|
27
27
|
line-height: var(--mrl-tooltip-line-height);
|
|
@@ -50,8 +50,9 @@ $mrl-tooltip-arrow-size: math.hypot(8px, 5px);
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
// State: Show (Default is hide)
|
|
53
|
-
.mrl-tooltip-content
|
|
54
|
-
.mrl-tooltip-
|
|
53
|
+
.mrl-tooltip-content:hover,
|
|
54
|
+
.mrl-tooltip-trigger--active:hover + .mrl-tooltip-content,
|
|
55
|
+
.mrl-tooltip-trigger--active:focus-visible + .mrl-tooltip-content {
|
|
55
56
|
@include mrl-tooltip-show;
|
|
56
57
|
}
|
|
57
58
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@muraldevkit/ui-toolkit",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.32.0",
|
|
4
4
|
"description": "Mural's UI Toolkit",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@babel/preset-env": "7.21.4",
|
|
51
51
|
"@babel/preset-react": "7.18.6",
|
|
52
52
|
"@babel/preset-typescript": "7.21.4",
|
|
53
|
-
"@muraldevkit/ds-foundation": "1.
|
|
53
|
+
"@muraldevkit/ds-foundation": "1.6.0",
|
|
54
54
|
"@storybook/addon-a11y": "7.0.26",
|
|
55
55
|
"@storybook/addon-essentials": "7.0.26",
|
|
56
56
|
"@storybook/addon-interactions": "7.0.26",
|