@vector-business-services/cristal-ds-web 0.19.0 → 0.21.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
@@ -559,6 +559,260 @@
559
559
  border-color: var(--cr-color-stroke-disabled-base);
560
560
  }
561
561
 
562
+ /* src/components/IconButton/IconButton.css */
563
+ .cr-icon-button {
564
+ display: inline-flex;
565
+ flex-shrink: 0;
566
+ align-items: center;
567
+ justify-content: center;
568
+ padding: var(--cr-padding-padding-3);
569
+ border: var(--cr-stroke-x-small) solid transparent;
570
+ border-radius: var(--cr-radius-full);
571
+ background-color: transparent;
572
+ cursor: pointer;
573
+ transition: background-color 120ms ease, border-color 120ms ease;
574
+ }
575
+ .cr-icon-button:focus-visible {
576
+ outline: none;
577
+ box-shadow: var(--cr-effects-focus-ring);
578
+ }
579
+ .cr-icon-button:disabled {
580
+ cursor: not-allowed;
581
+ }
582
+ .cr-icon-button--large {
583
+ width: 48px;
584
+ height: 48px;
585
+ }
586
+ .cr-icon-button--medium {
587
+ width: 42px;
588
+ height: 42px;
589
+ }
590
+ .cr-icon-button--small {
591
+ width: 36px;
592
+ height: 36px;
593
+ }
594
+ .cr-icon-button--xsmall {
595
+ width: 32px;
596
+ height: 32px;
597
+ }
598
+ .cr-icon-button__icon {
599
+ display: inline-flex;
600
+ font-size: 20px;
601
+ }
602
+ .cr-icon-button--xsmall .cr-icon-button__icon {
603
+ font-size: 16px;
604
+ }
605
+ .cr-icon-button--primary {
606
+ background-color: var(--cr-color-fill-brand-base);
607
+ color: var(--cr-color-icon-inverse-base);
608
+ }
609
+ .cr-icon-button--primary:hover:not(:disabled) {
610
+ background-color: var(--cr-color-fill-brand-base-hover);
611
+ }
612
+ .cr-icon-button--primary:active:not(:disabled) {
613
+ background-color: var(--cr-color-fill-brand-base-pressed);
614
+ }
615
+ .cr-icon-button--secondary {
616
+ background-color: var(--cr-color-fill-brand-subtlest);
617
+ color: var(--cr-color-icon-brand-base);
618
+ }
619
+ .cr-icon-button--secondary:hover:not(:disabled) {
620
+ background-color: var(--cr-color-fill-brand-subtlest-hover);
621
+ }
622
+ .cr-icon-button--secondary:active:not(:disabled) {
623
+ background-color: var(--cr-color-fill-brand-subtlest-pressed);
624
+ }
625
+ .cr-icon-button--tertiary {
626
+ background-color: var(--cr-color-fill-neutral-container);
627
+ border-color: var(--cr-color-stroke-neutral-bold);
628
+ color: var(--cr-color-icon-neutral-base);
629
+ }
630
+ .cr-icon-button--tertiary:hover:not(:disabled) {
631
+ background-color: var(--cr-color-fill-neutral-container-hover);
632
+ }
633
+ .cr-icon-button--tertiary:active:not(:disabled) {
634
+ background-color: var(--cr-color-fill-neutral-container-pressed);
635
+ }
636
+ .cr-icon-button--primary:disabled,
637
+ .cr-icon-button--secondary:disabled,
638
+ .cr-icon-button--tertiary:disabled {
639
+ background-color: var(--cr-color-fill-disabled-base);
640
+ color: var(--cr-color-icon-disabled-on-fill);
641
+ }
642
+ .cr-icon-button--tertiary:disabled {
643
+ border-color: var(--cr-color-stroke-disabled-base);
644
+ }
645
+ .cr-icon-button--ghost {
646
+ color: var(--cr-color-icon-brand-base);
647
+ }
648
+ .cr-icon-button--ghost:hover:not(:disabled) {
649
+ background-color: var(--cr-color-fill-brand-subtlest);
650
+ }
651
+
652
+ /* src/components/Calendar/Calendar.css */
653
+ .cr-calendar {
654
+ box-sizing: border-box;
655
+ color: var(--cr-color-text-neutral-base);
656
+ }
657
+ .cr-calendar [data-p-hidden-accessible=true] {
658
+ position: absolute;
659
+ width: 1px;
660
+ height: 1px;
661
+ overflow: hidden;
662
+ clip-path: inset(50%);
663
+ white-space: nowrap;
664
+ }
665
+ .cr-calendar__months {
666
+ display: flex;
667
+ }
668
+ .cr-calendar__month + .cr-calendar__month {
669
+ margin-left: var(--cr-spacing-spacing-7);
670
+ padding-left: var(--cr-spacing-spacing-7);
671
+ border-left: var(--cr-stroke-x-small) solid var(--cr-color-stroke-neutral-base);
672
+ }
673
+ .cr-calendar__month {
674
+ display: flex;
675
+ flex-direction: column;
676
+ gap: var(--cr-spacing-spacing-6);
677
+ width: 252px;
678
+ }
679
+ .cr-calendar__header {
680
+ display: flex;
681
+ align-items: center;
682
+ justify-content: space-between;
683
+ }
684
+ .cr-calendar__title {
685
+ display: flex;
686
+ align-items: center;
687
+ gap: var(--cr-spacing-spacing-4);
688
+ font-family: var(--cr-typography-body-medium-16-semibold-font-family);
689
+ font-size: var(--cr-typography-body-medium-16-semibold-font-size);
690
+ font-weight: var(--cr-typography-body-medium-16-semibold-font-weight);
691
+ line-height: var(--cr-typography-body-medium-16-semibold-line-height);
692
+ letter-spacing: var(--cr-typography-body-medium-16-semibold-letter-spacing);
693
+ }
694
+ .cr-calendar__title-button {
695
+ padding: 0;
696
+ border: 0;
697
+ border-radius: var(--cr-radius-x-small);
698
+ background: none;
699
+ color: inherit;
700
+ font: inherit;
701
+ letter-spacing: inherit;
702
+ cursor: pointer;
703
+ }
704
+ .cr-calendar__title-button:focus-visible,
705
+ .cr-calendar__date:focus-visible,
706
+ .cr-calendar__option:focus-visible {
707
+ outline: none;
708
+ box-shadow: var(--cr-effects-focus-ring);
709
+ }
710
+ .cr-calendar__table {
711
+ border-collapse: collapse;
712
+ border-spacing: 0;
713
+ }
714
+ .cr-calendar__weekday {
715
+ width: 36px;
716
+ height: 21px;
717
+ padding: 0 0 var(--cr-padding-padding-2);
718
+ color: var(--cr-color-text-neutral-subtlest);
719
+ font-family: var(--cr-typography-label-medium-12-regular-font-family);
720
+ font-size: var(--cr-typography-label-medium-12-regular-font-size);
721
+ font-weight: var(--cr-typography-label-medium-12-regular-font-weight);
722
+ line-height: var(--cr-typography-label-medium-12-regular-line-height);
723
+ letter-spacing: var(--cr-typography-label-medium-12-regular-letter-spacing);
724
+ }
725
+ .cr-calendar__day {
726
+ padding: var(--cr-padding-padding-3) 0 0;
727
+ }
728
+ .cr-calendar__date {
729
+ display: flex;
730
+ align-items: center;
731
+ justify-content: center;
732
+ width: 36px;
733
+ height: 36px;
734
+ border-radius: var(--cr-radius-full);
735
+ font-family: var(--cr-typography-label-large-14-medium-font-family);
736
+ font-size: var(--cr-typography-label-large-14-medium-font-size);
737
+ font-weight: var(--cr-typography-label-large-14-medium-font-weight);
738
+ line-height: var(--cr-typography-label-large-14-medium-line-height);
739
+ letter-spacing: var(--cr-typography-label-large-14-medium-letter-spacing);
740
+ cursor: pointer;
741
+ }
742
+ .cr-calendar__date:not(.cr-calendar__date--selected, .cr-calendar__date--disabled):hover {
743
+ background-color: var(--cr-color-fill-neutral-container-hover);
744
+ }
745
+ .cr-calendar__day--today .cr-calendar__date {
746
+ color: var(--cr-color-text-brand-base);
747
+ font-weight: var(--cr-typography-label-large-14-bold-font-weight);
748
+ }
749
+ .cr-calendar__day--other-month .cr-calendar__date,
750
+ .cr-calendar__date--disabled {
751
+ color: var(--cr-color-text-neutral-subtlest);
752
+ }
753
+ .cr-calendar__date--disabled {
754
+ cursor: not-allowed;
755
+ }
756
+ .cr-calendar__day--off .cr-calendar__date {
757
+ text-decoration: line-through;
758
+ }
759
+ .cr-calendar__date--selected {
760
+ background-color: var(--cr-color-fill-brand-base);
761
+ color: var(--cr-color-text-inverse-base);
762
+ }
763
+ .cr-calendar__day--today .cr-calendar__date--selected {
764
+ color: var(--cr-color-text-inverse-base);
765
+ }
766
+ .cr-calendar__day--other-month .cr-calendar__date--selected {
767
+ background: none;
768
+ color: var(--cr-color-text-neutral-subtlest);
769
+ }
770
+ .cr-calendar__day--middle:not(.cr-calendar__day--other-month) .cr-calendar__date--selected {
771
+ background-color: var(--cr-color-fill-brand-subtle);
772
+ color: var(--cr-color-text-neutral-base);
773
+ }
774
+ .cr-calendar__picker {
775
+ display: grid;
776
+ margin-top: var(--cr-spacing-spacing-6);
777
+ align-content: space-between;
778
+ width: 252px;
779
+ }
780
+ .cr-calendar__picker--months {
781
+ grid-template-columns: repeat(3, 1fr);
782
+ grid-template-rows: repeat(4, 29px);
783
+ height: 144px;
784
+ }
785
+ .cr-calendar__picker--years {
786
+ grid-template-columns: repeat(2, 1fr);
787
+ height: 184px;
788
+ }
789
+ .cr-calendar__option {
790
+ display: flex;
791
+ align-items: center;
792
+ justify-content: center;
793
+ padding: var(--cr-padding-padding-2);
794
+ border-radius: var(--cr-radius-small);
795
+ font-family: var(--cr-typography-label-large-14-regular-font-family);
796
+ font-size: var(--cr-typography-label-large-14-regular-font-size);
797
+ font-weight: var(--cr-typography-label-large-14-regular-font-weight);
798
+ line-height: var(--cr-typography-label-large-14-regular-line-height);
799
+ letter-spacing: var(--cr-typography-label-large-14-regular-letter-spacing);
800
+ cursor: pointer;
801
+ }
802
+ .cr-calendar__picker--months .cr-calendar__option {
803
+ align-self: center;
804
+ }
805
+ .cr-calendar__option:not(.cr-calendar__option--selected, .cr-calendar__option--disabled):hover {
806
+ background-color: var(--cr-color-fill-neutral-subtlest);
807
+ }
808
+ .cr-calendar__option--selected {
809
+ background-color: var(--cr-color-fill-brand-subtle);
810
+ }
811
+ .cr-calendar__option--disabled {
812
+ color: var(--cr-color-text-neutral-subtlest);
813
+ cursor: not-allowed;
814
+ }
815
+
562
816
  /* src/components/Card/Card.css */
563
817
  .cr-card {
564
818
  display: flex;
@@ -1058,72 +1312,322 @@
1058
1312
  .cr-menu__icon {
1059
1313
  display: inline-flex;
1060
1314
  flex-shrink: 0;
1061
- color: var(--cr-color-icon-neutral-base);
1315
+ color: var(--cr-color-icon-neutral-base);
1316
+ font-size: 20px;
1317
+ }
1318
+ .cr-menu__item:hover .cr-menu__action {
1319
+ background-color: var(--cr-color-fill-neutral-container-hover);
1320
+ }
1321
+ .cr-menu__list:focus-visible .cr-menu__item[data-p-focused=true] .cr-menu__action {
1322
+ background-color: var(--cr-color-fill-neutral-container);
1323
+ box-shadow: inset 0 0 0 var(--cr-stroke-x-small) var(--cr-color-stroke-brand-base), var(--cr-effects-focus-ring);
1324
+ }
1325
+ .cr-menu__item--selected .cr-menu__action,
1326
+ .cr-menu__item--selected:hover .cr-menu__action {
1327
+ background-color: var(--cr-color-fill-selected-subtlest);
1328
+ color: var(--cr-color-text-brand-base);
1329
+ }
1330
+ .cr-menu__item--selected .cr-menu__icon {
1331
+ color: var(--cr-color-icon-brand-base);
1332
+ }
1333
+ .cr-menu__item[aria-disabled=true] .cr-menu__action {
1334
+ color: var(--cr-color-text-disabled-base);
1335
+ cursor: not-allowed;
1336
+ }
1337
+ .cr-menu__item[aria-disabled=true] .cr-menu__icon {
1338
+ color: var(--cr-color-icon-disabled-base);
1339
+ }
1340
+ .cr-menu__item[aria-disabled=true]:hover .cr-menu__action {
1341
+ background-color: var(--cr-color-fill-neutral-container);
1342
+ }
1343
+ .cr-menu__loading {
1344
+ display: flex;
1345
+ align-items: center;
1346
+ justify-content: center;
1347
+ height: var(--cr-menu-item-height);
1348
+ color: var(--cr-color-icon-neutral-subtle);
1349
+ font-size: 24px;
1350
+ }
1351
+ .cr-menu__spinner {
1352
+ animation: cr-menu-spin 1s linear infinite;
1353
+ }
1354
+ @media (prefers-reduced-motion: reduce) {
1355
+ .cr-menu__spinner {
1356
+ animation-duration: 3s;
1357
+ }
1358
+ }
1359
+ @keyframes cr-menu-spin {
1360
+ to {
1361
+ transform: rotate(360deg);
1362
+ }
1363
+ }
1364
+
1365
+ /* src/components/ContextMenu/ContextMenu.css */
1366
+ .cr-context-menu {
1367
+ position: absolute;
1368
+ width: 260px;
1369
+ }
1370
+ .cr-context-menu--entrar {
1371
+ opacity: 0;
1372
+ }
1373
+ .cr-context-menu--entrando {
1374
+ opacity: 1;
1375
+ transition: opacity 250ms;
1376
+ }
1377
+ @media (prefers-reduced-motion: reduce) {
1378
+ .cr-context-menu--entrando {
1379
+ transition: none;
1380
+ }
1381
+ }
1382
+
1383
+ /* src/components/DatePicker/DatePicker.css */
1384
+ .cr-datepicker__root {
1385
+ position: relative;
1386
+ display: flex;
1387
+ }
1388
+ .cr-datepicker__input {
1389
+ flex: 1;
1390
+ box-sizing: border-box;
1391
+ min-width: 0;
1392
+ padding-right: calc(var(--cr-padding-padding-5) + 20px + var(--cr-spacing-spacing-3));
1393
+ outline: none;
1394
+ }
1395
+ .cr-datepicker__input::placeholder {
1396
+ color: var(--cr-color-text-neutral-subtlest);
1397
+ opacity: 1;
1398
+ }
1399
+ .cr-field--disabled .cr-datepicker__input {
1400
+ cursor: not-allowed;
1401
+ }
1402
+ .cr-datepicker__button {
1403
+ position: absolute;
1404
+ top: 50%;
1405
+ right: var(--cr-padding-padding-5);
1406
+ display: inline-flex;
1407
+ padding: 0;
1408
+ border: 0;
1409
+ background: none;
1410
+ color: inherit;
1411
+ font-size: 20px;
1412
+ cursor: pointer;
1413
+ transform: translateY(-50%);
1414
+ }
1415
+ .cr-datepicker__button:disabled {
1416
+ color: var(--cr-color-icon-disabled-base);
1417
+ cursor: not-allowed;
1418
+ }
1419
+ .cr-datepicker__panel {
1420
+ padding: var(--cr-padding-padding-6);
1421
+ border: var(--cr-stroke-x-small) solid var(--cr-color-stroke-neutral-base);
1422
+ border-radius: var(--cr-radius-large);
1423
+ background-color: var(--cr-color-fill-neutral-container);
1424
+ box-shadow: var(--cr-elevation-gray-bottom-5);
1425
+ margin-top: var(--cr-spacing-spacing-3);
1426
+ }
1427
+ .cr-datepicker__panel[data-cr-lado=acima] {
1428
+ margin-top: calc(-1 * var(--cr-spacing-spacing-3));
1429
+ }
1430
+
1431
+ /* src/components/Radio/Radio.css */
1432
+ .cr-radio {
1433
+ display: inline-flex;
1434
+ align-items: center;
1435
+ gap: var(--cr-spacing-spacing-4);
1436
+ max-width: 100%;
1437
+ }
1438
+ .cr-radio--label-full {
1439
+ align-items: flex-start;
1440
+ }
1441
+ .cr-radio__control {
1442
+ position: relative;
1443
+ flex-shrink: 0;
1444
+ width: 24px;
1445
+ height: 24px;
1446
+ }
1447
+ .cr-radio__input {
1448
+ position: absolute;
1449
+ inset: 0;
1450
+ z-index: 1;
1451
+ width: 100%;
1452
+ height: 100%;
1453
+ margin: 0;
1454
+ opacity: 0;
1455
+ cursor: pointer;
1456
+ }
1457
+ .cr-radio__box {
1458
+ box-sizing: border-box;
1459
+ width: 100%;
1460
+ height: 100%;
1461
+ border: var(--cr-stroke-small) solid var(--cr-color-stroke-neutral-bold);
1462
+ border-radius: var(--cr-radius-full);
1463
+ background-color: var(--cr-color-fill-neutral-container);
1464
+ }
1465
+ .cr-radio__icon {
1466
+ display: none;
1467
+ }
1468
+ .cr-radio__control--checked .cr-radio__box {
1469
+ border-width: 8px;
1470
+ border-color: var(--cr-color-stroke-brand-base);
1471
+ }
1472
+ .cr-radio:not(.cr-radio--disabled):hover .cr-radio__box {
1473
+ border-color: var(--cr-color-stroke-neutral-bold-hover);
1474
+ }
1475
+ .cr-radio:not(.cr-radio--disabled):hover .cr-radio__control--checked .cr-radio__box {
1476
+ border-color: var(--cr-color-stroke-brand-base-hover);
1477
+ }
1478
+ .cr-radio__input:focus-visible + .cr-radio__box {
1479
+ border-color: var(--cr-color-stroke-brand-base);
1480
+ box-shadow: var(--cr-effects-focus-ring);
1481
+ }
1482
+ .cr-radio--disabled .cr-radio__input {
1483
+ cursor: not-allowed;
1484
+ }
1485
+ .cr-radio--disabled .cr-radio__box,
1486
+ .cr-radio--disabled .cr-radio__control--checked .cr-radio__box {
1487
+ border-color: var(--cr-color-stroke-disabled-base);
1488
+ }
1489
+ .cr-radio__label {
1490
+ min-width: 0;
1491
+ color: var(--cr-color-text-neutral-base);
1492
+ font-family: var(--cr-typography-label-large-14-regular-font-family);
1493
+ font-size: var(--cr-typography-label-large-14-regular-font-size);
1494
+ font-weight: var(--cr-typography-label-large-14-regular-font-weight);
1495
+ line-height: var(--cr-typography-label-large-14-regular-line-height);
1496
+ letter-spacing: var(--cr-typography-label-large-14-regular-letter-spacing);
1497
+ cursor: pointer;
1498
+ }
1499
+ .cr-radio--label-default .cr-radio__label {
1500
+ overflow: hidden;
1501
+ text-overflow: ellipsis;
1502
+ white-space: nowrap;
1503
+ }
1504
+ .cr-radio--disabled .cr-radio__label {
1505
+ color: var(--cr-color-text-disabled-base);
1506
+ cursor: not-allowed;
1507
+ }
1508
+
1509
+ /* src/components/DateRangeButton/DateRangeButton.css */
1510
+ .cr-date-range-field {
1511
+ display: inline-flex;
1512
+ }
1513
+ .cr-date-range-button {
1514
+ box-sizing: border-box;
1515
+ display: inline-flex;
1516
+ align-items: center;
1517
+ gap: var(--cr-spacing-spacing-5);
1518
+ height: 42px;
1519
+ padding: var(--cr-padding-padding-3) var(--cr-padding-padding-5);
1520
+ border: var(--cr-stroke-x-small) solid var(--cr-color-stroke-neutral-base);
1521
+ border-radius: var(--cr-radius-small);
1522
+ background-color: var(--cr-color-fill-neutral-container);
1523
+ color: var(--cr-color-text-neutral-base);
1524
+ font-family: var(--cr-typography-body-small-14-semibold-font-family);
1525
+ font-size: var(--cr-typography-body-small-14-semibold-font-size);
1526
+ font-weight: var(--cr-typography-body-small-14-semibold-font-weight);
1527
+ line-height: var(--cr-typography-body-small-14-semibold-line-height);
1528
+ letter-spacing: var(--cr-typography-body-small-14-semibold-letter-spacing);
1529
+ white-space: nowrap;
1530
+ cursor: pointer;
1531
+ transition: background-color 120ms ease;
1532
+ }
1533
+ .cr-date-range-button:hover:not(:disabled) {
1534
+ background-color: var(--cr-color-fill-neutral-container-hover);
1535
+ }
1536
+ .cr-date-range-button:active:not(:disabled) {
1537
+ background-color: var(--cr-color-fill-neutral-container-pressed);
1538
+ }
1539
+ .cr-date-range-button:focus-visible {
1540
+ outline: none;
1541
+ box-shadow: var(--cr-effects-focus-ring);
1542
+ }
1543
+ .cr-date-range-button:disabled {
1544
+ border-color: var(--cr-color-stroke-disabled-base);
1545
+ background-color: var(--cr-color-fill-disabled-base);
1546
+ color: var(--cr-color-text-disabled-on-fill);
1547
+ cursor: not-allowed;
1548
+ }
1549
+ .cr-date-range-button__icon,
1550
+ .cr-date-range-button__caret {
1551
+ display: inline-flex;
1552
+ flex-shrink: 0;
1553
+ }
1554
+ .cr-date-range-button__icon {
1555
+ margin-right: calc(var(--cr-spacing-spacing-3) - var(--cr-spacing-spacing-5));
1062
1556
  font-size: 20px;
1063
1557
  }
1064
- .cr-menu__item:hover .cr-menu__action {
1065
- background-color: var(--cr-color-fill-neutral-container-hover);
1558
+ .cr-date-range-button__caret {
1559
+ font-size: 16px;
1066
1560
  }
1067
- .cr-menu__list:focus-visible .cr-menu__item[data-p-focused=true] .cr-menu__action {
1068
- background-color: var(--cr-color-fill-neutral-container);
1069
- box-shadow: inset 0 0 0 var(--cr-stroke-x-small) var(--cr-color-stroke-brand-base), var(--cr-effects-focus-ring);
1561
+ .cr-date-range-button__text {
1562
+ display: inline-flex;
1563
+ gap: var(--cr-spacing-spacing-2);
1070
1564
  }
1071
- .cr-menu__item--selected .cr-menu__action,
1072
- .cr-menu__item--selected:hover .cr-menu__action {
1073
- background-color: var(--cr-color-fill-selected-subtlest);
1074
- color: var(--cr-color-text-brand-base);
1565
+ .cr-date-range-button__period,
1566
+ .cr-date-range-button__placeholder {
1567
+ color: var(--cr-color-text-neutral-subtle);
1075
1568
  }
1076
- .cr-menu__item--selected .cr-menu__icon {
1077
- color: var(--cr-color-icon-brand-base);
1569
+ .cr-date-range-button:disabled .cr-date-range-button__period,
1570
+ .cr-date-range-button:disabled .cr-date-range-button__placeholder {
1571
+ color: inherit;
1078
1572
  }
1079
- .cr-menu__item[aria-disabled=true] .cr-menu__action {
1080
- color: var(--cr-color-text-disabled-base);
1081
- cursor: not-allowed;
1573
+ .cr-date-range__panel {
1574
+ margin-top: var(--cr-spacing-spacing-3);
1575
+ overflow: hidden;
1576
+ border: var(--cr-stroke-x-small) solid var(--cr-color-stroke-neutral-base);
1577
+ border-radius: var(--cr-radius-large);
1578
+ background-color: var(--cr-color-fill-neutral-container);
1579
+ box-shadow: var(--cr-elevation-gray-bottom-5);
1082
1580
  }
1083
- .cr-menu__item[aria-disabled=true] .cr-menu__icon {
1084
- color: var(--cr-color-icon-disabled-base);
1581
+ .cr-date-range__panel[data-cr-lado=acima] {
1582
+ margin-top: calc(-1 * var(--cr-spacing-spacing-3));
1085
1583
  }
1086
- .cr-menu__item[aria-disabled=true]:hover .cr-menu__action {
1087
- background-color: var(--cr-color-fill-neutral-container);
1584
+ .cr-date-range__body {
1585
+ display: flex;
1088
1586
  }
1089
- .cr-menu__loading {
1587
+ .cr-date-range__periods {
1588
+ box-sizing: border-box;
1090
1589
  display: flex;
1091
- align-items: center;
1092
- justify-content: center;
1093
- height: var(--cr-menu-item-height);
1094
- color: var(--cr-color-icon-neutral-subtle);
1095
- font-size: 24px;
1590
+ flex-direction: column;
1591
+ flex-shrink: 0;
1592
+ width: 231px;
1593
+ padding: var(--cr-padding-padding-6);
1594
+ border-right: var(--cr-stroke-x-small) solid var(--cr-color-stroke-neutral-base);
1096
1595
  }
1097
- .cr-menu__spinner {
1098
- animation: cr-menu-spin 1s linear infinite;
1596
+ .cr-date-range__period {
1597
+ gap: var(--cr-spacing-spacing-6);
1598
+ padding: var(--cr-padding-padding-5) var(--cr-padding-padding-3);
1099
1599
  }
1100
- @media (prefers-reduced-motion: reduce) {
1101
- .cr-menu__spinner {
1102
- animation-duration: 3s;
1103
- }
1600
+ .cr-date-range__period:hover {
1601
+ background-color: var(--cr-color-fill-neutral-subtlest);
1104
1602
  }
1105
- @keyframes cr-menu-spin {
1106
- to {
1107
- transform: rotate(360deg);
1108
- }
1603
+ .cr-date-range__period .cr-radio__label {
1604
+ flex: 1;
1605
+ cursor: pointer;
1109
1606
  }
1110
-
1111
- /* src/components/ContextMenu/ContextMenu.css */
1112
- .cr-context-menu {
1113
- position: absolute;
1114
- width: 260px;
1607
+ .cr-date-range__calendars {
1608
+ display: flex;
1609
+ flex-direction: column;
1610
+ gap: var(--cr-spacing-spacing-6);
1611
+ padding: var(--cr-padding-padding-6);
1115
1612
  }
1116
- .cr-context-menu--entrar {
1117
- opacity: 0;
1613
+ .cr-date-range__inputs {
1614
+ display: flex;
1615
+ align-items: center;
1616
+ gap: var(--cr-spacing-spacing-4);
1118
1617
  }
1119
- .cr-context-menu--entrando {
1120
- opacity: 1;
1121
- transition: opacity 250ms;
1618
+ .cr-date-range__inputs > .cr-field {
1619
+ flex: 1;
1122
1620
  }
1123
- @media (prefers-reduced-motion: reduce) {
1124
- .cr-context-menu--entrando {
1125
- transition: none;
1126
- }
1621
+ .cr-date-range__dash {
1622
+ font-family: var(--cr-typography-body-small-14-regular-font-family);
1623
+ font-size: var(--cr-typography-body-small-14-regular-font-size);
1624
+ line-height: var(--cr-typography-body-small-14-regular-line-height);
1625
+ }
1626
+ .cr-date-range__footer {
1627
+ display: flex;
1628
+ justify-content: space-between;
1629
+ padding: var(--cr-padding-padding-6);
1630
+ border-top: var(--cr-stroke-x-small) solid var(--cr-color-stroke-neutral-base);
1127
1631
  }
1128
1632
 
1129
1633
  /* src/components/Divider/Divider.css */
@@ -1160,96 +1664,6 @@
1160
1664
  display: none;
1161
1665
  }
1162
1666
 
1163
- /* src/components/IconButton/IconButton.css */
1164
- .cr-icon-button {
1165
- display: inline-flex;
1166
- flex-shrink: 0;
1167
- align-items: center;
1168
- justify-content: center;
1169
- padding: var(--cr-padding-padding-3);
1170
- border: var(--cr-stroke-x-small) solid transparent;
1171
- border-radius: var(--cr-radius-full);
1172
- background-color: transparent;
1173
- cursor: pointer;
1174
- transition: background-color 120ms ease, border-color 120ms ease;
1175
- }
1176
- .cr-icon-button:focus-visible {
1177
- outline: none;
1178
- box-shadow: var(--cr-effects-focus-ring);
1179
- }
1180
- .cr-icon-button:disabled {
1181
- cursor: not-allowed;
1182
- }
1183
- .cr-icon-button--large {
1184
- width: 48px;
1185
- height: 48px;
1186
- }
1187
- .cr-icon-button--medium {
1188
- width: 42px;
1189
- height: 42px;
1190
- }
1191
- .cr-icon-button--small {
1192
- width: 36px;
1193
- height: 36px;
1194
- }
1195
- .cr-icon-button--xsmall {
1196
- width: 32px;
1197
- height: 32px;
1198
- }
1199
- .cr-icon-button__icon {
1200
- display: inline-flex;
1201
- font-size: 20px;
1202
- }
1203
- .cr-icon-button--xsmall .cr-icon-button__icon {
1204
- font-size: 16px;
1205
- }
1206
- .cr-icon-button--primary {
1207
- background-color: var(--cr-color-fill-brand-base);
1208
- color: var(--cr-color-icon-inverse-base);
1209
- }
1210
- .cr-icon-button--primary:hover:not(:disabled) {
1211
- background-color: var(--cr-color-fill-brand-base-hover);
1212
- }
1213
- .cr-icon-button--primary:active:not(:disabled) {
1214
- background-color: var(--cr-color-fill-brand-base-pressed);
1215
- }
1216
- .cr-icon-button--secondary {
1217
- background-color: var(--cr-color-fill-brand-subtlest);
1218
- color: var(--cr-color-icon-brand-base);
1219
- }
1220
- .cr-icon-button--secondary:hover:not(:disabled) {
1221
- background-color: var(--cr-color-fill-brand-subtlest-hover);
1222
- }
1223
- .cr-icon-button--secondary:active:not(:disabled) {
1224
- background-color: var(--cr-color-fill-brand-subtlest-pressed);
1225
- }
1226
- .cr-icon-button--tertiary {
1227
- background-color: var(--cr-color-fill-neutral-container);
1228
- border-color: var(--cr-color-stroke-neutral-bold);
1229
- color: var(--cr-color-icon-neutral-base);
1230
- }
1231
- .cr-icon-button--tertiary:hover:not(:disabled) {
1232
- background-color: var(--cr-color-fill-neutral-container-hover);
1233
- }
1234
- .cr-icon-button--tertiary:active:not(:disabled) {
1235
- background-color: var(--cr-color-fill-neutral-container-pressed);
1236
- }
1237
- .cr-icon-button--primary:disabled,
1238
- .cr-icon-button--secondary:disabled,
1239
- .cr-icon-button--tertiary:disabled {
1240
- background-color: var(--cr-color-fill-disabled-base);
1241
- color: var(--cr-color-icon-disabled-on-fill);
1242
- }
1243
- .cr-icon-button--tertiary:disabled {
1244
- border-color: var(--cr-color-stroke-disabled-base);
1245
- }
1246
- .cr-icon-button--ghost {
1247
- color: var(--cr-color-icon-brand-base);
1248
- }
1249
- .cr-icon-button--ghost:hover:not(:disabled) {
1250
- background-color: var(--cr-color-fill-brand-subtlest);
1251
- }
1252
-
1253
1667
  /* src/components/Drawer/Drawer.css */
1254
1668
  .cr-drawer__mask {
1255
1669
  box-sizing: border-box;
@@ -2680,84 +3094,6 @@
2680
3094
  min-height: 0;
2681
3095
  }
2682
3096
 
2683
- /* src/components/Radio/Radio.css */
2684
- .cr-radio {
2685
- display: inline-flex;
2686
- align-items: center;
2687
- gap: var(--cr-spacing-spacing-4);
2688
- max-width: 100%;
2689
- }
2690
- .cr-radio--label-full {
2691
- align-items: flex-start;
2692
- }
2693
- .cr-radio__control {
2694
- position: relative;
2695
- flex-shrink: 0;
2696
- width: 24px;
2697
- height: 24px;
2698
- }
2699
- .cr-radio__input {
2700
- position: absolute;
2701
- inset: 0;
2702
- z-index: 1;
2703
- width: 100%;
2704
- height: 100%;
2705
- margin: 0;
2706
- opacity: 0;
2707
- cursor: pointer;
2708
- }
2709
- .cr-radio__box {
2710
- box-sizing: border-box;
2711
- width: 100%;
2712
- height: 100%;
2713
- border: var(--cr-stroke-small) solid var(--cr-color-stroke-neutral-bold);
2714
- border-radius: var(--cr-radius-full);
2715
- background-color: var(--cr-color-fill-neutral-container);
2716
- }
2717
- .cr-radio__icon {
2718
- display: none;
2719
- }
2720
- .cr-radio__control--checked .cr-radio__box {
2721
- border-width: 8px;
2722
- border-color: var(--cr-color-stroke-brand-base);
2723
- }
2724
- .cr-radio:not(.cr-radio--disabled):hover .cr-radio__box {
2725
- border-color: var(--cr-color-stroke-neutral-bold-hover);
2726
- }
2727
- .cr-radio:not(.cr-radio--disabled):hover .cr-radio__control--checked .cr-radio__box {
2728
- border-color: var(--cr-color-stroke-brand-base-hover);
2729
- }
2730
- .cr-radio__input:focus-visible + .cr-radio__box {
2731
- border-color: var(--cr-color-stroke-brand-base);
2732
- box-shadow: var(--cr-effects-focus-ring);
2733
- }
2734
- .cr-radio--disabled .cr-radio__input {
2735
- cursor: not-allowed;
2736
- }
2737
- .cr-radio--disabled .cr-radio__box,
2738
- .cr-radio--disabled .cr-radio__control--checked .cr-radio__box {
2739
- border-color: var(--cr-color-stroke-disabled-base);
2740
- }
2741
- .cr-radio__label {
2742
- min-width: 0;
2743
- color: var(--cr-color-text-neutral-base);
2744
- font-family: var(--cr-typography-label-large-14-regular-font-family);
2745
- font-size: var(--cr-typography-label-large-14-regular-font-size);
2746
- font-weight: var(--cr-typography-label-large-14-regular-font-weight);
2747
- line-height: var(--cr-typography-label-large-14-regular-line-height);
2748
- letter-spacing: var(--cr-typography-label-large-14-regular-letter-spacing);
2749
- cursor: pointer;
2750
- }
2751
- .cr-radio--label-default .cr-radio__label {
2752
- overflow: hidden;
2753
- text-overflow: ellipsis;
2754
- white-space: nowrap;
2755
- }
2756
- .cr-radio--disabled .cr-radio__label {
2757
- color: var(--cr-color-text-disabled-base);
2758
- cursor: not-allowed;
2759
- }
2760
-
2761
3097
  /* src/components/ScrollPanel/ScrollPanel.css */
2762
3098
  .cr-scrollpanel {
2763
3099
  position: relative;