@trebired/frontend 5.1.1 → 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 +12 -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 +3 -1
- package/dist/config/index.d.ts.map +1 -1
- package/dist/config/index.js +1 -0
- package/dist/config/index.js.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/tokens.d.ts +25 -0
- package/dist/config/tokens.d.ts.map +1 -0
- package/dist/config/tokens.js +31 -0
- package/dist/config/tokens.js.map +1 -0
- 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 +3 -1
- package/dist/src/config/index.d.ts.map +1 -1
- package/dist/src/config/index.js +1 -0
- package/dist/src/config/index.js.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/tokens.d.ts +25 -0
- package/dist/src/config/tokens.d.ts.map +1 -0
- package/dist/src/config/tokens.js +31 -0
- package/dist/src/config/tokens.js.map +1 -0
- 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
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
All notable package changes are documented here.
|
|
4
4
|
|
|
5
|
+
## 6.0.0
|
|
6
|
+
|
|
7
|
+
- Replaced the flat frontend config shape with structured `assets`, `design`, `runtime`, and grouped `components` sections.
|
|
8
|
+
- Removed legacy top-level config paths such as `fonts`, `icons`, `palette`, `scales`, `theme`, and `interactions`.
|
|
9
|
+
- Reworked component styling tokens into grouped namespaces for primitives, surfaces, overlays, feedback, shell, and data components.
|
|
10
|
+
- Moved active press feedback config to `design.interactions.activePress`, still disabled by default with `0.9` as the default brightness when enabled.
|
|
11
|
+
- Moved progress runtime tokens to `runtime.progress` and flash tokens to `components.feedback.flash`.
|
|
12
|
+
|
|
13
|
+
## 5.1.2
|
|
14
|
+
|
|
15
|
+
- Added `createFrontendTokenHelpers()` for typed frontend config references to palette scale, mode-suffixed palette, semantic variables, CSS variable fallbacks, borders, and color mixes.
|
|
16
|
+
|
|
5
17
|
## 5.1.1
|
|
6
18
|
|
|
7
19
|
- Made active press brightness opt-in by default while preserving `0.9` as the default brightness value when enabled.
|
package/README.md
CHANGED
|
@@ -33,9 +33,28 @@ import { defineFrontendConfig } from "<package-name>/config";
|
|
|
33
33
|
|
|
34
34
|
export default defineFrontendConfig({
|
|
35
35
|
prefix: "tbf",
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
assets: {
|
|
37
|
+
icons: {
|
|
38
|
+
endpoint: "/__icons/svg",
|
|
39
|
+
packs: ["remixicon", "simple-icons"],
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
design: {
|
|
43
|
+
interactions: {
|
|
44
|
+
activePress: {
|
|
45
|
+
enabled: false,
|
|
46
|
+
brightness: 0.9,
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
runtime: {
|
|
51
|
+
theme: {
|
|
52
|
+
defaultMode: "dark",
|
|
53
|
+
modes: {
|
|
54
|
+
dark: { scheme: "dark" },
|
|
55
|
+
light: { scheme: "light" },
|
|
56
|
+
},
|
|
57
|
+
},
|
|
39
58
|
},
|
|
40
59
|
systems: {
|
|
41
60
|
actions: true,
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
.tbf-button {
|
|
2
|
-
--tbf-action-control-current-icon-color: var(
|
|
3
|
-
--tbf-action-control-icon-color,
|
|
4
|
-
var(--tbf-button-icon-color, currentColor)
|
|
2
|
+
--tbf-primitives-action-control-current-icon-color: var(
|
|
3
|
+
--tbf-primitives-action-control-slots-icon-color,
|
|
4
|
+
var(--tbf-primitives-button-slots-icon-color, currentColor)
|
|
5
5
|
);
|
|
6
6
|
display: inline-flex;
|
|
7
7
|
align-items: center;
|
|
8
8
|
justify-content: center;
|
|
9
|
-
gap: var(--tbf-action-control-gap, var(--tbf-button-gap, 8px));
|
|
10
|
-
min-height: var(--tbf-action-control-min-height, var(--tbf-action-control-height, var(--tbf-button-height, 28px)));
|
|
9
|
+
gap: var(--tbf-primitives-action-control-root-gap, var(--tbf-primitives-button-root-gap, 8px));
|
|
10
|
+
min-height: var(--tbf-primitives-action-control-root-min-height, var(--tbf-primitives-action-control-root-height, var(--tbf-primitives-button-root-height, 28px)));
|
|
11
11
|
box-sizing: border-box;
|
|
12
|
-
padding: var(--tbf-action-control-padding, var(--tbf-button-padding, 0 12px));
|
|
13
|
-
padding-block: var(--tbf-action-control-padding-block, var(--tbf-button-padding-block, 0));
|
|
12
|
+
padding: var(--tbf-primitives-action-control-root-padding, var(--tbf-primitives-button-root-padding, 0 12px));
|
|
13
|
+
padding-block: var(--tbf-primitives-action-control-root-padding-block, var(--tbf-primitives-button-root-padding-block, 0));
|
|
14
14
|
border: var(
|
|
15
|
-
--tbf-action-control-border,
|
|
16
|
-
var(--tbf-button-border, var(--border-width) solid var(--border-surface-2))
|
|
15
|
+
--tbf-primitives-action-control-root-border,
|
|
16
|
+
var(--tbf-primitives-button-root-border, var(--border-width) solid var(--border-surface-2))
|
|
17
17
|
);
|
|
18
18
|
border-radius: var(
|
|
19
|
-
--tbf-action-control-radius,
|
|
20
|
-
var(--tbf-button-radius, var(--radius-md, var(--tbf-radius, 0)))
|
|
19
|
+
--tbf-primitives-action-control-root-radius,
|
|
20
|
+
var(--tbf-primitives-button-root-radius, var(--radius-md, var(--tbf-radius, 0)))
|
|
21
21
|
);
|
|
22
|
-
color: var(--tbf-action-control-color, var(--tbf-button-color, var(--text-color)));
|
|
23
|
-
background: var(--tbf-action-control-background, var(--tbf-button-background, transparent));
|
|
22
|
+
color: var(--tbf-primitives-action-control-root-color, var(--tbf-primitives-button-root-color, var(--text-color)));
|
|
23
|
+
background: var(--tbf-primitives-action-control-root-background, var(--tbf-primitives-button-root-background, transparent));
|
|
24
24
|
cursor: pointer;
|
|
25
25
|
appearance: none;
|
|
26
26
|
-webkit-appearance: none;
|
|
27
|
-
font-family: var(--tbf-action-control-font-family, var(--tbf-font-sans, "Inter", sans-serif));
|
|
28
|
-
font-size: var(--tbf-action-control-font-size, var(--tbf-button-font-size, 12px));
|
|
29
|
-
font-weight: var(--tbf-action-control-font-weight, var(--tbf-button-font-weight, 600));
|
|
27
|
+
font-family: var(--tbf-primitives-action-control-root-font-family, var(--tbf-font-sans, "Inter", sans-serif));
|
|
28
|
+
font-size: var(--tbf-primitives-action-control-root-font-size, var(--tbf-primitives-button-root-font-size, 12px));
|
|
29
|
+
font-weight: var(--tbf-primitives-action-control-root-font-weight, var(--tbf-primitives-button-root-font-weight, 600));
|
|
30
30
|
line-height: 1.15;
|
|
31
31
|
text-decoration: none;
|
|
32
32
|
white-space: nowrap;
|
|
@@ -35,19 +35,19 @@
|
|
|
35
35
|
.tbf-button:hover,
|
|
36
36
|
.tbf-button[aria-pressed="true"],
|
|
37
37
|
.tbf-button[data-tbf-active="true"] {
|
|
38
|
-
--tbf-action-control-current-icon-color: var(
|
|
39
|
-
--tbf-action-control-hover-icon-color,
|
|
40
|
-
var(--tbf-button-hover-icon-color, currentColor)
|
|
38
|
+
--tbf-primitives-action-control-current-icon-color: var(
|
|
39
|
+
--tbf-primitives-action-control-states-hover-icon-color,
|
|
40
|
+
var(--tbf-primitives-button-states-hover-icon-color, currentColor)
|
|
41
41
|
);
|
|
42
|
-
border-color: var(--tbf-action-control-hover-border-color, var(--tbf-button-hover-border-color, currentColor));
|
|
43
|
-
color: var(--tbf-action-control-hover-color, var(--tbf-button-hover-color, currentColor));
|
|
44
|
-
background: var(--tbf-action-control-hover-background, var(--tbf-button-hover-background, var(--tbf-button-background, transparent)));
|
|
42
|
+
border-color: var(--tbf-primitives-action-control-states-hover-border-color, var(--tbf-primitives-button-states-hover-border-color, currentColor));
|
|
43
|
+
color: var(--tbf-primitives-action-control-states-hover-color, var(--tbf-primitives-button-states-hover-color, currentColor));
|
|
44
|
+
background: var(--tbf-primitives-action-control-states-hover-background, var(--tbf-primitives-button-states-hover-background, var(--tbf-primitives-button-root-background, transparent)));
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.tbf-button:disabled,
|
|
48
48
|
.tbf-button[disabled],
|
|
49
49
|
.tbf-button.disabled {
|
|
50
|
-
opacity: var(--tbf-action-control-disabled-opacity, var(--tbf-button-disabled-opacity, 0.55));
|
|
50
|
+
opacity: var(--tbf-primitives-action-control-states-disabled-opacity, var(--tbf-primitives-button-states-disabled-opacity, 0.55));
|
|
51
51
|
cursor: not-allowed;
|
|
52
52
|
pointer-events: none;
|
|
53
53
|
}
|
|
@@ -57,47 +57,47 @@
|
|
|
57
57
|
.tbf-button > i svg,
|
|
58
58
|
.tbf-button > [data-icon],
|
|
59
59
|
.tbf-button > [data-icon] svg {
|
|
60
|
-
color: var(--tbf-action-control-current-icon-color);
|
|
60
|
+
color: var(--tbf-primitives-action-control-current-icon-color);
|
|
61
61
|
flex: 0 0 auto;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
.tbf-button--strong {
|
|
65
|
-
--tbf-action-control-current-icon-color: var(
|
|
66
|
-
--tbf-action-control-
|
|
67
|
-
var(--tbf-button-tones-highlight-icon-color, currentColor)
|
|
65
|
+
--tbf-primitives-action-control-current-icon-color: var(
|
|
66
|
+
--tbf-primitives-action-control-tones-highlight-icon-color,
|
|
67
|
+
var(--tbf-primitives-button-tones-highlight-icon-color, currentColor)
|
|
68
68
|
);
|
|
69
69
|
border-color: var(
|
|
70
|
-
--tbf-action-control-
|
|
71
|
-
var(--tbf-button-tones-highlight-border-color, currentColor)
|
|
70
|
+
--tbf-primitives-action-control-tones-highlight-border-color,
|
|
71
|
+
var(--tbf-primitives-button-tones-highlight-border-color, currentColor)
|
|
72
72
|
);
|
|
73
73
|
color: var(
|
|
74
|
-
--tbf-action-control-
|
|
75
|
-
var(--tbf-button-tones-highlight-color, currentColor)
|
|
74
|
+
--tbf-primitives-action-control-tones-highlight-color,
|
|
75
|
+
var(--tbf-primitives-button-tones-highlight-color, currentColor)
|
|
76
76
|
);
|
|
77
77
|
background: var(
|
|
78
|
-
--tbf-action-control-
|
|
79
|
-
var(--tbf-button-tones-highlight-background, var(--tbf-button-background, transparent))
|
|
78
|
+
--tbf-primitives-action-control-tones-highlight-background,
|
|
79
|
+
var(--tbf-primitives-button-tones-highlight-background, var(--tbf-primitives-button-root-background, transparent))
|
|
80
80
|
);
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
.tbf-button--strong:hover,
|
|
84
84
|
.tbf-button--strong[aria-pressed="true"],
|
|
85
85
|
.tbf-button--strong[data-tbf-active="true"] {
|
|
86
|
-
--tbf-action-control-current-icon-color: var(
|
|
87
|
-
--tbf-action-control-
|
|
88
|
-
var(--tbf-button-tones-highlight-hover-icon-color, currentColor)
|
|
86
|
+
--tbf-primitives-action-control-current-icon-color: var(
|
|
87
|
+
--tbf-primitives-action-control-tones-highlight-states-hover-icon-color,
|
|
88
|
+
var(--tbf-primitives-button-tones-highlight-states-hover-icon-color, currentColor)
|
|
89
89
|
);
|
|
90
90
|
border-color: var(
|
|
91
|
-
--tbf-action-control-
|
|
92
|
-
var(--tbf-button-tones-highlight-hover-border-color, currentColor)
|
|
91
|
+
--tbf-primitives-action-control-tones-highlight-states-hover-border-color,
|
|
92
|
+
var(--tbf-primitives-button-tones-highlight-states-hover-border-color, currentColor)
|
|
93
93
|
);
|
|
94
94
|
color: var(
|
|
95
|
-
--tbf-action-control-
|
|
96
|
-
var(--tbf-button-tones-highlight-hover-color, currentColor)
|
|
95
|
+
--tbf-primitives-action-control-tones-highlight-states-hover-color,
|
|
96
|
+
var(--tbf-primitives-button-tones-highlight-states-hover-color, currentColor)
|
|
97
97
|
);
|
|
98
98
|
background: var(
|
|
99
|
-
--tbf-action-control-
|
|
100
|
-
var(--tbf-button-tones-highlight-hover-background, var(--tbf-button-hover-background, var(--tbf-button-background, transparent)))
|
|
99
|
+
--tbf-primitives-action-control-tones-highlight-states-hover-background,
|
|
100
|
+
var(--tbf-primitives-button-tones-highlight-states-hover-background, var(--tbf-primitives-button-states-hover-background, var(--tbf-primitives-button-root-background, transparent)))
|
|
101
101
|
);
|
|
102
102
|
}
|
|
103
103
|
|
|
@@ -1,149 +1,313 @@
|
|
|
1
1
|
import type { NormalizedFrontendComponentsConfig } from "./types.js";
|
|
2
2
|
declare const DEFAULT_FRONTEND_COMPONENTS_CONFIG: Readonly<{
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
3
|
+
data: Readonly<{
|
|
4
|
+
graph: Readonly<{
|
|
5
|
+
download: Readonly<{}>;
|
|
6
|
+
heatmap: Readonly<{}>;
|
|
7
|
+
upload: Readonly<{}>;
|
|
8
|
+
}>;
|
|
9
|
+
log: Readonly<{
|
|
10
|
+
line: Readonly<{}>;
|
|
11
|
+
selection: Readonly<{}>;
|
|
12
|
+
}>;
|
|
13
|
+
}>;
|
|
14
|
+
feedback: Readonly<{
|
|
15
|
+
flash: Readonly<{
|
|
16
|
+
container: {
|
|
17
|
+
background: string;
|
|
18
|
+
border: string;
|
|
19
|
+
color: string;
|
|
20
|
+
padding: string;
|
|
21
|
+
radius: string;
|
|
20
22
|
};
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
intents: {
|
|
24
|
+
error: {};
|
|
25
|
+
info: {};
|
|
26
|
+
success: {};
|
|
27
|
+
warn: {};
|
|
24
28
|
};
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
29
|
+
layout: {
|
|
30
|
+
actionsGap: string;
|
|
31
|
+
bodyGap: string;
|
|
32
|
+
gap: string;
|
|
28
33
|
};
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
34
|
+
placement: {
|
|
35
|
+
maxWidth: string;
|
|
36
|
+
offset: string;
|
|
32
37
|
};
|
|
33
|
-
|
|
34
|
-
|
|
38
|
+
slots: {
|
|
39
|
+
description: {
|
|
40
|
+
fontSize: string;
|
|
41
|
+
};
|
|
42
|
+
icon: {
|
|
43
|
+
fontWeight: string;
|
|
44
|
+
size: string;
|
|
45
|
+
};
|
|
46
|
+
progress: {
|
|
47
|
+
height: string;
|
|
48
|
+
};
|
|
49
|
+
title: {
|
|
50
|
+
fontWeight: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
}>;
|
|
55
|
+
overlays: Readonly<{
|
|
56
|
+
modal: Readonly<{}>;
|
|
57
|
+
popover: Readonly<{
|
|
58
|
+
item: {
|
|
59
|
+
root: {
|
|
60
|
+
height: string;
|
|
61
|
+
padding: string;
|
|
62
|
+
radius: string;
|
|
63
|
+
};
|
|
64
|
+
states: {
|
|
65
|
+
hover: {};
|
|
66
|
+
selected: {};
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
panel: {
|
|
70
|
+
background: string;
|
|
71
|
+
border: string;
|
|
72
|
+
color: string;
|
|
73
|
+
gap: string;
|
|
74
|
+
padding: string;
|
|
75
|
+
radius: string;
|
|
76
|
+
};
|
|
77
|
+
}>;
|
|
78
|
+
tooltip: Readonly<{
|
|
79
|
+
arrow: {
|
|
80
|
+
borderWidth: string;
|
|
35
81
|
size: string;
|
|
36
82
|
};
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
83
|
+
motion: {
|
|
84
|
+
duration: string;
|
|
85
|
+
easing: string;
|
|
86
|
+
};
|
|
87
|
+
panel: {
|
|
88
|
+
background: string;
|
|
89
|
+
border: string;
|
|
90
|
+
color: string;
|
|
91
|
+
fontFamily: string;
|
|
43
92
|
fontSize: string;
|
|
44
|
-
|
|
45
|
-
|
|
93
|
+
lineHeight: string;
|
|
94
|
+
padding: string;
|
|
95
|
+
radius: string;
|
|
46
96
|
};
|
|
47
|
-
|
|
97
|
+
}>;
|
|
98
|
+
}>;
|
|
99
|
+
primitives: Readonly<{
|
|
100
|
+
actionControl: Readonly<{}>;
|
|
101
|
+
button: Readonly<{
|
|
102
|
+
root: {
|
|
103
|
+
background: string;
|
|
104
|
+
border: string;
|
|
105
|
+
color: string;
|
|
48
106
|
fontSize: string;
|
|
107
|
+
fontWeight: string;
|
|
108
|
+
gap: string;
|
|
49
109
|
height: string;
|
|
50
|
-
|
|
110
|
+
padding: string;
|
|
111
|
+
paddingBlock: string;
|
|
112
|
+
radius: string;
|
|
113
|
+
};
|
|
114
|
+
sizes: {
|
|
115
|
+
lg: {
|
|
116
|
+
fontSize: string;
|
|
117
|
+
height: string;
|
|
118
|
+
paddingInline: string;
|
|
119
|
+
};
|
|
120
|
+
md: {
|
|
121
|
+
fontSize: string;
|
|
122
|
+
height: string;
|
|
123
|
+
paddingInline: string;
|
|
124
|
+
};
|
|
125
|
+
sm: {
|
|
126
|
+
fontSize: string;
|
|
127
|
+
height: string;
|
|
128
|
+
paddingInline: string;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
slots: {
|
|
132
|
+
icon: {
|
|
133
|
+
fontSize: string;
|
|
134
|
+
size: string;
|
|
135
|
+
sizes: {
|
|
136
|
+
lg: {
|
|
137
|
+
fontSize: string;
|
|
138
|
+
size: string;
|
|
139
|
+
};
|
|
140
|
+
md: {
|
|
141
|
+
fontSize: string;
|
|
142
|
+
size: string;
|
|
143
|
+
};
|
|
144
|
+
sm: {
|
|
145
|
+
fontSize: string;
|
|
146
|
+
size: string;
|
|
147
|
+
};
|
|
148
|
+
xs: {
|
|
149
|
+
fontSize: string;
|
|
150
|
+
size: string;
|
|
151
|
+
};
|
|
152
|
+
xs2: {
|
|
153
|
+
fontSize: string;
|
|
154
|
+
size: string;
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
};
|
|
51
158
|
};
|
|
52
|
-
|
|
159
|
+
states: {
|
|
160
|
+
disabled: {
|
|
161
|
+
opacity: string;
|
|
162
|
+
};
|
|
163
|
+
hover: {};
|
|
164
|
+
};
|
|
165
|
+
tones: {
|
|
166
|
+
green: {
|
|
167
|
+
states: {
|
|
168
|
+
hover: {};
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
highlight: {
|
|
172
|
+
states: {
|
|
173
|
+
hover: {};
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
red: {
|
|
177
|
+
states: {
|
|
178
|
+
hover: {};
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
yellow: {
|
|
182
|
+
states: {
|
|
183
|
+
hover: {};
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
}>;
|
|
188
|
+
choice: Readonly<{
|
|
189
|
+
checked: Readonly<{}>;
|
|
190
|
+
control: Readonly<{}>;
|
|
191
|
+
}>;
|
|
192
|
+
dot: Readonly<{}>;
|
|
193
|
+
dropdown: Readonly<{
|
|
194
|
+
arrow: Readonly<{}>;
|
|
195
|
+
menu: Readonly<{}>;
|
|
196
|
+
option: Readonly<{
|
|
197
|
+
states: {
|
|
198
|
+
hover: {};
|
|
199
|
+
selected: {};
|
|
200
|
+
};
|
|
201
|
+
}>;
|
|
202
|
+
}>;
|
|
203
|
+
input: Readonly<{
|
|
204
|
+
states: {
|
|
205
|
+
focus: {};
|
|
206
|
+
};
|
|
207
|
+
}>;
|
|
208
|
+
loader: Readonly<{}>;
|
|
209
|
+
pill: Readonly<{}>;
|
|
210
|
+
progress: Readonly<{}>;
|
|
211
|
+
tabs: Readonly<{
|
|
212
|
+
list: {
|
|
213
|
+
gap: string;
|
|
214
|
+
};
|
|
215
|
+
responsive: {
|
|
216
|
+
mobile: {
|
|
217
|
+
fontSize: string;
|
|
218
|
+
height: string;
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
root: {
|
|
222
|
+
background: string;
|
|
223
|
+
border: string;
|
|
224
|
+
color: string;
|
|
225
|
+
fontFamily: string;
|
|
53
226
|
fontSize: string;
|
|
54
227
|
height: string;
|
|
55
228
|
paddingInline: string;
|
|
229
|
+
radius: string;
|
|
56
230
|
};
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
minHeight: "var(--height-xs4, 35px)";
|
|
61
|
-
padding: "14px 14px 12px 14px";
|
|
62
|
-
radius: "var(--radius-lg, var(--tbf-radius, 0))";
|
|
63
|
-
row: {
|
|
64
|
-
padding: string;
|
|
65
|
-
radius: string;
|
|
66
|
-
};
|
|
67
|
-
title: {
|
|
68
|
-
fontSize: string;
|
|
69
|
-
fontWeight: string;
|
|
70
|
-
margin: string;
|
|
71
|
-
};
|
|
72
|
-
}>;
|
|
73
|
-
flash: Readonly<{
|
|
74
|
-
actionsGap: "8px";
|
|
75
|
-
bodyGap: "8px";
|
|
76
|
-
descriptionFontSize: "0.92rem";
|
|
77
|
-
gap: "10px";
|
|
78
|
-
icon: {
|
|
79
|
-
fontSize: string;
|
|
80
|
-
fontWeight: string;
|
|
81
|
-
};
|
|
82
|
-
maxWidth: "520px";
|
|
83
|
-
offset: "18px";
|
|
84
|
-
padding: "15px";
|
|
85
|
-
progressHeight: "4px";
|
|
86
|
-
radius: "var(--radius-lg, var(--tbf-radius, 0))";
|
|
87
|
-
title: {
|
|
88
|
-
fontWeight: string;
|
|
89
|
-
};
|
|
90
|
-
}>;
|
|
91
|
-
header: Readonly<{
|
|
92
|
-
brand: {
|
|
93
|
-
tag: {
|
|
94
|
-
offsetY: string;
|
|
231
|
+
states: {
|
|
232
|
+
active: {};
|
|
233
|
+
hover: {};
|
|
95
234
|
};
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
235
|
+
}>;
|
|
236
|
+
textLink: Readonly<{
|
|
237
|
+
root: {
|
|
238
|
+
color: string;
|
|
239
|
+
fontWeight: string;
|
|
240
|
+
textDecorationLine: string;
|
|
241
|
+
textDecorationStyle: string;
|
|
242
|
+
textDecorationThickness: string;
|
|
243
|
+
textUnderlineOffset: string;
|
|
244
|
+
transition: string;
|
|
245
|
+
};
|
|
246
|
+
states: {
|
|
247
|
+
hover: {
|
|
248
|
+
textDecorationStyle: string;
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
}>;
|
|
252
|
+
toggle: Readonly<{
|
|
253
|
+
active: Readonly<{}>;
|
|
254
|
+
thumb: Readonly<{}>;
|
|
255
|
+
track: Readonly<{}>;
|
|
256
|
+
}>;
|
|
116
257
|
}>;
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
258
|
+
shell: Readonly<{
|
|
259
|
+
header: Readonly<{
|
|
260
|
+
brand: {
|
|
261
|
+
tag: {
|
|
262
|
+
offsetY: string;
|
|
263
|
+
};
|
|
264
|
+
};
|
|
265
|
+
}>;
|
|
266
|
+
language: Readonly<{
|
|
267
|
+
option: {
|
|
268
|
+
states: {
|
|
269
|
+
current: {};
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
}>;
|
|
273
|
+
sidebar: Readonly<{}>;
|
|
274
|
+
theme: Readonly<{
|
|
275
|
+
option: {
|
|
276
|
+
states: {
|
|
277
|
+
current: {};
|
|
278
|
+
};
|
|
279
|
+
};
|
|
280
|
+
}>;
|
|
129
281
|
}>;
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
282
|
+
surfaces: Readonly<{
|
|
283
|
+
button: Readonly<{}>;
|
|
284
|
+
card: Readonly<{
|
|
285
|
+
body: {
|
|
286
|
+
divider: {};
|
|
287
|
+
};
|
|
288
|
+
root: {
|
|
289
|
+
background: string;
|
|
290
|
+
border: string;
|
|
291
|
+
minHeight: string;
|
|
292
|
+
padding: string;
|
|
293
|
+
radius: string;
|
|
294
|
+
};
|
|
295
|
+
row: {
|
|
296
|
+
background: string;
|
|
297
|
+
padding: string;
|
|
298
|
+
radius: string;
|
|
299
|
+
states: {
|
|
300
|
+
excluded: {};
|
|
301
|
+
hover: {};
|
|
302
|
+
selected: {};
|
|
303
|
+
};
|
|
304
|
+
};
|
|
305
|
+
title: {
|
|
306
|
+
fontSize: string;
|
|
307
|
+
fontWeight: string;
|
|
308
|
+
margin: string;
|
|
309
|
+
};
|
|
310
|
+
}>;
|
|
147
311
|
}>;
|
|
148
312
|
}>;
|
|
149
313
|
declare function normalizeComponentsConfig(value: unknown): NormalizedFrontendComponentsConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-tokens.d.ts","sourceRoot":"","sources":["../../../src/config/component-tokens.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,kCAAkC,EAGnC,MAAM,YAAY,CAAC;AAIpB,QAAA,MAAM,kCAAkC
|
|
1
|
+
{"version":3,"file":"component-tokens.d.ts","sourceRoot":"","sources":["../../../src/config/component-tokens.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,kCAAkC,EAGnC,MAAM,YAAY,CAAC;AAIpB,QAAA,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2PO,CAAC;AA8ChD,iBAAS,yBAAyB,CAAC,KAAK,EAAE,OAAO,GAAG,kCAAkC,CAiBrF;AAED,OAAO,EACL,kCAAkC,EAClC,yBAAyB,GAC1B,CAAC"}
|