@idds/styles 1.0.36 → 1.0.38
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/package.json
CHANGED
|
@@ -159,7 +159,6 @@
|
|
|
159
159
|
backdrop-filter: none;
|
|
160
160
|
-webkit-backdrop-filter: none;
|
|
161
161
|
/* Allow vertical scrolling if content exceeds max-height */
|
|
162
|
-
overflow-y: auto;
|
|
163
162
|
overflow-x: visible;
|
|
164
163
|
}
|
|
165
164
|
|
|
@@ -591,7 +590,6 @@
|
|
|
591
590
|
max-width: 100% !important;
|
|
592
591
|
padding: var(--ina-spacing-3) !important;
|
|
593
592
|
max-height: 420px !important; /* Consistent max-height */
|
|
594
|
-
overflow-y: auto;
|
|
595
593
|
}
|
|
596
594
|
|
|
597
595
|
.ina-date-picker__panel-content {
|
|
@@ -90,13 +90,13 @@
|
|
|
90
90
|
.ina-tab-vertical__tab--variant-outline:hover:not(
|
|
91
91
|
.ina-tab-vertical__tab--disabled
|
|
92
92
|
) {
|
|
93
|
-
color: var(--ina-primary-
|
|
93
|
+
color: var(--ina-primary-300);
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
.ina-tab-vertical--use-brand-color
|
|
97
97
|
.ina-tab-vertical__tab--variant-outline.ina-tab-vertical__tab--selected {
|
|
98
|
-
color: var(--ina-primary-
|
|
99
|
-
border-left-color: var(--ina-primary-
|
|
98
|
+
color: var(--ina-primary-300);
|
|
99
|
+
border-left-color: var(--ina-primary-300);
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
/* Variant: Button Brand */
|
|
@@ -112,8 +112,8 @@
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
.ina-tab-vertical__tab--variant-button-brand.ina-tab-vertical__tab--selected {
|
|
115
|
-
background-color: var(--ina-primary-
|
|
116
|
-
color: var(--ina-
|
|
115
|
+
background-color: var(--ina-primary-25);
|
|
116
|
+
color: var(--ina-primary-300) !important;
|
|
117
117
|
font-weight: 600;
|
|
118
118
|
}
|
|
119
119
|
|
|
@@ -158,12 +158,12 @@
|
|
|
158
158
|
.ina-tab-vertical__tab--variant-button-white:hover:not(
|
|
159
159
|
.ina-tab-vertical__tab--disabled
|
|
160
160
|
) {
|
|
161
|
-
color: var(--ina-primary-
|
|
161
|
+
color: var(--ina-primary-300);
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
.ina-tab-vertical--use-brand-color
|
|
165
165
|
.ina-tab-vertical__tab--variant-button-white.ina-tab-vertical__tab--selected {
|
|
166
|
-
color: var(--ina-primary-
|
|
166
|
+
color: var(--ina-primary-300);
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
/* Disabled State */
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
|
|
192
192
|
/* Focus State */
|
|
193
193
|
.ina-tab-vertical__tab:focus {
|
|
194
|
-
outline: 2px solid var(--ina-primary-
|
|
194
|
+
outline: 2px solid var(--ina-primary-300);
|
|
195
195
|
outline-offset: 2px;
|
|
196
196
|
}
|
|
197
197
|
|
|
@@ -246,8 +246,8 @@
|
|
|
246
246
|
|
|
247
247
|
[data-theme='dark']
|
|
248
248
|
.ina-tab-vertical__tab--variant-button-brand.ina-tab-vertical__tab--selected {
|
|
249
|
-
background-color: var(--ina-primary-
|
|
250
|
-
color: var(--ina-
|
|
249
|
+
background-color: var(--ina-primary-25);
|
|
250
|
+
color: var(--ina-primary-300) !important;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
253
|
[data-theme='dark'] .ina-tab-vertical--variant-button-white {
|
|
@@ -23,8 +23,6 @@
|
|
|
23
23
|
/* Prevent clipping by any parent container */
|
|
24
24
|
transform: translateZ(0);
|
|
25
25
|
will-change: transform;
|
|
26
|
-
/* Create new stacking context to ensure z-index works */
|
|
27
|
-
isolation: isolate;
|
|
28
26
|
}
|
|
29
27
|
|
|
30
28
|
/* Basic Tooltip Bubble */
|
|
@@ -38,6 +36,7 @@
|
|
|
38
36
|
padding: var(--ina-spacing-3);
|
|
39
37
|
border-radius: var(--ina-radius-lg);
|
|
40
38
|
white-space: nowrap;
|
|
39
|
+
min-width: fit-content;
|
|
41
40
|
max-width: 320px;
|
|
42
41
|
box-shadow: 0 12px 16px -4px rgba(10, 13, 18, 0.08),
|
|
43
42
|
0 4px 6px -2px rgba(10, 13, 18, 0.03);
|
|
@@ -46,6 +45,7 @@
|
|
|
46
45
|
.ina-tooltip__bubble--basic {
|
|
47
46
|
white-space: normal;
|
|
48
47
|
word-wrap: break-word;
|
|
48
|
+
max-width: 320px;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
/* Card Tooltip (Light, Dark, Media) */
|
|
@@ -60,21 +60,6 @@
|
|
|
60
60
|
display: flex;
|
|
61
61
|
flex-direction: column;
|
|
62
62
|
}
|
|
63
|
-
@media (max-width: 639px) {
|
|
64
|
-
.ina-tooltip__card {
|
|
65
|
-
width: 280px;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
@media (max-width: 480px) {
|
|
69
|
-
.ina-tooltip__card {
|
|
70
|
-
width: 240px;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
@media (max-width: 320px) {
|
|
74
|
-
.ina-tooltip__card {
|
|
75
|
-
width: 200px;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
63
|
|
|
79
64
|
.ina-tooltip__card--light {
|
|
80
65
|
background-color: var(--ina-background-primary, var(--ina-neutral-25));
|
|
@@ -213,40 +198,13 @@
|
|
|
213
198
|
flex-shrink: 0;
|
|
214
199
|
}
|
|
215
200
|
|
|
216
|
-
/* Tooltip arrow */
|
|
217
|
-
.ina-
|
|
201
|
+
/* Tooltip arrow using pseudo element ::after */
|
|
202
|
+
.ina-tooltip__content::after {
|
|
203
|
+
content: '';
|
|
218
204
|
position: absolute;
|
|
219
205
|
width: 0;
|
|
220
206
|
height: 0;
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
/* Arrow colors for variants - menggunakan warna yang sama dengan card */
|
|
224
|
-
.ina-tooltip__arrow--variant-basic {
|
|
225
|
-
border-top-color: var(--ina-black, var(--ina-neutral-900));
|
|
226
|
-
border-bottom-color: var(--ina-black, var(--ina-neutral-900));
|
|
227
|
-
border-left-color: var(--ina-black, var(--ina-neutral-900));
|
|
228
|
-
border-right-color: var(--ina-black, var(--ina-neutral-900));
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
.ina-tooltip__arrow--variant-light {
|
|
232
|
-
border-top-color: var(--ina-background-primary, var(--ina-neutral-25));
|
|
233
|
-
border-bottom-color: var(--ina-background-primary, var(--ina-neutral-25));
|
|
234
|
-
border-left-color: var(--ina-background-primary, var(--ina-neutral-25));
|
|
235
|
-
border-right-color: var(--ina-background-primary, var(--ina-neutral-25));
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
.ina-tooltip__arrow--variant-dark {
|
|
239
|
-
border-top-color: var(--ina-neutral-900, var(--ina-neutral-900));
|
|
240
|
-
border-bottom-color: var(--ina-neutral-900, var(--ina-neutral-900));
|
|
241
|
-
border-left-color: var(--ina-neutral-900, var(--ina-neutral-900));
|
|
242
|
-
border-right-color: var(--ina-neutral-900, var(--ina-neutral-900));
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
.ina-tooltip__arrow--variant-media {
|
|
246
|
-
border-top-color: var(--ina-background-primary, var(--ina-neutral-25));
|
|
247
|
-
border-bottom-color: var(--ina-background-primary, var(--ina-neutral-25));
|
|
248
|
-
border-left-color: var(--ina-background-primary, var(--ina-neutral-25));
|
|
249
|
-
border-right-color: var(--ina-background-primary, var(--ina-neutral-25));
|
|
207
|
+
pointer-events: none;
|
|
250
208
|
}
|
|
251
209
|
|
|
252
210
|
/* Positioning classes */
|
|
@@ -326,17 +284,19 @@
|
|
|
326
284
|
margin-left: 8px;
|
|
327
285
|
}
|
|
328
286
|
|
|
329
|
-
/* Arrow positioning
|
|
330
|
-
|
|
287
|
+
/* Arrow positioning using ::after pseudo element */
|
|
288
|
+
/* Top arrows (pointing down) */
|
|
289
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--placement-top::after {
|
|
331
290
|
left: 50%;
|
|
332
291
|
transform: translateX(-50%);
|
|
333
292
|
bottom: -6px;
|
|
334
293
|
border-left: 6px solid transparent;
|
|
335
294
|
border-right: 6px solid transparent;
|
|
336
295
|
border-top: 6px solid;
|
|
296
|
+
/* Color will inherit from parent bubble/card background */
|
|
337
297
|
}
|
|
338
298
|
|
|
339
|
-
.ina-
|
|
299
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--placement-top-start::after {
|
|
340
300
|
left: 16px;
|
|
341
301
|
bottom: -6px;
|
|
342
302
|
border-left: 6px solid transparent;
|
|
@@ -344,7 +304,7 @@
|
|
|
344
304
|
border-top: 6px solid;
|
|
345
305
|
}
|
|
346
306
|
|
|
347
|
-
.ina-
|
|
307
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--placement-top-end::after {
|
|
348
308
|
right: 16px;
|
|
349
309
|
bottom: -6px;
|
|
350
310
|
border-left: 6px solid transparent;
|
|
@@ -353,7 +313,7 @@
|
|
|
353
313
|
}
|
|
354
314
|
|
|
355
315
|
/* Bottom arrows (pointing up) */
|
|
356
|
-
.ina-
|
|
316
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--placement-bottom::after {
|
|
357
317
|
left: 50%;
|
|
358
318
|
transform: translateX(-50%);
|
|
359
319
|
top: -6px;
|
|
@@ -362,7 +322,7 @@
|
|
|
362
322
|
border-bottom: 6px solid;
|
|
363
323
|
}
|
|
364
324
|
|
|
365
|
-
.ina-
|
|
325
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--placement-bottom-start::after {
|
|
366
326
|
left: 16px;
|
|
367
327
|
top: -6px;
|
|
368
328
|
border-left: 6px solid transparent;
|
|
@@ -370,7 +330,7 @@
|
|
|
370
330
|
border-bottom: 6px solid;
|
|
371
331
|
}
|
|
372
332
|
|
|
373
|
-
.ina-
|
|
333
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--placement-bottom-end::after {
|
|
374
334
|
right: 16px;
|
|
375
335
|
top: -6px;
|
|
376
336
|
border-left: 6px solid transparent;
|
|
@@ -379,7 +339,7 @@
|
|
|
379
339
|
}
|
|
380
340
|
|
|
381
341
|
/* Left arrows (pointing right) */
|
|
382
|
-
.ina-
|
|
342
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--placement-left::after {
|
|
383
343
|
top: 50%;
|
|
384
344
|
transform: translateY(-50%);
|
|
385
345
|
right: -6px;
|
|
@@ -388,7 +348,7 @@
|
|
|
388
348
|
border-left: 6px solid;
|
|
389
349
|
}
|
|
390
350
|
|
|
391
|
-
.ina-
|
|
351
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--placement-left-start::after {
|
|
392
352
|
top: 16px;
|
|
393
353
|
right: -6px;
|
|
394
354
|
border-top: 6px solid transparent;
|
|
@@ -396,7 +356,7 @@
|
|
|
396
356
|
border-left: 6px solid;
|
|
397
357
|
}
|
|
398
358
|
|
|
399
|
-
.ina-
|
|
359
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--placement-left-end::after {
|
|
400
360
|
bottom: 16px;
|
|
401
361
|
right: -6px;
|
|
402
362
|
border-top: 6px solid transparent;
|
|
@@ -405,7 +365,7 @@
|
|
|
405
365
|
}
|
|
406
366
|
|
|
407
367
|
/* Right arrows (pointing left) */
|
|
408
|
-
.ina-
|
|
368
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--placement-right::after {
|
|
409
369
|
top: 50%;
|
|
410
370
|
transform: translateY(-50%);
|
|
411
371
|
left: -6px;
|
|
@@ -414,7 +374,7 @@
|
|
|
414
374
|
border-right: 6px solid;
|
|
415
375
|
}
|
|
416
376
|
|
|
417
|
-
.ina-
|
|
377
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--placement-right-start::after {
|
|
418
378
|
top: 16px;
|
|
419
379
|
left: -6px;
|
|
420
380
|
border-top: 6px solid transparent;
|
|
@@ -422,13 +382,50 @@
|
|
|
422
382
|
border-right: 6px solid;
|
|
423
383
|
}
|
|
424
384
|
|
|
425
|
-
.ina-
|
|
385
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--placement-right-end::after {
|
|
426
386
|
bottom: 16px;
|
|
427
387
|
left: -6px;
|
|
428
388
|
border-top: 6px solid transparent;
|
|
429
389
|
border-bottom: 6px solid transparent;
|
|
430
390
|
border-right: 6px solid;
|
|
431
391
|
}
|
|
392
|
+
.ina-tooltip__content {
|
|
393
|
+
max-width: 320px;
|
|
394
|
+
min-width: fit-content;
|
|
395
|
+
}
|
|
396
|
+
/* Arrow colors - match parent bubble/card background color */
|
|
397
|
+
/* Arrow is ::after on .ina-tooltip__content, so we use variant class on content */
|
|
398
|
+
/* For basic variant - arrow color matches bubble background */
|
|
399
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-basic::after {
|
|
400
|
+
border-top-color: var(--ina-black, var(--ina-neutral-900));
|
|
401
|
+
border-bottom-color: var(--ina-black, var(--ina-neutral-900));
|
|
402
|
+
border-left-color: var(--ina-black, var(--ina-neutral-900));
|
|
403
|
+
border-right-color: var(--ina-black, var(--ina-neutral-900));
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
/* For light variant - arrow color matches card background */
|
|
407
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-light::after {
|
|
408
|
+
border-top-color: var(--ina-background-primary, var(--ina-neutral-25));
|
|
409
|
+
border-bottom-color: var(--ina-background-primary, var(--ina-neutral-25));
|
|
410
|
+
border-left-color: var(--ina-background-primary, var(--ina-neutral-25));
|
|
411
|
+
border-right-color: var(--ina-background-primary, var(--ina-neutral-25));
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
/* For dark variant - arrow color matches card background */
|
|
415
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-dark::after {
|
|
416
|
+
border-top-color: var(--ina-neutral-900, var(--ina-neutral-900));
|
|
417
|
+
border-bottom-color: var(--ina-neutral-900, var(--ina-neutral-900));
|
|
418
|
+
border-left-color: var(--ina-neutral-900, var(--ina-neutral-900));
|
|
419
|
+
border-right-color: var(--ina-neutral-900, var(--ina-neutral-900));
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
/* For media variant - arrow color matches card background */
|
|
423
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-media::after {
|
|
424
|
+
border-top-color: var(--ina-background-primary, var(--ina-neutral-25));
|
|
425
|
+
border-bottom-color: var(--ina-background-primary, var(--ina-neutral-25));
|
|
426
|
+
border-left-color: var(--ina-background-primary, var(--ina-neutral-25));
|
|
427
|
+
border-right-color: var(--ina-background-primary, var(--ina-neutral-25));
|
|
428
|
+
}
|
|
432
429
|
|
|
433
430
|
/* Visibility states */
|
|
434
431
|
.ina-tooltip__content--visible {
|
|
@@ -457,7 +454,6 @@
|
|
|
457
454
|
white-space: normal;
|
|
458
455
|
padding: 6px 10px;
|
|
459
456
|
}
|
|
460
|
-
|
|
461
457
|
.ina-tooltip__card {
|
|
462
458
|
width: 280px;
|
|
463
459
|
}
|