@muraldevkit/ui-toolkit 2.53.0 → 2.55.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.
- package/dist/components/avatar/MrlAvatarButton/MrlAvatarButton.d.ts +19 -0
- package/dist/components/avatar/MrlAvatarButton/index.d.ts +1 -0
- package/dist/components/avatar/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/styles/MrlAvatarButton/module.scss +44 -0
- package/dist/styles/MrlBlockNotification/module.scss +7 -6
- package/dist/styles/MrlBlockNotification/variables.scss +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
@use '~@muraldevkit/ds-foundation/src/styles/_mixins' as *;
|
|
2
|
+
.MrlAvatarButton {
|
|
3
|
+
background-color: transparent;
|
|
4
|
+
border: none;
|
|
5
|
+
border-radius: var(--mrl-radii-03);
|
|
6
|
+
margin: 0;
|
|
7
|
+
outline: none;
|
|
8
|
+
padding: 0;
|
|
9
|
+
position: relative;
|
|
10
|
+
&::after {
|
|
11
|
+
background-color: rgba(0, 0, 0, 0%);
|
|
12
|
+
border-radius: var(--mrl-radii-03);
|
|
13
|
+
bottom: 0;
|
|
14
|
+
content: '';
|
|
15
|
+
display: block;
|
|
16
|
+
left: 0;
|
|
17
|
+
position: absolute;
|
|
18
|
+
right: 0;
|
|
19
|
+
top: 0;
|
|
20
|
+
}
|
|
21
|
+
&:focus-visible {
|
|
22
|
+
@include mrl-focus;
|
|
23
|
+
}
|
|
24
|
+
&:hover {
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
&::after {
|
|
27
|
+
background-color: rgba(var(--mrl-gray-90), 0.32);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
&:active {
|
|
31
|
+
&::after {
|
|
32
|
+
background-color: rgba(var(--mrl-gray-90), 0.64);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
&--large {
|
|
36
|
+
border-radius: var(--mrl-radii-06);
|
|
37
|
+
&:focus-visible {
|
|
38
|
+
@include mrl-focus($element-radius: 'var(--mrl-radii-06)');
|
|
39
|
+
}
|
|
40
|
+
&::after {
|
|
41
|
+
border-radius: var(--mrl-radii-06);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -18,6 +18,12 @@ $mrl-notification-close-inset: var(--mrl-spacing-02);
|
|
|
18
18
|
padding: var(--mrl-blockNotification-inset-spacing);
|
|
19
19
|
position: relative;
|
|
20
20
|
width: 100%;
|
|
21
|
+
.mrl-blockNotification-close-wrapper {
|
|
22
|
+
position: absolute;
|
|
23
|
+
right: $mrl-notification-close-inset;
|
|
24
|
+
top: 50%;
|
|
25
|
+
transform: translateY(-50%);
|
|
26
|
+
}
|
|
21
27
|
svg {
|
|
22
28
|
color: var(--mrl-blockNotification-color);
|
|
23
29
|
}
|
|
@@ -28,14 +34,9 @@ $mrl-notification-close-inset: var(--mrl-spacing-02);
|
|
|
28
34
|
);
|
|
29
35
|
position: relative;
|
|
30
36
|
}
|
|
31
|
-
.mrl-blockNotification-close-wrapper {
|
|
32
|
-
position: absolute;
|
|
33
|
-
right: $mrl-notification-close-inset;
|
|
34
|
-
top: 50%;
|
|
35
|
-
transform: translateY(-50%);
|
|
36
|
-
}
|
|
37
37
|
.mrl-blockNotification-message {
|
|
38
38
|
align-items: center;
|
|
39
|
+
max-width: 45rem;
|
|
39
40
|
h2,
|
|
40
41
|
p {
|
|
41
42
|
display: contents;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
--mrl-blockNotification-height: var(--mrl-spacing-09);
|
|
8
8
|
--mrl-blockNotification-inline-spacing: var(--mrl-spacing-03);
|
|
9
9
|
--mrl-blockNotification-inline-spacing-message: var(--mrl-spacing-02);
|
|
10
|
-
--mrl-blockNotification-inset-spacing: var(--mrl-spacing-
|
|
10
|
+
--mrl-blockNotification-inset-spacing: var(--mrl-spacing-02) var(--mrl-spacing-07);
|
|
11
11
|
--mrl-blockNotification-radius: 0;
|
|
12
12
|
--mrl-blockNotification-svg-color: var(--mrl-color-text-inverse);
|
|
13
13
|
}
|