@muraldevkit/ui-toolkit 2.52.0 → 2.52.2-dev.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/dist/components/callout/MrlCallout/MrlCallout.d.ts +32 -0
- package/dist/components/callout/MrlCallout/index.d.ts +1 -0
- package/dist/components/callout/constants.d.ts +1 -0
- package/dist/components/callout/index.d.ts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/popover/MrlPopover/MrlPopover.d.ts +46 -18
- package/dist/components/text/MrlTextHeading/MrlTextHeading.d.ts +7 -3
- package/dist/index.js +1 -1
- package/dist/styles/MrlCallout/module.scss +37 -0
- package/dist/styles/MrlPopover/module.scss +25 -3
- package/package.json +1 -1
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
.MrlCallout {
|
|
2
|
+
&--content {
|
|
3
|
+
max-width: 280px;
|
|
4
|
+
}
|
|
5
|
+
&--title {
|
|
6
|
+
font-size: var(--mrl-font-size-03);
|
|
7
|
+
margin-bottom: var(--mrl-spacing-02);
|
|
8
|
+
padding-right: var(--mrl-spacing-05);
|
|
9
|
+
}
|
|
10
|
+
&--eyebrow {
|
|
11
|
+
font-size: var(--mrl-font-size-01);
|
|
12
|
+
font-weight: 700;
|
|
13
|
+
margin-bottom: var(--mrl-spacing-02);
|
|
14
|
+
padding-right: var(--mrl-spacing-05);
|
|
15
|
+
}
|
|
16
|
+
&--description {
|
|
17
|
+
p {
|
|
18
|
+
font-size: var(--mrl-font-size-02);
|
|
19
|
+
padding-right: var(--mrl-spacing-05);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
&--image {
|
|
23
|
+
margin-top: var(--mrl-spacing-05);
|
|
24
|
+
img {
|
|
25
|
+
height: auto;
|
|
26
|
+
width: 100%;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
&--footer {
|
|
30
|
+
display: flex;
|
|
31
|
+
justify-content: flex-start;
|
|
32
|
+
margin-top: var(--mrl-spacing-05);
|
|
33
|
+
:global(.mrlButton:last-child) {
|
|
34
|
+
margin-left: auto;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
position: absolute;
|
|
29
29
|
right: 4px;
|
|
30
30
|
top: 6px;
|
|
31
|
+
transition: none;
|
|
31
32
|
svg {
|
|
32
33
|
color: var(--mrl-popover-text-color);
|
|
33
34
|
}
|
|
@@ -39,13 +40,14 @@
|
|
|
39
40
|
display: flex;
|
|
40
41
|
}
|
|
41
42
|
&--scrolling {
|
|
42
|
-
padding-bottom: var(--mrl-spacing-04);
|
|
43
43
|
padding-right: 0;
|
|
44
|
-
padding-top: var(--mrl-spacing-03);
|
|
45
44
|
&--content {
|
|
46
45
|
overflow-x: hidden;
|
|
47
46
|
overflow-y: auto;
|
|
48
|
-
padding: var(--mrl-
|
|
47
|
+
padding-right: calc(var(--mrl-popover-padding) - 4px);
|
|
48
|
+
.MrlPopover--close {
|
|
49
|
+
right: 8px;
|
|
50
|
+
}
|
|
49
51
|
}
|
|
50
52
|
}
|
|
51
53
|
&--point {
|
|
@@ -97,3 +99,23 @@
|
|
|
97
99
|
}
|
|
98
100
|
}
|
|
99
101
|
}
|
|
102
|
+
.inverse {
|
|
103
|
+
.MrlPopover {
|
|
104
|
+
&--scrolling {
|
|
105
|
+
&--content {
|
|
106
|
+
&::-webkit-scrollbar {
|
|
107
|
+
background-color: var(--mrl-popover-background-color);
|
|
108
|
+
border-radius: 10px;
|
|
109
|
+
width: 12px;
|
|
110
|
+
}
|
|
111
|
+
&::-webkit-scrollbar-thumb {
|
|
112
|
+
background-clip: content-box;
|
|
113
|
+
background-color: var(--mrl-popover-text-color);
|
|
114
|
+
border: 3px solid transparent;
|
|
115
|
+
border-radius: 10px;
|
|
116
|
+
position: relative;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|