@vector-business-services/cristal-ds-web 0.11.0 → 0.13.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/dist/index.css CHANGED
@@ -482,6 +482,145 @@
482
482
  box-shadow: inset 0 0 0 var(--cr-stroke-x-small) var(--cr-color-stroke-neutral-base);
483
483
  }
484
484
 
485
+ /* src/components/Tooltip/Tooltip.css */
486
+ .cr-tooltip {
487
+ position: absolute;
488
+ top: -9999px;
489
+ left: -9999px;
490
+ pointer-events: none;
491
+ }
492
+ .cr-tooltip--top,
493
+ .cr-tooltip--bottom {
494
+ padding: var(--cr-padding-padding-3) 0;
495
+ }
496
+ .cr-tooltip--left,
497
+ .cr-tooltip--right {
498
+ padding: 0 var(--cr-padding-padding-3);
499
+ }
500
+ .cr-tooltip__arrow {
501
+ display: none;
502
+ }
503
+ .cr-tooltip__text {
504
+ box-sizing: border-box;
505
+ padding: var(--cr-padding-padding-4) var(--cr-padding-padding-5);
506
+ border-radius: var(--cr-radius-small);
507
+ background-color: var(--cr-color-fill-neutral-boldest);
508
+ color: var(--cr-color-text-inverse-base);
509
+ font-family: var(--cr-typography-label-medium-12-semibold-font-family);
510
+ font-size: var(--cr-typography-label-medium-12-semibold-font-size);
511
+ font-weight: var(--cr-typography-label-medium-12-semibold-font-weight);
512
+ line-height: var(--cr-typography-label-medium-12-semibold-line-height);
513
+ letter-spacing: var(--cr-typography-label-medium-12-semibold-letter-spacing);
514
+ }
515
+ .cr-tooltip--plain .cr-tooltip__text {
516
+ white-space: nowrap;
517
+ }
518
+ .cr-tooltip--rich .cr-tooltip__text {
519
+ max-width: 300px;
520
+ white-space: pre-line;
521
+ overflow-wrap: break-word;
522
+ }
523
+
524
+ /* src/components/Chart/Chart.css */
525
+ .cr-chart {
526
+ display: flex;
527
+ flex-direction: column;
528
+ gap: var(--cr-spacing-spacing-10);
529
+ box-sizing: border-box;
530
+ min-width: 0;
531
+ }
532
+ .cr-chart--card {
533
+ padding: var(--cr-padding-padding-7) var(--cr-padding-padding-7) var(--cr-padding-padding-9);
534
+ border: var(--cr-stroke-x-small) solid var(--cr-color-stroke-neutral-base);
535
+ border-radius: var(--cr-radius-medium);
536
+ }
537
+ .cr-chart__header {
538
+ display: flex;
539
+ align-items: center;
540
+ justify-content: space-between;
541
+ gap: var(--cr-spacing-spacing-4);
542
+ min-height: 32px;
543
+ }
544
+ .cr-chart__title-row,
545
+ .cr-chart__actions {
546
+ display: flex;
547
+ align-items: center;
548
+ gap: var(--cr-spacing-spacing-3);
549
+ min-width: 0;
550
+ }
551
+ .cr-chart__title {
552
+ overflow: hidden;
553
+ color: var(--cr-color-text-neutral-base);
554
+ font-family: var(--cr-typography-body-small-14-semibold-font-family);
555
+ font-size: var(--cr-typography-body-small-14-semibold-font-size);
556
+ font-weight: var(--cr-typography-body-small-14-semibold-font-weight);
557
+ line-height: var(--cr-typography-body-small-14-semibold-line-height);
558
+ letter-spacing: var(--cr-typography-body-small-14-semibold-letter-spacing);
559
+ text-overflow: ellipsis;
560
+ white-space: nowrap;
561
+ }
562
+ .cr-chart__help {
563
+ display: inline-flex;
564
+ flex-shrink: 0;
565
+ padding: 0;
566
+ border: 0;
567
+ border-radius: var(--cr-radius-full);
568
+ background: none;
569
+ color: var(--cr-color-icon-neutral-base);
570
+ font-size: 20px;
571
+ cursor: help;
572
+ }
573
+ .cr-chart__help:focus-visible {
574
+ outline: none;
575
+ box-shadow: var(--cr-effects-focus-ring);
576
+ }
577
+ .cr-chart__body {
578
+ display: flex;
579
+ flex-direction: column;
580
+ gap: var(--cr-spacing-spacing-8);
581
+ }
582
+ .cr-chart__plot {
583
+ position: relative;
584
+ min-width: 0;
585
+ }
586
+ .cr-chart__canvas-wrap {
587
+ position: absolute;
588
+ inset: 0;
589
+ }
590
+ .cr-chart__legend {
591
+ display: flex;
592
+ flex-wrap: wrap;
593
+ justify-content: center;
594
+ gap: var(--cr-spacing-spacing-3) var(--cr-spacing-spacing-8);
595
+ margin: 0;
596
+ padding: 0;
597
+ list-style: none;
598
+ }
599
+ .cr-chart__legend-item {
600
+ display: flex;
601
+ align-items: center;
602
+ gap: var(--cr-spacing-spacing-3);
603
+ color: var(--cr-color-text-neutral-base);
604
+ font-family: var(--cr-typography-label-medium-12-regular-font-family);
605
+ font-size: var(--cr-typography-label-medium-12-regular-font-size);
606
+ font-weight: var(--cr-typography-label-medium-12-regular-font-weight);
607
+ line-height: var(--cr-typography-label-medium-12-regular-line-height);
608
+ letter-spacing: var(--cr-typography-label-medium-12-regular-letter-spacing);
609
+ }
610
+ .cr-chart__swatch {
611
+ width: 10px;
612
+ height: 10px;
613
+ border-radius: 2px;
614
+ }
615
+ .cr-chart__table {
616
+ position: absolute;
617
+ width: 1px;
618
+ height: 1px;
619
+ overflow: hidden;
620
+ clip-path: inset(50%);
621
+ white-space: nowrap;
622
+ }
623
+
485
624
  /* src/components/Checkbox/Checkbox.css */
486
625
  .cr-checkbox {
487
626
  display: inline-flex;
@@ -1222,45 +1361,6 @@
1222
1361
  }
1223
1362
  }
1224
1363
 
1225
- /* src/components/Tooltip/Tooltip.css */
1226
- .cr-tooltip {
1227
- position: absolute;
1228
- top: -9999px;
1229
- left: -9999px;
1230
- pointer-events: none;
1231
- }
1232
- .cr-tooltip--top,
1233
- .cr-tooltip--bottom {
1234
- padding: var(--cr-padding-padding-3) 0;
1235
- }
1236
- .cr-tooltip--left,
1237
- .cr-tooltip--right {
1238
- padding: 0 var(--cr-padding-padding-3);
1239
- }
1240
- .cr-tooltip__arrow {
1241
- display: none;
1242
- }
1243
- .cr-tooltip__text {
1244
- box-sizing: border-box;
1245
- padding: var(--cr-padding-padding-4) var(--cr-padding-padding-5);
1246
- border-radius: var(--cr-radius-small);
1247
- background-color: var(--cr-color-fill-neutral-boldest);
1248
- color: var(--cr-color-text-inverse-base);
1249
- font-family: var(--cr-typography-label-medium-12-semibold-font-family);
1250
- font-size: var(--cr-typography-label-medium-12-semibold-font-size);
1251
- font-weight: var(--cr-typography-label-medium-12-semibold-font-weight);
1252
- line-height: var(--cr-typography-label-medium-12-semibold-line-height);
1253
- letter-spacing: var(--cr-typography-label-medium-12-semibold-letter-spacing);
1254
- }
1255
- .cr-tooltip--plain .cr-tooltip__text {
1256
- white-space: nowrap;
1257
- }
1258
- .cr-tooltip--rich .cr-tooltip__text {
1259
- max-width: 300px;
1260
- white-space: pre-line;
1261
- overflow-wrap: break-word;
1262
- }
1263
-
1264
1364
  /* src/components/Menubar/Menubar.css */
1265
1365
  .cr-menubar {
1266
1366
  container-type: inline-size;