@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.
@@ -142,6 +142,7 @@
142
142
  width: 10px;
143
143
  margin: 0 0 0 -10px;
144
144
  color: colors.$error;
145
+ @include fonts.font-semibold();
145
146
  @include breakpoint(md) {
146
147
  margin: 0 5px 0 -15px;
147
148
  }
@@ -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[data-theme~='LUI'] {
10
- border: solid $border-width $border-color;
11
- border-radius: 5px;
12
- background: colors.$white;
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: 16px;
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
- &[data-placement^='bottom'] > .tippy-arrow {
53
- &::before {
54
- border-bottom: 21px solid colors.$white;
55
- top: -19px;
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
- &[data-placement^='left'] > .tippy-arrow {
64
- &::before {
65
- border-left: 21px solid colors.$white;
66
- left: 12px;
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
- &[data-placement^='right'] > .tippy-arrow {
75
- &::before {
76
- border-right: 21px solid colors.$white;
77
- left: -30px;
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
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "17.15.0",
2
+ "version": "17.16.0",
3
3
  "license": "MIT",
4
4
  "repository": {
5
5
  "type": "git",