@trebired/frontend 4.0.1 → 4.0.3
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
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
All notable package changes are documented here.
|
|
4
4
|
|
|
5
|
+
## 4.0.3
|
|
6
|
+
|
|
7
|
+
- Kept flash stacks on the desktop bottom edge by scoping the mobile bottom-bar safe offset to mobile layout.
|
|
8
|
+
- Matched active tab styling to ARIA/data-selected tab markup.
|
|
9
|
+
- Applied flash level icon colors to inline SVG icon variables as well as the icon host.
|
|
10
|
+
|
|
11
|
+
## 4.0.2
|
|
12
|
+
|
|
13
|
+
- Removed remaining flash type-color fallback variables so semantic flash colors apply only through icon color tokens.
|
|
14
|
+
|
|
5
15
|
## 4.0.1
|
|
6
16
|
|
|
7
17
|
- Changed flash defaults to render Remix Icon status glyphs and keep semantic flash coloring scoped to icons only.
|
|
@@ -55,19 +55,23 @@
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
.tbf-flash[data-tbf-flash-type="success"] .tbf-flash__icon {
|
|
58
|
-
color: var(--tbf-flash-success-icon-color, var(--tbf-flash-
|
|
58
|
+
color: var(--tbf-flash-success-icon-color, var(--tbf-flash-icon-color, currentColor));
|
|
59
|
+
--tbf-icon-color: var(--tbf-flash-success-icon-color, var(--tbf-flash-icon-color, currentColor));
|
|
59
60
|
}
|
|
60
61
|
|
|
61
62
|
.tbf-flash[data-tbf-flash-type="error"] .tbf-flash__icon {
|
|
62
|
-
color: var(--tbf-flash-error-icon-color, var(--tbf-flash-
|
|
63
|
+
color: var(--tbf-flash-error-icon-color, var(--tbf-flash-icon-color, currentColor));
|
|
64
|
+
--tbf-icon-color: var(--tbf-flash-error-icon-color, var(--tbf-flash-icon-color, currentColor));
|
|
63
65
|
}
|
|
64
66
|
|
|
65
67
|
.tbf-flash[data-tbf-flash-type="warn"] .tbf-flash__icon {
|
|
66
|
-
color: var(--tbf-flash-warn-icon-color, var(--tbf-flash-
|
|
68
|
+
color: var(--tbf-flash-warn-icon-color, var(--tbf-flash-icon-color, currentColor));
|
|
69
|
+
--tbf-icon-color: var(--tbf-flash-warn-icon-color, var(--tbf-flash-icon-color, currentColor));
|
|
67
70
|
}
|
|
68
71
|
|
|
69
72
|
.tbf-flash[data-tbf-flash-type="info"] .tbf-flash__icon {
|
|
70
|
-
color: var(--tbf-flash-info-icon-color, var(--tbf-flash-
|
|
73
|
+
color: var(--tbf-flash-info-icon-color, var(--tbf-flash-icon-color, currentColor));
|
|
74
|
+
--tbf-icon-color: var(--tbf-flash-info-icon-color, var(--tbf-flash-icon-color, currentColor));
|
|
71
75
|
}
|
|
72
76
|
|
|
73
77
|
.tbf-flash__body,
|
|
@@ -33,7 +33,10 @@ $tabs-pane-animation-easing: cubic-bezier(0.22, 1, 0.36, 1);
|
|
|
33
33
|
color: var(--tbf-tabs-hover-color, var(--tbf-tabs-color, var(--text-color)));
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
&.active
|
|
36
|
+
&.active,
|
|
37
|
+
&[aria-selected="true"],
|
|
38
|
+
&[data-tbf-active="true"],
|
|
39
|
+
&[data-active="true"] {
|
|
37
40
|
background: var(--tbf-tabs-active-background, var(--background-surface-1));
|
|
38
41
|
border-color: var(--tbf-tabs-active-border-color, var(--border-surface-1));
|
|
39
42
|
color: var(--tbf-tabs-active-color, var(--tbf-tabs-color, var(--text-color)));
|
|
@@ -6,9 +6,10 @@
|
|
|
6
6
|
--tbf-layout-mobile-content-padding: 14px 14px 24px;
|
|
7
7
|
--tbf-layout-compact-content-padding: 12px 10px 20px;
|
|
8
8
|
--tbf-layout-bottom-bar-height: 68px;
|
|
9
|
-
--tbf-layout-bottom-bar-safe-offset: calc(
|
|
9
|
+
--tbf-layout-mobile-bottom-bar-safe-offset: calc(
|
|
10
10
|
var(--tbf-layout-bottom-bar-height) + env(safe-area-inset-bottom, 0px)
|
|
11
11
|
);
|
|
12
|
+
--tbf-layout-bottom-bar-safe-offset: 0px;
|
|
12
13
|
--tbf-layout-sidebar-left-active-width: 0px;
|
|
13
14
|
--tbf-layout-sidebar-right-active-width: 0px;
|
|
14
15
|
--tbf-sidebar-width: 220px;
|
|
@@ -127,6 +128,7 @@ body[data-tbf-sidebar-right-minimized="true"] {
|
|
|
127
128
|
|
|
128
129
|
@media (max-width: 900px) {
|
|
129
130
|
body[data-tbf-layout-mobile="true"] {
|
|
131
|
+
--tbf-layout-bottom-bar-safe-offset: var(--tbf-layout-mobile-bottom-bar-safe-offset);
|
|
130
132
|
padding-bottom: var(--tbf-layout-bottom-bar-safe-offset);
|
|
131
133
|
}
|
|
132
134
|
|