@scania/tegel-lite 0.0.1-beta.2 → 0.0.1-beta.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/dist/components.css +9452 -0
- package/dist/global.css +17 -22
- package/dist/tl-button.css +19 -0
- package/dist/tl-dropdown.css +4 -0
- package/dist/tl-folder-tabs.css +139 -0
- package/dist/tl-header.css +108 -3
- package/dist/tl-inline-tabs.css +158 -0
- package/dist/tl-navigation-tabs.css +168 -0
- package/dist/tl-slider.css +1019 -1494
- package/dist/tl-text-field.css +3 -11
- package/dist/traton-variables.css +2 -2
- package/package.json +6 -3
- package/dist/tl-radiobutton.css +0 -165
- package/dist/tl-textarea-mixins.css +0 -0
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
.tl-navigation-tabs__tab {
|
|
2
|
+
/* tds-navigation-tab variables */
|
|
3
|
+
--navigation-tabs-tab: var(--color-foreground-text-soft);
|
|
4
|
+
--navigation-tabs-tab-selected: var(--color-foreground-text-strong);
|
|
5
|
+
--navigation-tabs-tab-hover: var(--color-foreground-text-strong);
|
|
6
|
+
--navigation-tabs-tab-focus: var(--color-foreground-text-strong);
|
|
7
|
+
--navigation-tabs-tab-disabled: var(--color-foreground-text-disabled);
|
|
8
|
+
--navigation-tabs-tab-indicator-hover: var(--color-foreground-border-discrete);
|
|
9
|
+
--navigation-tabs-tab-indicator-active: var(--color-foreground-border-accent-focus);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.tl-navigation-tabs {
|
|
13
|
+
/* tds-navigation-tabs variables */
|
|
14
|
+
--navigation-tabs-horizontal-divider: var(--color-foreground-icon-discrete);
|
|
15
|
+
--navigation-tabs-tab-primary: var(--color-background-base);
|
|
16
|
+
--navigation-tabs-tab-secondary: var(--color-background-layer-01);
|
|
17
|
+
--navigation-tabs: var(--navigation-tabs-tab-primary);
|
|
18
|
+
--navigation-tabs-scroll-button-icon: var(--color-foreground-icon-strong);
|
|
19
|
+
--navigation-tabs-scroll-button: var(--navigation-tabs-tab-primary);
|
|
20
|
+
--navigation-tabs-scroll-button-hover: var(--navigation-tabs-tab-primary);
|
|
21
|
+
--navigation-tabs-scroll-button-active: var(--navigation-tabs-tab-primary);
|
|
22
|
+
}
|
|
23
|
+
.tl-navigation-tabs.tds-mode-variant-primary {
|
|
24
|
+
--navigation-tabs: var(--navigation-tabs-tab-primary);
|
|
25
|
+
--navigation-tabs-scroll-button: var(--navigation-tabs-tab-primary);
|
|
26
|
+
}
|
|
27
|
+
.tl-navigation-tabs.tds-mode-variant-secondary {
|
|
28
|
+
--navigation-tabs: var(--navigation-tabs-tab-secondary);
|
|
29
|
+
--navigation-tabs-scroll-button: var(--navigation-tabs-tab-secondary);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* Typography Usage mixins */
|
|
33
|
+
.tl-navigation-tabs__tab {
|
|
34
|
+
all: unset;
|
|
35
|
+
margin-right: 32px;
|
|
36
|
+
box-sizing: border-box;
|
|
37
|
+
}
|
|
38
|
+
.tl-navigation-tabs__tab * {
|
|
39
|
+
box-sizing: border-box;
|
|
40
|
+
}
|
|
41
|
+
.tl-navigation-tabs__tab {
|
|
42
|
+
font-family: var(--headline-07-font-family);
|
|
43
|
+
font-size: var(--headline-07-font-size);
|
|
44
|
+
line-height: var(--headline-07-line-height);
|
|
45
|
+
font-weight: var(--headline-07-font-weight);
|
|
46
|
+
letter-spacing: var(--headline-07-letter-spacing);
|
|
47
|
+
text-transform: var(--headline-07-text-transform);
|
|
48
|
+
color: var(--navigation-tabs-tab);
|
|
49
|
+
text-decoration: none;
|
|
50
|
+
display: block;
|
|
51
|
+
position: relative;
|
|
52
|
+
transition: color 0.15s ease-in-out 0s;
|
|
53
|
+
white-space: nowrap;
|
|
54
|
+
background-color: transparent;
|
|
55
|
+
border: 0;
|
|
56
|
+
padding: 26px 4px;
|
|
57
|
+
}
|
|
58
|
+
.tl-navigation-tabs__tab:focus-visible {
|
|
59
|
+
outline: none;
|
|
60
|
+
}
|
|
61
|
+
.tl-navigation-tabs__tab:focus-visible::before {
|
|
62
|
+
content: "";
|
|
63
|
+
position: absolute;
|
|
64
|
+
inset: 18px 0;
|
|
65
|
+
border-radius: 2px;
|
|
66
|
+
box-shadow: 0 0 0 2px var(--navigation-tabs-tab-focus) inset;
|
|
67
|
+
z-index: 2;
|
|
68
|
+
pointer-events: none;
|
|
69
|
+
}
|
|
70
|
+
.tl-navigation-tabs__tab::after {
|
|
71
|
+
background-color: var(--navigation-tabs-tab-indicator-hover);
|
|
72
|
+
content: " ";
|
|
73
|
+
position: absolute;
|
|
74
|
+
bottom: 0;
|
|
75
|
+
right: 0;
|
|
76
|
+
left: 0;
|
|
77
|
+
margin-left: auto;
|
|
78
|
+
width: 0%;
|
|
79
|
+
margin-right: auto;
|
|
80
|
+
height: 2px;
|
|
81
|
+
z-index: 1;
|
|
82
|
+
transition: width 0.15s ease-in-out 0s;
|
|
83
|
+
}
|
|
84
|
+
.tl-navigation-tabs__tab:not(.tl-navigation-tabs__tab--selected)::after {
|
|
85
|
+
width: 0%;
|
|
86
|
+
}
|
|
87
|
+
.tl-navigation-tabs__tab:hover {
|
|
88
|
+
cursor: pointer;
|
|
89
|
+
color: var(--navigation-tabs-tab-hover);
|
|
90
|
+
}
|
|
91
|
+
.tl-navigation-tabs__tab:hover::after {
|
|
92
|
+
width: 100%;
|
|
93
|
+
}
|
|
94
|
+
.tl-navigation-tabs__tab--selected {
|
|
95
|
+
color: var(--navigation-tabs-tab-selected);
|
|
96
|
+
}
|
|
97
|
+
.tl-navigation-tabs__tab--selected::after {
|
|
98
|
+
background-color: var(--navigation-tabs-tab-indicator-active);
|
|
99
|
+
width: 100%;
|
|
100
|
+
}
|
|
101
|
+
.tl-navigation-tabs__tab--disabled {
|
|
102
|
+
color: var(--navigation-tabs-tab-disabled);
|
|
103
|
+
pointer-events: none;
|
|
104
|
+
cursor: not-allowed;
|
|
105
|
+
}
|
|
106
|
+
.tl-navigation-tabs__tab--disabled::after {
|
|
107
|
+
content: none;
|
|
108
|
+
}
|
|
109
|
+
.tl-navigation-tabs__tab--disabled:focus-visible::before {
|
|
110
|
+
box-shadow: none;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.tl-navigation-tabs {
|
|
114
|
+
box-sizing: border-box;
|
|
115
|
+
}
|
|
116
|
+
.tl-navigation-tabs * {
|
|
117
|
+
box-sizing: border-box;
|
|
118
|
+
}
|
|
119
|
+
.tl-navigation-tabs {
|
|
120
|
+
background-color: transparent;
|
|
121
|
+
display: flex;
|
|
122
|
+
flex-wrap: nowrap;
|
|
123
|
+
white-space: nowrap;
|
|
124
|
+
width: 100%;
|
|
125
|
+
overflow-x: scroll;
|
|
126
|
+
scrollbar-width: none;
|
|
127
|
+
gap: 16px;
|
|
128
|
+
position: relative;
|
|
129
|
+
}
|
|
130
|
+
.tl-navigation-tabs::-webkit-scrollbar {
|
|
131
|
+
display: none;
|
|
132
|
+
}
|
|
133
|
+
.tl-navigation-tabs::after {
|
|
134
|
+
border-bottom: 1px solid var(--navigation-tabs-horizontal-divider);
|
|
135
|
+
content: " ";
|
|
136
|
+
display: block;
|
|
137
|
+
left: 0;
|
|
138
|
+
right: 0;
|
|
139
|
+
bottom: 0;
|
|
140
|
+
position: absolute;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.tl-navigation-tabs__scroll-button {
|
|
144
|
+
background-color: transparent;
|
|
145
|
+
color: var(--navigation-tabs-scroll-button-icon);
|
|
146
|
+
cursor: pointer;
|
|
147
|
+
min-width: 48px;
|
|
148
|
+
border: 0;
|
|
149
|
+
display: block;
|
|
150
|
+
justify-content: center;
|
|
151
|
+
align-items: center;
|
|
152
|
+
opacity: 1;
|
|
153
|
+
position: sticky;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.tl-navigation-tabs__scroll-button--right {
|
|
157
|
+
right: 0;
|
|
158
|
+
z-index: 1;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.tl-navigation-tabs__scroll-button--left {
|
|
162
|
+
left: 0;
|
|
163
|
+
z-index: 1;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.tl-navigation-tabs__scroll-button svg {
|
|
167
|
+
fill: var(--navigation-tabs-scroll-button-color);
|
|
168
|
+
}
|