@trebired/frontend 5.1.2 → 6.0.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 +8 -0
- package/README.md +22 -3
- package/dist/actions/styles/index.scss +42 -42
- package/dist/config/component-tokens.d.ts +290 -126
- package/dist/config/component-tokens.d.ts.map +1 -1
- package/dist/config/component-tokens.js +269 -102
- package/dist/config/component-tokens.js.map +1 -1
- package/dist/config/index.d.ts +1 -1
- package/dist/config/index.d.ts.map +1 -1
- package/dist/config/interactions.d.ts +2 -2
- package/dist/config/interactions.d.ts.map +1 -1
- package/dist/config/interactions.js +7 -7
- package/dist/config/interactions.js.map +1 -1
- package/dist/config/normalize.d.ts.map +1 -1
- package/dist/config/normalize.js +113 -51
- package/dist/config/normalize.js.map +1 -1
- package/dist/config/scss.d.ts.map +1 -1
- package/dist/config/scss.js +24 -23
- package/dist/config/scss.js.map +1 -1
- package/dist/config/types.d.ts +97 -33
- package/dist/config/types.d.ts.map +1 -1
- package/dist/flash/styles/index.scss +30 -30
- package/dist/graph/advanced/contributions_heatmap/model.d.ts +1 -1
- package/dist/graph/advanced/contributions_heatmap/model.d.ts.map +1 -1
- package/dist/graph/advanced/contributions_heatmap/model.js +5 -5
- package/dist/graph/advanced/contributions_heatmap/model.js.map +1 -1
- package/dist/graph/advanced/presets.js +4 -4
- package/dist/graph/advanced/presets.js.map +1 -1
- package/dist/inputs/advanced/checkbox/styles.scss +11 -11
- package/dist/inputs/advanced/dropdown/styles/base.scss +4 -4
- package/dist/inputs/advanced/dropdown/styles/portaled.scss +3 -3
- package/dist/inputs/advanced/radio/styles.scss +8 -8
- package/dist/inputs/advanced/tabs/styles.scss +21 -21
- package/dist/inputs/advanced/toggle/styles.scss +4 -4
- package/dist/language/styles/index.scss +2 -2
- package/dist/layout/styles/chrome.scss +1 -1
- package/dist/logs/styles.scss +2 -2
- package/dist/popover/styles/index.scss +17 -17
- package/dist/primitives/styles/_card.scss +16 -16
- package/dist/primitives/styles/_controls.scss +54 -54
- package/dist/primitives/styles/_display.scss +9 -9
- package/dist/primitives/styles/_indicators.scss +5 -5
- package/dist/progress/styles/index.scss +4 -4
- package/dist/src/config/component-tokens.d.ts +290 -126
- package/dist/src/config/component-tokens.d.ts.map +1 -1
- package/dist/src/config/component-tokens.js +269 -102
- package/dist/src/config/component-tokens.js.map +1 -1
- package/dist/src/config/index.d.ts +1 -1
- package/dist/src/config/index.d.ts.map +1 -1
- package/dist/src/config/interactions.d.ts +2 -2
- package/dist/src/config/interactions.d.ts.map +1 -1
- package/dist/src/config/interactions.js +7 -7
- package/dist/src/config/interactions.js.map +1 -1
- package/dist/src/config/normalize.d.ts.map +1 -1
- package/dist/src/config/normalize.js +113 -51
- package/dist/src/config/normalize.js.map +1 -1
- package/dist/src/config/scss.d.ts.map +1 -1
- package/dist/src/config/scss.js +24 -23
- package/dist/src/config/scss.js.map +1 -1
- package/dist/src/config/types.d.ts +97 -33
- package/dist/src/config/types.d.ts.map +1 -1
- package/dist/src/graph/advanced/contributions_heatmap/model.d.ts +1 -1
- package/dist/src/graph/advanced/contributions_heatmap/model.d.ts.map +1 -1
- package/dist/src/graph/advanced/contributions_heatmap/model.js +5 -5
- package/dist/src/graph/advanced/contributions_heatmap/model.js.map +1 -1
- package/dist/src/graph/advanced/presets.js +4 -4
- package/dist/src/graph/advanced/presets.js.map +1 -1
- package/dist/surface/styles/index.scss +55 -55
- package/dist/theme/styles/index.scss +3 -3
- package/dist/tooltip/styles/index.scss +29 -29
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
.tbf-flash-stack {
|
|
2
2
|
position: fixed;
|
|
3
|
-
right: var(--tbf-flash-offset, 18px);
|
|
4
|
-
bottom: calc(var(--tbf-flash-offset, 18px) + var(--tbf-layout-bottom-bar-safe-offset, 0px));
|
|
5
|
-
width: min(var(--tbf-flash-max-width, 520px), calc(100vw - 36px));
|
|
3
|
+
right: var(--tbf-feedback-flash-placement-offset, 18px);
|
|
4
|
+
bottom: calc(var(--tbf-feedback-flash-placement-offset, 18px) + var(--tbf-layout-bottom-bar-safe-offset, 0px));
|
|
5
|
+
width: min(var(--tbf-feedback-flash-placement-max-width, 520px), calc(100vw - 36px));
|
|
6
6
|
pointer-events: none;
|
|
7
7
|
transition: height var(--tbf-transition-fast) ease;
|
|
8
8
|
}
|
|
@@ -13,19 +13,19 @@
|
|
|
13
13
|
bottom: 0;
|
|
14
14
|
display: inline-flex;
|
|
15
15
|
align-items: center;
|
|
16
|
-
gap: var(--tbf-flash-gap, 10px);
|
|
16
|
+
gap: var(--tbf-feedback-flash-layout-gap, 10px);
|
|
17
17
|
width: max-content;
|
|
18
18
|
max-width: 100%;
|
|
19
19
|
box-sizing: border-box;
|
|
20
|
-
padding: var(--tbf-flash-padding, 15px);
|
|
20
|
+
padding: var(--tbf-feedback-flash-container-padding, 15px);
|
|
21
21
|
border: var(
|
|
22
|
-
--tbf-flash-border,
|
|
23
|
-
var(--tbf-border-width, 1px) solid var(--tbf-flash-border-color, var(--border-surface-1, currentColor))
|
|
22
|
+
--tbf-feedback-flash-container-border,
|
|
23
|
+
var(--tbf-border-width, 1px) solid var(--tbf-feedback-flash-container-border-color, var(--border-surface-1, currentColor))
|
|
24
24
|
);
|
|
25
|
-
border-radius: var(--tbf-flash-radius, var(--radius-lg, var(--tbf-radius, 0)));
|
|
26
|
-
color: var(--tbf-flash-color, var(--text-color, currentColor));
|
|
27
|
-
background: var(--tbf-flash-background, var(--background-surface-1, transparent));
|
|
28
|
-
box-shadow: var(--tbf-flash-shadow, var(--tbf-shadow, none));
|
|
25
|
+
border-radius: var(--tbf-feedback-flash-container-radius, var(--radius-lg, var(--tbf-radius, 0)));
|
|
26
|
+
color: var(--tbf-feedback-flash-container-color, var(--text-color, currentColor));
|
|
27
|
+
background: var(--tbf-feedback-flash-container-background, var(--background-surface-1, transparent));
|
|
28
|
+
box-shadow: var(--tbf-feedback-flash-container-shadow, var(--tbf-shadow, none));
|
|
29
29
|
opacity: 0;
|
|
30
30
|
overflow: hidden;
|
|
31
31
|
pointer-events: auto;
|
|
@@ -49,29 +49,29 @@
|
|
|
49
49
|
align-items: center;
|
|
50
50
|
justify-content: center;
|
|
51
51
|
flex: 0 0 auto;
|
|
52
|
-
color: var(--tbf-flash-icon-color, currentColor);
|
|
53
|
-
font-size: var(--tbf-flash-icon-
|
|
54
|
-
font-weight: var(--tbf-flash-icon-font-weight, 700);
|
|
52
|
+
color: var(--tbf-feedback-flash-slots-icon-color, currentColor);
|
|
53
|
+
font-size: var(--tbf-feedback-flash-slots-icon-size, 13px);
|
|
54
|
+
font-weight: var(--tbf-feedback-flash-slots-icon-font-weight, 700);
|
|
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-icon-color, currentColor));
|
|
59
|
-
--tbf-icon-color: var(--tbf-flash-success-icon-color, var(--tbf-flash-icon-color, currentColor));
|
|
58
|
+
color: var(--tbf-feedback-flash-intents-success-icon-color, var(--tbf-feedback-flash-slots-icon-color, currentColor));
|
|
59
|
+
--tbf-icon-color: var(--tbf-feedback-flash-intents-success-icon-color, var(--tbf-feedback-flash-slots-icon-color, currentColor));
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.tbf-flash[data-tbf-flash-type="error"] .tbf-flash__icon {
|
|
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
|
+
color: var(--tbf-feedback-flash-intents-error-icon-color, var(--tbf-feedback-flash-slots-icon-color, currentColor));
|
|
64
|
+
--tbf-icon-color: var(--tbf-feedback-flash-intents-error-icon-color, var(--tbf-feedback-flash-slots-icon-color, currentColor));
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
.tbf-flash[data-tbf-flash-type="warn"] .tbf-flash__icon {
|
|
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));
|
|
68
|
+
color: var(--tbf-feedback-flash-intents-warn-icon-color, var(--tbf-feedback-flash-slots-icon-color, currentColor));
|
|
69
|
+
--tbf-icon-color: var(--tbf-feedback-flash-intents-warn-icon-color, var(--tbf-feedback-flash-slots-icon-color, currentColor));
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
.tbf-flash[data-tbf-flash-type="info"] .tbf-flash__icon {
|
|
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));
|
|
73
|
+
color: var(--tbf-feedback-flash-intents-info-icon-color, var(--tbf-feedback-flash-slots-icon-color, currentColor));
|
|
74
|
+
--tbf-icon-color: var(--tbf-feedback-flash-intents-info-icon-color, var(--tbf-feedback-flash-slots-icon-color, currentColor));
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
.tbf-flash__body,
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
display: flex;
|
|
80
80
|
min-width: 0;
|
|
81
81
|
flex-direction: column;
|
|
82
|
-
gap: var(--tbf-flash-body-gap, 8px);
|
|
82
|
+
gap: var(--tbf-feedback-flash-layout-body-gap, 8px);
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
.tbf-flash__title,
|
|
@@ -88,21 +88,21 @@
|
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
.tbf-flash__title {
|
|
91
|
-
color: var(--tbf-flash-title-color, currentColor);
|
|
92
|
-
font-weight: var(--tbf-flash-title-font-weight, 400);
|
|
91
|
+
color: var(--tbf-feedback-flash-slots-title-color, currentColor);
|
|
92
|
+
font-weight: var(--tbf-feedback-flash-slots-title-font-weight, 400);
|
|
93
93
|
text-shadow: none;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
.tbf-flash__description {
|
|
97
|
-
color: var(--tbf-flash-description-color, var(--text-color-muted, currentColor));
|
|
98
|
-
font-size: var(--tbf-flash-description-font-size, 0.92rem);
|
|
97
|
+
color: var(--tbf-feedback-flash-slots-description-color, var(--text-color-muted, currentColor));
|
|
98
|
+
font-size: var(--tbf-feedback-flash-slots-description-font-size, 0.92rem);
|
|
99
99
|
text-shadow: none;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
.tbf-flash__actions {
|
|
103
103
|
display: flex;
|
|
104
104
|
justify-content: flex-end;
|
|
105
|
-
gap: var(--tbf-flash-actions-gap, 8px);
|
|
105
|
+
gap: var(--tbf-feedback-flash-layout-actions-gap, 8px);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
.tbf-flash__progress {
|
|
@@ -110,8 +110,8 @@
|
|
|
110
110
|
bottom: 0;
|
|
111
111
|
left: 0;
|
|
112
112
|
width: 100%;
|
|
113
|
-
height: var(--tbf-flash-progress-height, 4px);
|
|
114
|
-
background: var(--tbf-flash-progress-color, currentColor);
|
|
113
|
+
height: var(--tbf-feedback-flash-slots-progress-height, 4px);
|
|
114
|
+
background: var(--tbf-feedback-flash-slots-progress-color, currentColor);
|
|
115
115
|
transform-origin: left center;
|
|
116
116
|
animation-name: tbf-flash-progress;
|
|
117
117
|
animation-timing-function: linear;
|
|
@@ -8,7 +8,7 @@ declare function toCalendarDate(date: Date): string;
|
|
|
8
8
|
declare function addUtcDays(date: Date, dayCount: number): Date;
|
|
9
9
|
declare function contributionCountText(t: ContributionTranslator, count: number, singularKey: string, pluralKey: string, vars?: Record<string, unknown>): string;
|
|
10
10
|
declare function formatDayLabel(date: string, count: number, t: ContributionTranslator): string;
|
|
11
|
-
declare function heatmap_fill_color(count: number, maxCount: number): "var(--tbf-graph-heatmap-empty, var(--background-surface-2, transparent))" | "var(--tbf-graph-heatmap-level-4, var(--tbf-focus, currentColor))" | "var(--tbf-graph-heatmap-level-3, var(--tbf-focus, currentColor))" | "var(--tbf-graph-heatmap-level-2, var(--tbf-focus, currentColor))" | "var(--tbf-graph-heatmap-level-1, var(--tbf-focus, currentColor))";
|
|
11
|
+
declare function heatmap_fill_color(count: number, maxCount: number): "var(--tbf-data-graph-heatmap-empty, var(--background-surface-2, transparent))" | "var(--tbf-data-graph-heatmap-level-4, var(--tbf-focus, currentColor))" | "var(--tbf-data-graph-heatmap-level-3, var(--tbf-focus, currentColor))" | "var(--tbf-data-graph-heatmap-level-2, var(--tbf-focus, currentColor))" | "var(--tbf-data-graph-heatmap-level-1, var(--tbf-focus, currentColor))";
|
|
12
12
|
declare function week_label_y(rowIndex: number): number;
|
|
13
13
|
declare function buildContributionGraphModel(data: contribution_summary, t?: ContributionTranslator): {
|
|
14
14
|
alignedStartDate: Date;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../../../src/graph/advanced/contributions_heatmap/model.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,sBAAsB,EAEtB,oBAAoB,EACrB,MAAM,YAAY,CAAC;AAEpB,QAAA,MAAM,SAAS,KAAK,CAAC;AACrB,QAAA,MAAM,UAAU,IAAI,CAAC;AACrB,QAAA,MAAM,QAAQ,KAAK,CAAC;AACpB,QAAA,MAAM,OAAO,KAAK,CAAC;AACnB,QAAA,MAAM,SAAS,IAAI,CAAC;AA2CpB,iBAAS,cAAc,CAAC,IAAI,EAAE,IAAI,UAKjC;AAED,iBAAS,UAAU,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,QAI/C;AAED,iBAAS,qBAAqB,CAC5B,CAAC,EAAE,sBAAsB,EACzB,KAAK,EAAE,MAAM,EACb,WAAW,EAAE,MAAM,EACnB,SAAS,EAAE,MAAM,EACjB,IAAI,GAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM,UAMnC;AAED,i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QAAQ,EACR,SAAS,EACT,OAAO,EACP,UAAU,EACV,2BAA2B,EAC3B,qBAAqB,EACrB,cAAc,EACd,kBAAkB,EAClB,cAAc,EACd,YAAY,GACb,CAAC"}
|
|
@@ -89,15 +89,15 @@ function heatmap_width(columnCount) {
|
|
|
89
89
|
}
|
|
90
90
|
function heatmap_fill_color(count, maxCount) {
|
|
91
91
|
if (count <= 0 || maxCount <= 0)
|
|
92
|
-
return "var(--tbf-graph-heatmap-empty, var(--background-surface-2, transparent))";
|
|
92
|
+
return "var(--tbf-data-graph-heatmap-empty, var(--background-surface-2, transparent))";
|
|
93
93
|
const ratio = count / maxCount;
|
|
94
94
|
if (ratio >= 0.85)
|
|
95
|
-
return "var(--tbf-graph-heatmap-level-4, var(--tbf-focus, currentColor))";
|
|
95
|
+
return "var(--tbf-data-graph-heatmap-level-4, var(--tbf-focus, currentColor))";
|
|
96
96
|
if (ratio >= 0.55)
|
|
97
|
-
return "var(--tbf-graph-heatmap-level-3, var(--tbf-focus, currentColor))";
|
|
97
|
+
return "var(--tbf-data-graph-heatmap-level-3, var(--tbf-focus, currentColor))";
|
|
98
98
|
if (ratio >= 0.25)
|
|
99
|
-
return "var(--tbf-graph-heatmap-level-2, var(--tbf-focus, currentColor))";
|
|
100
|
-
return "var(--tbf-graph-heatmap-level-1, var(--tbf-focus, currentColor))";
|
|
99
|
+
return "var(--tbf-data-graph-heatmap-level-2, var(--tbf-focus, currentColor))";
|
|
100
|
+
return "var(--tbf-data-graph-heatmap-level-1, var(--tbf-focus, currentColor))";
|
|
101
101
|
}
|
|
102
102
|
function buildMonthLabels(alignedStartDate, startDate, endDate, columnCount, t) {
|
|
103
103
|
const labels = [];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.js","sourceRoot":"","sources":["../../../../../src/graph/advanced/contributions_heatmap/model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,IAAI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;IACxC,OAAO,CACL,QAAQ;QACN,WAAW,GAAG,SAAS;QACvB,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,WAAW,GAAG,CAAC,CAAC,GAAG,UAAU,CAC5C,CAAC;AACJ,CAAC;AAED,SAAS,kBAAkB,CAAC,KAAa,EAAE,QAAgB;IACzD,IAAI,KAAK,IAAI,CAAC,IAAI,QAAQ,IAAI,CAAC;QAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"model.js","sourceRoot":"","sources":["../../../../../src/graph/advanced/contributions_heatmap/model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAOrC,MAAM,SAAS,GAAG,EAAE,CAAC;AACrB,MAAM,UAAU,GAAG,CAAC,CAAC;AACrB,MAAM,QAAQ,GAAG,EAAE,CAAC;AACpB,MAAM,OAAO,GAAG,EAAE,CAAC;AACnB,MAAM,SAAS,GAAG,CAAC,CAAC;AACpB,MAAM,gBAAgB,GAAG;IACvB,mBAAmB;IACnB,oBAAoB;IACpB,iBAAiB;IACjB,iBAAiB;IACjB,eAAe;IACf,gBAAgB;IAChB,gBAAgB;IAChB,kBAAkB;IAClB,qBAAqB;IACrB,mBAAmB;IACnB,oBAAoB;IACpB,oBAAoB;CACrB,CAAC;AAEF,SAAS,iBAAiB,CAAC,IAAY;IACrC,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,IAAI,EAAE,CAAC;SACpC,IAAI,EAAE;SACN,KAAK,CAAC,GAAG,CAAC;SACV,IAAI,CAAC,GAAG,CAAC,CAAC;IACX,MAAM,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC,+BAA+B,CAAC,CAAC;IAChE,IAAI,CAAC,KAAK;QAAE,OAAO,IAAI,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IACxC,MAAM,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,CAAC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,GAAG,EAAE,EAAE,CAAC,WAAW,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC;IACtE,MAAM,QAAQ,GAAG,cAAc,CAAC,MAAM,CACpC,CAAC,OAAO,EAAE,GAAG,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,KAAK,CAAC,EAC9C,CAAC,CACF,CAAC;IACF,MAAM,WAAW,GAAG,gBAAgB,CAClC,gBAAgB,EAChB,SAAS,EACT,OAAO,EACP,WAAW,EACX,CAAC,CACF,CAAC;IACF,OAAO;QACL,gBAAgB;QAChB,WAAW;QACX,WAAW;QACX,OAAO;QACP,mBAAmB;QACnB,6BAA6B;QAC7B,aAAa,EAAE,cAAc,EAAE;QAC/B,YAAY,EAAE,aAAa,CAAC,WAAW,CAAC;QACxC,QAAQ;QACR,WAAW;QACX,cAAc;QACd,aAAa;QACb,eAAe;KAChB,CAAC;AACJ,CAAC;AAED,OAAO,EACL,SAAS,EACT,UAAU,EACV,QAAQ,EACR,SAAS,EACT,OAAO,EACP,UAAU,EACV,2BAA2B,EAC3B,qBAAqB,EACrB,cAAc,EACd,kBAAkB,EAClB,cAAc,EACd,YAAY,GACb,CAAC"}
|
|
@@ -45,8 +45,8 @@ function download_graph(props) {
|
|
|
45
45
|
unit_selectable: props.unit_selectable !== false,
|
|
46
46
|
unit_default_scale: props.unit_default_scale || "m",
|
|
47
47
|
precision: props.precision ?? 2,
|
|
48
|
-
stroke: props.stroke || "var(--tbf-graph-download-stroke, var(--tbf-focus, currentColor))",
|
|
49
|
-
fill: props.fill || "var(--tbf-graph-download-fill, transparent)",
|
|
48
|
+
stroke: props.stroke || "var(--tbf-data-graph-download-stroke, var(--tbf-focus, currentColor))",
|
|
49
|
+
fill: props.fill || "var(--tbf-data-graph-download-fill, transparent)",
|
|
50
50
|
...props,
|
|
51
51
|
});
|
|
52
52
|
}
|
|
@@ -58,8 +58,8 @@ function upload_graph(props) {
|
|
|
58
58
|
unit_selectable: props.unit_selectable !== false,
|
|
59
59
|
unit_default_scale: props.unit_default_scale || "m",
|
|
60
60
|
precision: props.precision ?? 2,
|
|
61
|
-
stroke: props.stroke || "var(--tbf-graph-upload-stroke, var(--tbf-focus, currentColor))",
|
|
62
|
-
fill: props.fill || "var(--tbf-graph-upload-fill, transparent)",
|
|
61
|
+
stroke: props.stroke || "var(--tbf-data-graph-upload-stroke, var(--tbf-focus, currentColor))",
|
|
62
|
+
fill: props.fill || "var(--tbf-data-graph-upload-fill, transparent)",
|
|
63
63
|
...props,
|
|
64
64
|
});
|
|
65
65
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"presets.js","sourceRoot":"","sources":["../../../../src/graph/advanced/presets.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,YAAY,CAAC;AAC/B,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAGrD,SAAS,SAAS,CAAC,KAAkB;IACnC,MAAM,MAAM,GAAG,qBAAqB,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IAClE,OAAO,KAAK,CAAC;QACT,KAAK,EAAE,KAAK,CAAC,KAAK,IAAI,MAAM,CAAC,kBAAkB,CAAC;QAChD,IAAI,EAAE,KAAK,CAAC,IAAI,IAAI,WAAW;QAC/B,SAAS,EAAE,KAAK,CAAC,SAAS,IAAI,CAAC;QAC/B,GAAG,EAAE,KAAK,CAAC,GAAG,IAAI,GAAG;QACrB,MAAM,EAAE,KAAK,CAAC,MAAM,IAAI,sBAAsB;QAC9C,IAAI,EACJ,KAAK,CAAC,IAAI,IAAI,2DAA2D;QACzE,GAAG,KAAK;KACX,CAAC,CAAC;AACL,CAAC;AAED,SAAS,YAAY,CAAC,KAAkB;IACtC,MAAM,MAAM,GAAG,qBAAqB,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,KAAK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CAAC;AACL,CAAC;AAED,SAAS,YAAY,CAAC,KAAkB;IACtC,MAAM,MAAM,GAAG,qBAAqB,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IAClE,OAAO,KAAK,CAAC;QACT,KAAK,EAAE,KAAK,CAAC,KAAK,IAAI,MAAM,CAAC,qBAAqB,CAAC;QACnD,IAAI,EAAE,KAAK,CAAC,IAAI,IAAI,gBAAgB;QACpC,eAAe,EAAE,KAAK,CAAC,eAAe,KAAK,KAAK;QAChD,kBAAkB,EAAE,KAAK,CAAC,kBAAkB,IAAI,GAAG;QACnD,SAAS,EAAE,KAAK,CAAC,SAAS,IAAI,CAAC;QAC/B,MAAM,EAAE,KAAK,CAAC,MAAM,IAAI,qEAAqE;QAC7F,IAAI,EAAE,KAAK,CAAC,IAAI,IAAI,gDAAgD;QACpE,GAAG,KAAK;KACX,CAAC,CAAC;AACL,CAAC;AAED,OAAO,EACL,SAAS,EACT,cAAc,EACd,SAAS,EACT,YAAY,EACZ,YAAY,GACb,CAAC"}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
user-select: none;
|
|
17
17
|
|
|
18
18
|
&:focus-visible {
|
|
19
|
-
outline: var(--border-width) solid var(--tbf-input-focus-color, var(--tbf-focus, currentColor));
|
|
19
|
+
outline: var(--border-width) solid var(--tbf-primitives-input-states-focus-color, var(--tbf-focus, currentColor));
|
|
20
20
|
outline-offset: 2px;
|
|
21
21
|
}
|
|
22
22
|
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
&.is-checked,
|
|
28
28
|
&:has(> .checkbox-input:checked) {
|
|
29
29
|
border-color: var(--border-surface-1);
|
|
30
|
-
background: var(--tbf-choice-checked-background, var(--background-surface-1, transparent));
|
|
30
|
+
background: var(--tbf-primitives-choice-checked-background, var(--background-surface-1, transparent));
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
&:not(:has(.checkbox-option-description)) {
|
|
@@ -47,9 +47,9 @@
|
|
|
47
47
|
height: 18px;
|
|
48
48
|
margin-top: 0;
|
|
49
49
|
border-radius: var(--radius-xs);
|
|
50
|
-
border: var(--border-width) solid var(--tbf-choice-control-border-color, var(--border-surface-1, currentColor));
|
|
50
|
+
border: var(--border-width) solid var(--tbf-primitives-choice-control-border-color, var(--border-surface-1, currentColor));
|
|
51
51
|
background: var(--background-surface-1);
|
|
52
|
-
color: var(--tbf-choice-control-color, currentColor);
|
|
52
|
+
color: var(--tbf-primitives-choice-control-color, currentColor);
|
|
53
53
|
line-height: 0;
|
|
54
54
|
position: relative;
|
|
55
55
|
transition:
|
|
@@ -65,11 +65,11 @@
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
.checkbox-control-icon.active {
|
|
68
|
-
color: var(--tbf-choice-control-active-icon-color, currentColor);
|
|
68
|
+
color: var(--tbf-primitives-choice-control-active-icon-color, currentColor);
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
.checkbox-control-icon.partial {
|
|
72
|
-
color: var(--tbf-choice-control-partial-icon-color, currentColor);
|
|
72
|
+
color: var(--tbf-primitives-choice-control-partial-icon-color, currentColor);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
.checkbox-control-icon::before {
|
|
@@ -100,20 +100,20 @@
|
|
|
100
100
|
|
|
101
101
|
.checkbox-option:has(> .checkbox-input:checked) > .checkbox-control,
|
|
102
102
|
.checkbox-option.is-checked > .checkbox-control {
|
|
103
|
-
border-color: var(--tbf-choice-control-checked-border-color, var(--tbf-focus, currentColor));
|
|
104
|
-
background: var(--tbf-choice-control-checked-background, var(--tbf-focus, transparent));
|
|
105
|
-
color: var(--tbf-choice-control-checked-color, var(--background-page, currentColor));
|
|
103
|
+
border-color: var(--tbf-primitives-choice-control-checked-border-color, var(--tbf-focus, currentColor));
|
|
104
|
+
background: var(--tbf-primitives-choice-control-checked-background, var(--tbf-focus, transparent));
|
|
105
|
+
color: var(--tbf-primitives-choice-control-checked-color, var(--background-page, currentColor));
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
.checkbox-option:has(> .checkbox-input:indeterminate) > .checkbox-control,
|
|
109
109
|
.checkbox-option.is-indeterminate > .checkbox-control {
|
|
110
|
-
border-color: var(--tbf-choice-control-partial-border-color, var(--tbf-focus, currentColor));
|
|
110
|
+
border-color: var(--tbf-primitives-choice-control-partial-border-color, var(--tbf-focus, currentColor));
|
|
111
111
|
background: color-mix(
|
|
112
112
|
in srgb,
|
|
113
113
|
var(--background-surface-1) 70%,
|
|
114
114
|
var(--tbf-focus, currentColor)
|
|
115
115
|
);
|
|
116
|
-
color: var(--tbf-choice-control-partial-color, currentColor);
|
|
116
|
+
color: var(--tbf-primitives-choice-control-partial-color, currentColor);
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
.checkbox-option:has(> .checkbox-input:checked)
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
top: calc(var(--dd-h) / 2);
|
|
34
34
|
transform: translateY(-3px);
|
|
35
35
|
border: calc(var(--border-width) * 6) solid transparent;
|
|
36
|
-
border-top-color: var(--tbf-dropdown-arrow-color, var(--text-color-muted, currentColor));
|
|
36
|
+
border-top-color: var(--tbf-primitives-dropdown-arrow-color, var(--text-color-muted, currentColor));
|
|
37
37
|
pointer-events: none;
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
top: calc(100% + 4px);
|
|
70
70
|
left: 0;
|
|
71
71
|
right: 0;
|
|
72
|
-
background: var(--tbf-dropdown-menu-background, var(--background-surface-1, transparent));
|
|
72
|
+
background: var(--tbf-primitives-dropdown-menu-background, var(--background-surface-1, transparent));
|
|
73
73
|
border: var(--border-width) solid var(--border-surface-1);
|
|
74
74
|
border-radius: var(--radius-lg);
|
|
75
75
|
margin: 0;
|
|
@@ -164,13 +164,13 @@
|
|
|
164
164
|
user-select: none;
|
|
165
165
|
|
|
166
166
|
&:hover {
|
|
167
|
-
background: var(--tbf-dropdown-option-hover-background, var(--background-surface-2, transparent));
|
|
167
|
+
background: var(--tbf-primitives-dropdown-option-states-hover-background, var(--background-surface-2, transparent));
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
&[data-selected="true"] {
|
|
171
171
|
background: color-mix(
|
|
172
172
|
in srgb,
|
|
173
|
-
var(--tbf-dropdown-option-selected-background, var(--background-surface-2, transparent)) 70%,
|
|
173
|
+
var(--tbf-primitives-dropdown-option-states-selected-background, var(--background-surface-2, transparent)) 70%,
|
|
174
174
|
var(--accent, var(--tbf-focus, currentColor)) 30%
|
|
175
175
|
);
|
|
176
176
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
.options[data-dropdown-portaled="true"] {
|
|
4
4
|
position: fixed;
|
|
5
|
-
background: var(--tbf-dropdown-menu-background, var(--background-surface-1, transparent));
|
|
5
|
+
background: var(--tbf-primitives-dropdown-menu-background, var(--background-surface-1, transparent));
|
|
6
6
|
border: var(--border-width) solid var(--border-surface-1);
|
|
7
7
|
border-radius: var(--radius-lg);
|
|
8
8
|
margin: 0;
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
.options[data-dropdown-portaled="true"] .dropdown-list li:hover {
|
|
103
|
-
background: var(--tbf-dropdown-option-hover-background, var(--background-surface-2, transparent));
|
|
103
|
+
background: var(--tbf-primitives-dropdown-option-states-hover-background, var(--background-surface-2, transparent));
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
.options[data-dropdown-portaled="true"]
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
li[data-selected="true"] {
|
|
109
109
|
background: color-mix(
|
|
110
110
|
in srgb,
|
|
111
|
-
var(--tbf-dropdown-option-selected-background, var(--background-surface-2, transparent)) 70%,
|
|
111
|
+
var(--tbf-primitives-dropdown-option-states-selected-background, var(--background-surface-2, transparent)) 70%,
|
|
112
112
|
var(--accent, var(--tbf-focus, currentColor)) 30%
|
|
113
113
|
);
|
|
114
114
|
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
user-select: none;
|
|
17
17
|
|
|
18
18
|
&:focus-visible {
|
|
19
|
-
outline: var(--border-width) solid var(--tbf-input-focus-color, var(--tbf-focus, currentColor));
|
|
19
|
+
outline: var(--border-width) solid var(--tbf-primitives-input-states-focus-color, var(--tbf-focus, currentColor));
|
|
20
20
|
outline-offset: 2px;
|
|
21
21
|
}
|
|
22
22
|
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
&.is-checked,
|
|
28
28
|
&:has(> .radio-input:checked) {
|
|
29
29
|
border-color: var(--border-surface-1);
|
|
30
|
-
background: var(--tbf-choice-checked-background, var(--background-surface-1, transparent));
|
|
30
|
+
background: var(--tbf-primitives-choice-checked-background, var(--background-surface-1, transparent));
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
&:not(:has(.radio-option-description)) {
|
|
@@ -47,9 +47,9 @@
|
|
|
47
47
|
height: 18px;
|
|
48
48
|
margin-top: 0;
|
|
49
49
|
border-radius: var(--radius-xs);
|
|
50
|
-
border: var(--border-width) solid var(--tbf-choice-control-border-color, var(--border-surface-1, currentColor));
|
|
50
|
+
border: var(--border-width) solid var(--tbf-primitives-choice-control-border-color, var(--border-surface-1, currentColor));
|
|
51
51
|
background: var(--background-surface-1);
|
|
52
|
-
color: var(--tbf-choice-control-color, currentColor);
|
|
52
|
+
color: var(--tbf-primitives-choice-control-color, currentColor);
|
|
53
53
|
line-height: 0;
|
|
54
54
|
position: relative;
|
|
55
55
|
transition:
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
.radio-control-icon.active {
|
|
68
|
-
color: var(--tbf-choice-control-active-icon-color, currentColor);
|
|
68
|
+
color: var(--tbf-primitives-choice-control-active-icon-color, currentColor);
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
.radio-control-icon::before {
|
|
@@ -84,9 +84,9 @@
|
|
|
84
84
|
|
|
85
85
|
.radio-option:has(> .radio-input:checked) > .radio-control,
|
|
86
86
|
.radio-option.is-checked > .radio-control {
|
|
87
|
-
border-color: var(--tbf-choice-control-checked-border-color, var(--tbf-focus, currentColor));
|
|
88
|
-
background: var(--tbf-choice-control-checked-background, var(--tbf-focus, transparent));
|
|
89
|
-
color: var(--tbf-choice-control-checked-color, var(--background-page, currentColor));
|
|
87
|
+
border-color: var(--tbf-primitives-choice-control-checked-border-color, var(--tbf-focus, currentColor));
|
|
88
|
+
background: var(--tbf-primitives-choice-control-checked-background, var(--tbf-focus, transparent));
|
|
89
|
+
color: var(--tbf-primitives-choice-control-checked-color, var(--background-page, currentColor));
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
.radio-option:has(> .radio-input:checked)
|
|
@@ -4,42 +4,42 @@ $tabs-pane-animation-easing: cubic-bezier(0.22, 1, 0.36, 1);
|
|
|
4
4
|
.tabs {
|
|
5
5
|
display: flex;
|
|
6
6
|
width: 100%;
|
|
7
|
-
gap: var(--tbf-tabs-gap, var(--tbf-gap-sm));
|
|
7
|
+
gap: var(--tbf-primitives-tabs-list-gap, var(--tbf-gap-sm));
|
|
8
8
|
|
|
9
9
|
.tab {
|
|
10
10
|
flex: 1 1 0;
|
|
11
11
|
min-width: 0;
|
|
12
12
|
max-width: 100%;
|
|
13
13
|
box-sizing: border-box;
|
|
14
|
-
height: var(--tbf-tabs-height, 34px);
|
|
15
|
-
padding: 0 var(--tbf-tabs-padding-inline, 14px);
|
|
16
|
-
border: var(--tbf-tabs-border, var(--border-width) solid var(--border-surface-1));
|
|
17
|
-
border-radius: var(--tbf-tabs-radius, var(--radius-sm));
|
|
18
|
-
color: var(--tbf-tabs-color, var(--text-color));
|
|
19
|
-
background: var(--tbf-tabs-background, transparent);
|
|
14
|
+
height: var(--tbf-primitives-tabs-root-height, 34px);
|
|
15
|
+
padding: 0 var(--tbf-primitives-tabs-root-padding-inline, 14px);
|
|
16
|
+
border: var(--tbf-primitives-tabs-root-border, var(--border-width) solid var(--border-surface-1));
|
|
17
|
+
border-radius: var(--tbf-primitives-tabs-root-radius, var(--radius-sm));
|
|
18
|
+
color: var(--tbf-primitives-tabs-root-color, var(--text-color));
|
|
19
|
+
background: var(--tbf-primitives-tabs-root-background, transparent);
|
|
20
20
|
cursor: pointer;
|
|
21
21
|
transition:
|
|
22
22
|
background 0.15s,
|
|
23
23
|
border-color 0.15s;
|
|
24
|
-
font-family: var(--tbf-tabs-font-family, var(--tbf-font-sans, "Inter", sans-serif));
|
|
25
|
-
font-size: var(--tbf-tabs-font-size, 14px);
|
|
26
|
-
font-weight: var(--tbf-tabs-font-weight, inherit);
|
|
27
|
-
line-height: calc(var(--tbf-tabs-height, 34px) - (var(--border-width) * 2));
|
|
24
|
+
font-family: var(--tbf-primitives-tabs-root-font-family, var(--tbf-font-sans, "Inter", sans-serif));
|
|
25
|
+
font-size: var(--tbf-primitives-tabs-root-font-size, 14px);
|
|
26
|
+
font-weight: var(--tbf-primitives-tabs-root-font-weight, inherit);
|
|
27
|
+
line-height: calc(var(--tbf-primitives-tabs-root-height, 34px) - (var(--border-width) * 2));
|
|
28
28
|
text-align: left;
|
|
29
29
|
|
|
30
30
|
&:hover {
|
|
31
|
-
background: var(--tbf-tabs-hover-background, var(--background-surface-1));
|
|
32
|
-
border-color: var(--tbf-tabs-hover-border-color, var(--border-surface-1));
|
|
33
|
-
color: var(--tbf-tabs-hover-color, var(--tbf-tabs-color, var(--text-color)));
|
|
31
|
+
background: var(--tbf-primitives-tabs-states-hover-background, var(--background-surface-1));
|
|
32
|
+
border-color: var(--tbf-primitives-tabs-states-hover-border-color, var(--border-surface-1));
|
|
33
|
+
color: var(--tbf-primitives-tabs-states-hover-color, var(--tbf-primitives-tabs-root-color, var(--text-color)));
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
&.active,
|
|
37
37
|
&[aria-selected="true"],
|
|
38
38
|
&[data-tbf-active="true"],
|
|
39
39
|
&[data-active="true"] {
|
|
40
|
-
background: var(--tbf-tabs-active-background, var(--background-surface-1));
|
|
41
|
-
border-color: var(--tbf-tabs-active-border-color, var(--border-surface-1));
|
|
42
|
-
color: var(--tbf-tabs-active-color, var(--tbf-tabs-color, var(--text-color)));
|
|
40
|
+
background: var(--tbf-primitives-tabs-states-active-background, var(--background-surface-1));
|
|
41
|
+
border-color: var(--tbf-primitives-tabs-states-active-border-color, var(--border-surface-1));
|
|
42
|
+
color: var(--tbf-primitives-tabs-states-active-color, var(--tbf-primitives-tabs-root-color, var(--text-color)));
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
.tab-label {
|
|
@@ -105,7 +105,7 @@ $tabs-pane-animation-easing: cubic-bezier(0.22, 1, 0.36, 1);
|
|
|
105
105
|
position: absolute;
|
|
106
106
|
left: var(--tabs-nested-indicator-left, 50%);
|
|
107
107
|
top: 50%;
|
|
108
|
-
color: var(--tbf-tabs-nested-indicator-color, var(--text-color-muted, currentColor));
|
|
108
|
+
color: var(--tbf-primitives-tabs-nested-indicator-color, var(--text-color-muted, currentColor));
|
|
109
109
|
font-size: 20px;
|
|
110
110
|
line-height: 1;
|
|
111
111
|
transform: translate(-50%, -50%);
|
|
@@ -140,9 +140,9 @@ $tabs-pane-animation-easing: cubic-bezier(0.22, 1, 0.36, 1);
|
|
|
140
140
|
|
|
141
141
|
.tabs .tab {
|
|
142
142
|
flex: 1 1 calc(50% - 8px);
|
|
143
|
-
height: var(--tbf-tabs-mobile-height, 36px);
|
|
144
|
-
font-size: var(--tbf-tabs-mobile-font-size, 13px);
|
|
145
|
-
line-height: calc(var(--tbf-tabs-mobile-height, 36px) - (var(--border-width) * 2));
|
|
143
|
+
height: var(--tbf-primitives-tabs-responsive-mobile-height, 36px);
|
|
144
|
+
font-size: var(--tbf-primitives-tabs-responsive-mobile-font-size, 13px);
|
|
145
|
+
line-height: calc(var(--tbf-primitives-tabs-responsive-mobile-height, 36px) - (var(--border-width) * 2));
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
.toggle-side.active .toggle-side-label {
|
|
49
|
-
color: var(--tbf-toggle-active-color, var(--text-color, currentColor));
|
|
49
|
+
color: var(--tbf-primitives-toggle-active-color, var(--text-color, currentColor));
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
.toggle-handle {
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
padding: 3px;
|
|
69
69
|
border: var(--border-width) solid var(--border-surface-1);
|
|
70
70
|
border-radius: 999px;
|
|
71
|
-
background: var(--tbf-toggle-track-background, var(--background-surface-1, transparent));
|
|
71
|
+
background: var(--tbf-primitives-toggle-track-background, var(--background-surface-1, transparent));
|
|
72
72
|
transition:
|
|
73
73
|
background 120ms ease,
|
|
74
74
|
border-color 120ms ease;
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
width: 24px;
|
|
79
79
|
height: 24px;
|
|
80
80
|
border-radius: 999px;
|
|
81
|
-
background: var(--tbf-toggle-thumb-background, var(--text-color-muted, currentColor));
|
|
81
|
+
background: var(--tbf-primitives-toggle-thumb-background, var(--text-color-muted, currentColor));
|
|
82
82
|
box-shadow: 0 1px 2px rgb(0 0 0 / 0.22);
|
|
83
83
|
transform: translateX(0);
|
|
84
84
|
transition: transform 140ms ease;
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
.toggle-handle:focus-visible {
|
|
92
|
-
outline: var(--border-width) solid var(--tbf-input-focus-color, var(--tbf-focus, currentColor));
|
|
92
|
+
outline: var(--border-width) solid var(--tbf-primitives-input-states-focus-color, var(--tbf-focus, currentColor));
|
|
93
93
|
outline-offset: 3px;
|
|
94
94
|
border-radius: 999px;
|
|
95
95
|
}
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.tbf-locale-switch-popover .tbf-locale-option[data-tbf-locale-current="true"] {
|
|
12
|
-
background: var(--tbf-language-current-background, var(--background-surface-2, transparent));
|
|
13
|
-
color: var(--text-color);
|
|
12
|
+
background: var(--tbf-shell-language-option-states-current-background, var(--tbf-overlays-popover-item-states-selected-background, var(--background-surface-2, transparent)));
|
|
13
|
+
color: var(--tbf-shell-language-option-states-current-color, var(--text-color));
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.tbf-locale-code {
|
package/dist/logs/styles.scss
CHANGED
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
background: var(--tbf-canvas-bg, var(--dot-grid));
|
|
114
114
|
|
|
115
115
|
::selection {
|
|
116
|
-
background-color: var(--tbf-log-selection-background, var(--background-surface-2, currentColor)) !important;
|
|
116
|
+
background-color: var(--tbf-data-log-selection-background, var(--background-surface-2, currentColor)) !important;
|
|
117
117
|
color: currentColor;
|
|
118
118
|
}
|
|
119
119
|
}
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
cursor: pointer;
|
|
151
151
|
|
|
152
152
|
&:hover {
|
|
153
|
-
background: var(--tbf-log-line-hover-background, color-mix(in srgb, var(--border-surface-1, currentColor) 28%, transparent));
|
|
153
|
+
background: var(--tbf-data-log-line-states-hover-background, color-mix(in srgb, var(--border-surface-1, currentColor) 28%, transparent));
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
&::after {
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
position: fixed;
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-direction: column;
|
|
6
|
-
gap: 2px;
|
|
6
|
+
gap: var(--tbf-overlays-popover-panel-gap, 2px);
|
|
7
7
|
min-width: 220px;
|
|
8
8
|
max-width: min(320px, calc(100vw - 24px));
|
|
9
|
-
padding: 8px;
|
|
10
|
-
border: var(--tbf-border-width, 1px) solid var(--tbf-border, #000);
|
|
11
|
-
border-radius: var(--tbf-radius, 0);
|
|
12
|
-
color: var(--tbf-text, #000);
|
|
13
|
-
background: var(--tbf-surface, #fff);
|
|
14
|
-
box-shadow: var(--tbf-shadow, 0 0 0 1px #000);
|
|
9
|
+
padding: var(--tbf-overlays-popover-panel-padding, 8px);
|
|
10
|
+
border: var(--tbf-overlays-popover-panel-border, var(--tbf-border-width, 1px) solid var(--tbf-border, #000));
|
|
11
|
+
border-radius: var(--tbf-overlays-popover-panel-radius, var(--tbf-radius, 0));
|
|
12
|
+
color: var(--tbf-overlays-popover-panel-color, var(--tbf-text, #000));
|
|
13
|
+
background: var(--tbf-overlays-popover-panel-background, var(--tbf-surface, #fff));
|
|
14
|
+
box-shadow: var(--tbf-overlays-popover-panel-shadow, var(--tbf-shadow, 0 0 0 1px #000));
|
|
15
15
|
visibility: hidden;
|
|
16
16
|
opacity: 0;
|
|
17
17
|
pointer-events: none;
|
|
@@ -40,16 +40,16 @@
|
|
|
40
40
|
[data-tbf-popover] > :where(a, button) {
|
|
41
41
|
display: flex;
|
|
42
42
|
width: 100%;
|
|
43
|
-
height: 35px;
|
|
44
|
-
min-height: 35px;
|
|
43
|
+
height: var(--tbf-overlays-popover-item-root-height, 35px);
|
|
44
|
+
min-height: var(--tbf-overlays-popover-item-root-height, 35px);
|
|
45
45
|
align-items: center;
|
|
46
|
-
gap: 10px;
|
|
47
|
-
padding: 5px 10px;
|
|
46
|
+
gap: var(--tbf-overlays-popover-item-root-gap, 10px);
|
|
47
|
+
padding: var(--tbf-overlays-popover-item-root-padding, 5px 10px);
|
|
48
48
|
overflow: hidden;
|
|
49
|
-
border: 0;
|
|
50
|
-
border-radius: var(--tbf-radius-sm, var(--tbf-radius, 0));
|
|
51
|
-
color: var(--tbf-text-muted, #666);
|
|
52
|
-
background: transparent;
|
|
49
|
+
border: var(--tbf-overlays-popover-item-root-border, 0);
|
|
50
|
+
border-radius: var(--tbf-overlays-popover-item-root-radius, var(--tbf-radius-sm, var(--tbf-radius, 0)));
|
|
51
|
+
color: var(--tbf-overlays-popover-item-root-color, var(--tbf-text-muted, #666));
|
|
52
|
+
background: var(--tbf-overlays-popover-item-root-background, transparent);
|
|
53
53
|
cursor: pointer;
|
|
54
54
|
font: inherit;
|
|
55
55
|
line-height: 1.2;
|
|
@@ -71,6 +71,6 @@
|
|
|
71
71
|
[data-tbf-popover] :where(a, button).popover-item:focus,
|
|
72
72
|
[data-tbf-popover] > :where(a, button):hover,
|
|
73
73
|
[data-tbf-popover] > :where(a, button):focus {
|
|
74
|
-
color: var(--tbf-text, #000);
|
|
75
|
-
background: var(--tbf-surface-muted, #f4f4f4);
|
|
74
|
+
color: var(--tbf-overlays-popover-item-states-hover-color, var(--tbf-text, #000));
|
|
75
|
+
background: var(--tbf-overlays-popover-item-states-hover-background, var(--tbf-surface-muted, #f4f4f4));
|
|
76
76
|
}
|