@linzjs/lui 17.15.0 → 17.16.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/CHANGELOG.md +9 -0
- package/dist/assets/icons/misclose_error.svg +1 -0
- package/dist/assets/icons/notice_of_change.svg +1 -1
- package/dist/assets/icons/survey.svg +1 -1
- package/dist/assets/icons/xml_file.svg +1 -1
- package/dist/assets/svg-content.tsx +8 -16
- package/dist/components/LuiSidePanel/LuiSidePanel.d.ts +1 -0
- package/dist/components/LuiTooltip/LuiTooltip.d.ts +3 -1
- package/dist/index.js +197 -20
- package/dist/index.js.map +1 -1
- package/dist/lui.css +24 -51
- package/dist/lui.css.map +1 -1
- package/dist/lui.esm.js +197 -20
- package/dist/lui.esm.js.map +1 -1
- package/dist/scss/Elements/Forms/FormComponents/Inputs.scss +1 -0
- package/dist/scss/Elements/Tooltips/tippy.scss +21 -70
- package/package.json +1 -1
|
@@ -1,84 +1,35 @@
|
|
|
1
|
-
@use "../../Foundation/Variables/MiscVars.scss" as misc;
|
|
2
1
|
@use "../../Foundation/Variables/ColorVars.scss" as colors;
|
|
3
2
|
@use "../../Foundation/Variables/FontVars.scss" as fonts;
|
|
4
|
-
@use "../../Foundation/Variables/SpacingVars.scss" as spacing;
|
|
5
3
|
|
|
6
|
-
$border-width: 2px;
|
|
7
|
-
$border-color: colors.$base-icon-color;
|
|
8
4
|
|
|
9
|
-
.tippy-box
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
|
|
5
|
+
.tippy-box {
|
|
6
|
+
box-shadow: 0 6px 10px rgba(0, 0, 0, 0.25), 0 1px 6px rgba(0, 0, 0, 0.15);
|
|
7
|
+
padding: 4px 8px;
|
|
8
|
+
border-radius: 0;
|
|
14
9
|
|
|
15
10
|
& > .tippy-content {
|
|
16
|
-
font-size:
|
|
11
|
+
font-size: 12px;
|
|
17
12
|
@include fonts.font-regular;
|
|
18
|
-
color: #363636;
|
|
19
|
-
padding: 12px 20px;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
& > .tippy-arrow {
|
|
23
|
-
color: $border-color;
|
|
24
|
-
transform-style: preserve-3d;
|
|
25
|
-
|
|
26
|
-
&::before {
|
|
27
|
-
border-left: 12px solid transparent;
|
|
28
|
-
border-right: 12px solid transparent;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&::after {
|
|
32
|
-
content: '';
|
|
33
|
-
position: absolute;
|
|
34
|
-
left: 0;
|
|
35
|
-
transform: translateZ(-1px);
|
|
36
|
-
border-left: 12px solid transparent;
|
|
37
|
-
border-right: 12px solid transparent;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&[data-placement^='top'] > .tippy-arrow {
|
|
42
|
-
&::before {
|
|
43
|
-
border-top: 21px solid colors.$white;
|
|
44
|
-
bottom: -19px;
|
|
45
|
-
}
|
|
46
|
-
&::after {
|
|
47
|
-
border-top: 22px solid $border-color;
|
|
48
|
-
bottom: -23px;
|
|
49
|
-
}
|
|
50
13
|
}
|
|
14
|
+
}
|
|
51
15
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}
|
|
57
|
-
&::after {
|
|
58
|
-
border-bottom: 22px solid $border-color;
|
|
59
|
-
top: -23px;
|
|
60
|
-
}
|
|
16
|
+
.tippy-box[data-theme~='default'] {
|
|
17
|
+
background: colors.$white;
|
|
18
|
+
& > .tippy-content {
|
|
19
|
+
color: colors.$charcoal;
|
|
61
20
|
}
|
|
21
|
+
}
|
|
62
22
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
&::after {
|
|
69
|
-
border-left: 22px solid $border-color;
|
|
70
|
-
left: 16px;
|
|
71
|
-
}
|
|
23
|
+
.tippy-box[data-theme~='info'] {
|
|
24
|
+
background: colors.$teal;
|
|
25
|
+
& > .tippy-content {
|
|
26
|
+
color: colors.$white;
|
|
72
27
|
}
|
|
28
|
+
}
|
|
73
29
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
}
|
|
79
|
-
&::after {
|
|
80
|
-
border-right: 22px solid $border-color;
|
|
81
|
-
left: -34px;
|
|
82
|
-
}
|
|
30
|
+
.tippy-box[data-theme~='error'] {
|
|
31
|
+
background: colors.$error;
|
|
32
|
+
& > .tippy-content {
|
|
33
|
+
color: colors.$white;
|
|
83
34
|
}
|
|
84
|
-
}
|
|
35
|
+
}
|
package/package.json
CHANGED