@trebired/frontend 1.19.3 → 1.19.4

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
@@ -6,6 +6,11 @@ This project follows semantic versioning once published.
6
6
 
7
7
  ## Unreleased
8
8
 
9
+ ## 1.19.4
10
+
11
+ - Restored legacy primitive card page backgrounds while keeping tabs and inputs on surface backgrounds.
12
+ - Made advanced tabs explicitly inherit the configured sans font so Chromium renders them with the app font instead of native button fallback.
13
+
9
14
  ## 1.19.3
10
15
 
11
16
  - Restored Inter inheritance for native controls so advanced tabs, buttons, inputs, selects, and textareas keep the app font instead of browser defaults.
@@ -15,27 +15,30 @@ $tabs-pane-animation-easing: cubic-bezier(0.22, 1, 0.36, 1);
15
15
  padding: 0 14px;
16
16
  border: var(--border-width) solid var(--border-surface-1);
17
17
  border-radius: var(--radius-sm);
18
- background: transparent;
18
+ color: var(--text-color);
19
+ background: var(--background-surface-1);
19
20
  cursor: pointer;
20
21
  transition:
21
22
  background 0.15s,
22
23
  border-color 0.15s;
24
+ font-family: var(--tbf-font-sans, "Inter", sans-serif);
23
25
  font-size: 14px;
24
26
  line-height: calc(34px - (var(--border-width) * 2));
25
27
  text-align: left;
26
28
 
27
29
  &:hover {
28
- background: var(--background-surface-1);
30
+ background: var(--background-surface-2);
29
31
  border-color: var(--border-surface-1);
30
32
  }
31
33
 
32
34
  &.active {
33
- background: var(--background-surface-1);
35
+ background: var(--background-surface-2);
34
36
  border-color: var(--border-surface-1);
35
37
  }
36
38
 
37
39
  .tab-label {
38
40
  display: block;
41
+ font-family: inherit;
39
42
  white-space: nowrap;
40
43
  overflow: hidden;
41
44
  text-overflow: ellipsis;
@@ -17,12 +17,19 @@ body {
17
17
  -webkit-tap-highlight-color: transparent;
18
18
  }
19
19
 
20
+ html,
21
+ .tbf-root,
22
+ [data-tbf-layout-document] {
23
+ font-family: var(--tbf-font-sans, "Inter", sans-serif);
24
+ }
25
+
20
26
  button,
21
27
  input,
22
28
  optgroup,
23
29
  select,
24
30
  textarea {
25
31
  font: inherit;
32
+ font-family: var(--tbf-font-sans, "Inter", sans-serif);
26
33
  }
27
34
 
28
35
  html,
@@ -35,6 +35,11 @@
35
35
  background: var(--tbf-surface, #fff);
36
36
  }
37
37
 
38
+ .tbf-card.card,
39
+ .card[data-tbf-card] {
40
+ background: var(--background-page, var(--tbf-page, #fff));
41
+ }
42
+
38
43
  .tbf-card[data-tbf-interactive="true"]:hover {
39
44
  border-color: var(--tbf-focus, #000);
40
45
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trebired/frontend",
3
- "version": "1.19.3",
3
+ "version": "1.19.4",
4
4
  "description": "Generic browser runtime systems for Trebired frontend packages and applications.",
5
5
  "type": "module",
6
6
  "private": false,