@masterteam/components 0.0.252 → 0.0.253
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/assets/common.css +1 -1
- package/assets/ds-components/misc.css +4 -15
- package/assets/ds-components/tabs.css +331 -265
- package/assets/ds-identity.css +0 -9
- package/assets/i18n/ar.json +1 -1
- package/fesm2022/masterteam-components-date-field.mjs +26 -1
- package/fesm2022/masterteam-components-date-field.mjs.map +1 -1
- package/fesm2022/masterteam-components.mjs +24 -110
- package/fesm2022/masterteam-components.mjs.map +1 -1
- package/package.json +1 -1
- package/types/masterteam-components.d.ts +1 -11
- package/assets/ds-components/datepicker.css +0 -180
|
@@ -157,26 +157,15 @@ html.mt-ds .p-slider-handle:focus-visible {
|
|
|
157
157
|
/* ══ Avatar ═════════════════════════════════════════════════════════════ */
|
|
158
158
|
|
|
159
159
|
html.mt-ds .p-avatar {
|
|
160
|
-
border-radius:
|
|
161
|
-
background:
|
|
162
|
-
color:
|
|
160
|
+
border-radius: 9999px;
|
|
161
|
+
background: #f3f4f6;
|
|
162
|
+
color: #3c5073;
|
|
163
163
|
font-family: var(--ds-font-sans);
|
|
164
164
|
font-weight: 500;
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
/* PrimeNG exposes avatar paint through inherited custom properties. Keep
|
|
168
|
-
caller-supplied semantic/tenant colours authoritative under the DS layer. */
|
|
169
|
-
html.mt-ds .p-avatar.p-avatar-circle,
|
|
170
|
-
html.mt-ds .p-avatar.p-avatar-circle img {
|
|
171
|
-
border-radius: var(--ds-radius-full);
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
html.mt-ds .p-avatar.p-avatar-image {
|
|
175
|
-
background: transparent;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
167
|
html.mt-ds .p-avatar-group .p-avatar {
|
|
179
|
-
border: 2px solid
|
|
168
|
+
border: 2px solid #ffffff;
|
|
180
169
|
}
|
|
181
170
|
|
|
182
171
|
/* ══ Tree ═══════════════════════════════════════════════════════════════ */
|
|
@@ -1,265 +1,331 @@
|
|
|
1
|
-
/* ==========================================================================
|
|
2
|
-
Tabs — transcribed from DS `Tabs/Tabs.module.css` (Figma node 4747:83313)
|
|
3
|
-
--------------------------------------------------------------------------
|
|
4
|
-
Horizontal (
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
html.mt-ds mt-tabs [role="tablist"][aria-orientation="horizontal"] {
|
|
30
|
-
|
|
31
|
-
gap: 0;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
background:
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
[role="
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
html.mt-ds
|
|
99
|
-
mt-tabs
|
|
100
|
-
[role="tablist"][aria-orientation="horizontal"]
|
|
101
|
-
[role="tab"]
|
|
102
|
-
background: #
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
html.mt-ds
|
|
106
|
-
mt-tabs
|
|
107
|
-
[role="tablist"][aria-orientation="horizontal"]
|
|
108
|
-
[role="tab"]
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
html.mt-ds
|
|
115
|
-
mt-tabs
|
|
116
|
-
[role="tablist"][aria-orientation="horizontal"]
|
|
117
|
-
[role="tab"][aria-selected="true"]::after {
|
|
118
|
-
background: #
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
position:
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
1
|
+
/* ==========================================================================
|
|
2
|
+
Tabs — transcribed from DS `Tabs/Tabs.module.css` (Figma node 4747:83313)
|
|
3
|
+
--------------------------------------------------------------------------
|
|
4
|
+
Horizontal (small): 36px tall · 8px/12px padding [DS Medium is 44/12/16;
|
|
5
|
+
small is used as the default - this product is denser
|
|
6
|
+
than the DS reference layouts] · 3px bottom bar #1849A9
|
|
7
|
+
list divider 3px #D2D6DB · text always 14px
|
|
8
|
+
weight 500 unselected → 700 selected · colour #000B36
|
|
9
|
+
hover bg #E5E7EB · pressed #D2D6DB · disabled #6C7C96
|
|
10
|
+
Vertical (medium): 44px tall · 12px padding · 3px pill-rounded left bar
|
|
11
|
+
weight 400 unselected → 600 selected
|
|
12
|
+
|
|
13
|
+
Two targets, because the library has two tab implementations: `mt-tabs`
|
|
14
|
+
(hand-rolled with Tailwind utilities) and PrimeNG `p-tabs`. Unlayered rules
|
|
15
|
+
outrank both `@layer utilities` and `@layer primeng`, so neither needs a
|
|
16
|
+
template change.
|
|
17
|
+
========================================================================== */
|
|
18
|
+
|
|
19
|
+
/* ══ mt-tabs — underline (horizontal) mode ══════════════════════════════ */
|
|
20
|
+
/* Transcribed from the real .htab rules, not the summary at the top of the DS
|
|
21
|
+
module - that comment claims 36/44/52 per size, but every .htabSmall /
|
|
22
|
+
Medium / Large block is identical: 52px tall, 16px padding, 14/20 text.
|
|
23
|
+
|
|
24
|
+
The active indicator is NOT a bottom border. It is a 3px pill inset 16px
|
|
25
|
+
from each inline edge, so it sits under the label rather than spanning the
|
|
26
|
+
full tab - which is why a border-bottom never looked right. Hover paints
|
|
27
|
+
the same bar in #1F2A37. */
|
|
28
|
+
|
|
29
|
+
html.mt-ds mt-tabs [role="tablist"][aria-orientation="horizontal"] > div {
|
|
30
|
+
border-bottom: 3px solid #d2d6db;
|
|
31
|
+
gap: 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
html.mt-ds
|
|
35
|
+
mt-tabs
|
|
36
|
+
[role="tablist"][aria-orientation="horizontal"]
|
|
37
|
+
[role="tab"] {
|
|
38
|
+
position: relative;
|
|
39
|
+
height: 52px;
|
|
40
|
+
padding: 16px;
|
|
41
|
+
gap: 8px;
|
|
42
|
+
margin-bottom: 0;
|
|
43
|
+
border: none;
|
|
44
|
+
border-radius: 4px;
|
|
45
|
+
font-family: var(--ds-font-sans);
|
|
46
|
+
font-size: 14px;
|
|
47
|
+
font-weight: 500;
|
|
48
|
+
line-height: 20px;
|
|
49
|
+
color: #000b36;
|
|
50
|
+
transition: background-color var(--ds-transition-fast);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
html.mt-ds
|
|
54
|
+
mt-tabs
|
|
55
|
+
[role="tablist"][aria-orientation="horizontal"]
|
|
56
|
+
[role="tab"]::after {
|
|
57
|
+
content: "";
|
|
58
|
+
position: absolute;
|
|
59
|
+
bottom: 0;
|
|
60
|
+
inset-inline: 16px;
|
|
61
|
+
height: 3px;
|
|
62
|
+
border-radius: 9999px;
|
|
63
|
+
background: transparent;
|
|
64
|
+
transition: background-color var(--ds-transition-fast);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
html.mt-ds
|
|
68
|
+
mt-tabs
|
|
69
|
+
[role="tablist"][aria-orientation="horizontal"]
|
|
70
|
+
[role="tab"]:not([aria-selected="true"], :disabled):hover {
|
|
71
|
+
background: #e5e7eb;
|
|
72
|
+
color: #000b36;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
html.mt-ds
|
|
76
|
+
mt-tabs
|
|
77
|
+
[role="tablist"][aria-orientation="horizontal"]
|
|
78
|
+
[role="tab"]:not([aria-selected="true"], :disabled):hover::after {
|
|
79
|
+
background: #1f2a37;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
html.mt-ds
|
|
83
|
+
mt-tabs
|
|
84
|
+
[role="tablist"][aria-orientation="horizontal"]
|
|
85
|
+
[role="tab"]:not([aria-selected="true"], :disabled):active {
|
|
86
|
+
background: #d2d6db;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
html.mt-ds
|
|
90
|
+
mt-tabs
|
|
91
|
+
[role="tablist"][aria-orientation="horizontal"]
|
|
92
|
+
[role="tab"][aria-selected="true"] {
|
|
93
|
+
background: transparent;
|
|
94
|
+
color: #000b36;
|
|
95
|
+
font-weight: 700;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
html.mt-ds
|
|
99
|
+
mt-tabs
|
|
100
|
+
[role="tablist"][aria-orientation="horizontal"]
|
|
101
|
+
[role="tab"][aria-selected="true"]::after {
|
|
102
|
+
background: #1849a9;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
html.mt-ds
|
|
106
|
+
mt-tabs
|
|
107
|
+
[role="tablist"][aria-orientation="horizontal"]
|
|
108
|
+
[role="tab"]:disabled {
|
|
109
|
+
color: #6c7c96;
|
|
110
|
+
background: transparent;
|
|
111
|
+
opacity: 1;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
html.mt-ds
|
|
115
|
+
mt-tabs
|
|
116
|
+
[role="tablist"][aria-orientation="horizontal"]
|
|
117
|
+
[role="tab"][aria-selected="true"]:disabled::after {
|
|
118
|
+
background: #6c7c96;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/* ══ mt-tabs — vertical mode ════════════════════════════════════════════ */
|
|
122
|
+
|
|
123
|
+
html.mt-ds mt-tabs [role="tablist"][aria-orientation="vertical"] {
|
|
124
|
+
width: 150px;
|
|
125
|
+
gap: 0;
|
|
126
|
+
padding: 0;
|
|
127
|
+
border: none;
|
|
128
|
+
border-radius: 0;
|
|
129
|
+
background: transparent;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
html.mt-ds mt-tabs [role="tablist"][aria-orientation="vertical"] [role="tab"] {
|
|
133
|
+
position: relative;
|
|
134
|
+
height: 36px;
|
|
135
|
+
padding: 8px 12px;
|
|
136
|
+
border-radius: 0;
|
|
137
|
+
font-family: var(--ds-font-sans);
|
|
138
|
+
font-size: 14px;
|
|
139
|
+
font-weight: 400;
|
|
140
|
+
color: #000b36;
|
|
141
|
+
background: transparent;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
html.mt-ds
|
|
145
|
+
mt-tabs
|
|
146
|
+
[role="tablist"][aria-orientation="vertical"]
|
|
147
|
+
[role="tab"]::before {
|
|
148
|
+
content: "";
|
|
149
|
+
position: absolute;
|
|
150
|
+
inset-inline-start: 0;
|
|
151
|
+
inset-block: 0;
|
|
152
|
+
width: 3px;
|
|
153
|
+
border-radius: 9999px;
|
|
154
|
+
background: transparent;
|
|
155
|
+
transition: background-color var(--ds-transition-fast);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
html.mt-ds
|
|
159
|
+
mt-tabs
|
|
160
|
+
[role="tablist"][aria-orientation="vertical"]
|
|
161
|
+
[role="tab"]:not([aria-selected="true"], :disabled):hover {
|
|
162
|
+
background: #e5e7eb;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
html.mt-ds
|
|
166
|
+
mt-tabs
|
|
167
|
+
[role="tablist"][aria-orientation="vertical"]
|
|
168
|
+
[role="tab"]:not([aria-selected="true"], :disabled):hover::before {
|
|
169
|
+
background: #1f2a37;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
html.mt-ds
|
|
173
|
+
mt-tabs
|
|
174
|
+
[role="tablist"][aria-orientation="vertical"]
|
|
175
|
+
[role="tab"][aria-selected="true"] {
|
|
176
|
+
background: transparent;
|
|
177
|
+
color: #000b36;
|
|
178
|
+
font-weight: 600;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
html.mt-ds
|
|
182
|
+
mt-tabs
|
|
183
|
+
[role="tablist"][aria-orientation="vertical"]
|
|
184
|
+
[role="tab"][aria-selected="true"]::before {
|
|
185
|
+
background: #1849a9;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
html.mt-ds
|
|
189
|
+
mt-tabs
|
|
190
|
+
[role="tablist"][aria-orientation="vertical"]
|
|
191
|
+
[role="tab"][aria-selected="true"]:disabled::before {
|
|
192
|
+
background: #d2d6db;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/* ── Shared: focus ring ────────────────────────────────────────────────── */
|
|
196
|
+
|
|
197
|
+
html.mt-ds mt-tabs [role="tab"]:focus-visible {
|
|
198
|
+
outline: 3px solid #1849a9;
|
|
199
|
+
outline-offset: 2px;
|
|
200
|
+
box-shadow: none;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/* ══ PrimeNG p-tabs ═════════════════════════════════════════════════════ */
|
|
204
|
+
|
|
205
|
+
html.mt-ds .p-tablist {
|
|
206
|
+
border-bottom: 3px solid #d2d6db;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
html.mt-ds .p-tab {
|
|
210
|
+
height: 44px;
|
|
211
|
+
padding: 12px 16px;
|
|
212
|
+
border-width: 0 0 3px 0;
|
|
213
|
+
border-color: transparent;
|
|
214
|
+
font-family: var(--ds-font-sans);
|
|
215
|
+
font-size: 14px;
|
|
216
|
+
font-weight: 500;
|
|
217
|
+
color: #000b36;
|
|
218
|
+
margin-bottom: -3px;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
html.mt-ds .p-tab:not(.p-tab-active, .p-disabled):hover {
|
|
222
|
+
background: #e5e7eb;
|
|
223
|
+
color: #000b36;
|
|
224
|
+
border-color: transparent;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
html.mt-ds .p-tab-active {
|
|
228
|
+
color: #000b36;
|
|
229
|
+
font-weight: 700;
|
|
230
|
+
border-color: #1849a9;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
html.mt-ds .p-tablist-active-bar {
|
|
234
|
+
height: 3px;
|
|
235
|
+
bottom: -3px;
|
|
236
|
+
background: #1849a9;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
/* ══ mt-tabs default mode — render as DS Tabs, not a content switcher ═══ */
|
|
240
|
+
/* mt-tabs with no mode set renders a p-selectbutton, so it was picking up the
|
|
241
|
+
content-switcher look: a grey track with one solid blue filled segment. But
|
|
242
|
+
callers use it as a tab strip, and a DS tab is an underline rather than a
|
|
243
|
+
segmented control — so it read as the wrong component entirely, whatever its
|
|
244
|
+
dimensions.
|
|
245
|
+
|
|
246
|
+
Scoped to mt-tabs, so a bare p-selectbutton used as a genuine view toggle
|
|
247
|
+
keeps the content-switcher treatment from content-switcher.css. */
|
|
248
|
+
|
|
249
|
+
html.mt-ds mt-tabs .p-selectbutton {
|
|
250
|
+
gap: 0;
|
|
251
|
+
padding: 0;
|
|
252
|
+
border: none;
|
|
253
|
+
border-bottom: 3px solid #d2d6db;
|
|
254
|
+
border-radius: 0;
|
|
255
|
+
background: transparent;
|
|
256
|
+
overflow: visible;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
html.mt-ds mt-tabs .p-selectbutton .p-togglebutton {
|
|
260
|
+
position: relative;
|
|
261
|
+
height: 52px;
|
|
262
|
+
min-width: 0;
|
|
263
|
+
border: none;
|
|
264
|
+
border-radius: 4px;
|
|
265
|
+
background: transparent;
|
|
266
|
+
color: #000b36;
|
|
267
|
+
font-weight: 500;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
/* No inter-item dividers on a tab strip - those belong to the switcher. */
|
|
271
|
+
html.mt-ds mt-tabs .p-selectbutton .p-togglebutton + .p-togglebutton {
|
|
272
|
+
border-inline-start: none;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
html.mt-ds mt-tabs .p-selectbutton .p-togglebutton .p-togglebutton-content {
|
|
276
|
+
gap: 8px;
|
|
277
|
+
padding: 16px;
|
|
278
|
+
background: transparent;
|
|
279
|
+
color: inherit;
|
|
280
|
+
font-size: 14px;
|
|
281
|
+
font-weight: inherit;
|
|
282
|
+
line-height: 20px;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
html.mt-ds mt-tabs .p-selectbutton .p-togglebutton::after {
|
|
286
|
+
content: "";
|
|
287
|
+
position: absolute;
|
|
288
|
+
bottom: 0;
|
|
289
|
+
inset-inline: 16px;
|
|
290
|
+
height: 3px;
|
|
291
|
+
border-radius: 9999px;
|
|
292
|
+
background: transparent;
|
|
293
|
+
transition: background-color var(--ds-transition-fast);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
html.mt-ds
|
|
297
|
+
mt-tabs
|
|
298
|
+
.p-selectbutton
|
|
299
|
+
.p-togglebutton:not(.p-togglebutton-checked, .p-disabled):hover {
|
|
300
|
+
background: #e5e7eb;
|
|
301
|
+
color: #000b36;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
html.mt-ds
|
|
305
|
+
mt-tabs
|
|
306
|
+
.p-selectbutton
|
|
307
|
+
.p-togglebutton:not(.p-togglebutton-checked, .p-disabled):hover::after {
|
|
308
|
+
background: #1f2a37;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
html.mt-ds mt-tabs .p-selectbutton .p-togglebutton.p-togglebutton-checked {
|
|
312
|
+
background: transparent;
|
|
313
|
+
color: #000b36;
|
|
314
|
+
font-weight: 700;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
html.mt-ds
|
|
318
|
+
mt-tabs
|
|
319
|
+
.p-selectbutton
|
|
320
|
+
.p-togglebutton.p-togglebutton-checked
|
|
321
|
+
.p-togglebutton-content {
|
|
322
|
+
background: transparent;
|
|
323
|
+
color: #000b36;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
html.mt-ds
|
|
327
|
+
mt-tabs
|
|
328
|
+
.p-selectbutton
|
|
329
|
+
.p-togglebutton.p-togglebutton-checked::after {
|
|
330
|
+
background: #1849a9;
|
|
331
|
+
}
|
package/assets/ds-identity.css
CHANGED
|
@@ -36,7 +36,6 @@
|
|
|
36
36
|
/* Per-component DS specs. Order matters: later files win ties. */
|
|
37
37
|
@import "./ds-components/button.css";
|
|
38
38
|
@import "./ds-components/field.css";
|
|
39
|
-
@import "./ds-components/datepicker.css";
|
|
40
39
|
@import "./ds-components/selection-controls.css";
|
|
41
40
|
@import "./ds-components/tabs.css";
|
|
42
41
|
@import "./ds-components/content-switcher.css";
|
|
@@ -141,14 +140,6 @@
|
|
|
141
140
|
--ds-input-border-hover: #1f2a37;
|
|
142
141
|
--ds-input-border-readonly: #ced3dc;
|
|
143
142
|
--ds-danger: #a30000;
|
|
144
|
-
--ds-avatar-text: #233a61;
|
|
145
|
-
|
|
146
|
-
/* DatePicker — Figma 4250:1943. */
|
|
147
|
-
--ds-datepicker-panel-inline-size: 26.5rem;
|
|
148
|
-
--ds-datepicker-header-height: 3.5rem;
|
|
149
|
-
--ds-datepicker-weekday-height: 2.5rem;
|
|
150
|
-
--ds-datepicker-cell-size: 3.5rem;
|
|
151
|
-
--ds-datepicker-date-size: 3rem;
|
|
152
143
|
|
|
153
144
|
/* ── Chart palette (max 6 series — never add a 7th) ─────────── */
|
|
154
145
|
--ds-chart-series-1: #1849a9;
|
package/assets/i18n/ar.json
CHANGED