@recursyve/nice-ui-kit.v2 15.0.0-beta.122 → 15.0.0-beta.123

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@recursyve/nice-ui-kit.v2",
3
- "version": "15.0.0-beta.122",
3
+ "version": "15.0.0-beta.123",
4
4
  "exports": {
5
5
  ".": {
6
6
  "sass": "./_index.scss",
@@ -5,9 +5,9 @@
5
5
  $background: map-get($theme, background);
6
6
  $foreground: map-get($theme, foreground);
7
7
 
8
- mat-calendar {
8
+ mat-calendar.nice-date-range-picker {
9
9
  .mat-calendar-body-in-range::before {
10
- background: mat.get-color-from-palette($accent, 0.2) !important;
10
+ @apply bg-accent/20;
11
11
  }
12
12
  }
13
13
 
@@ -1433,6 +1433,9 @@ table {
1433
1433
 
1434
1434
  // FIX FOR VAR
1435
1435
 
1436
+ // -----------------------------------------------------------------------------------------------------
1437
+ // Progress bar
1438
+ // -----------------------------------------------------------------------------------------------------
1436
1439
  .mat-mdc-progress-bar {
1437
1440
  &.mat-accent {
1438
1441
  .mdc-linear-progress__buffer-bar {
@@ -1453,26 +1456,44 @@ table {
1453
1456
  }
1454
1457
  }
1455
1458
 
1459
+ // -----------------------------------------------------------------------------------------------------
1460
+ // Checkbox
1461
+ // -----------------------------------------------------------------------------------------------------
1456
1462
  .mat-mdc-checkbox {
1457
1463
  &.mat-accent {
1458
1464
  .mdc-checkbox__checkmark {
1459
1465
  @apply text-on-accent #{!important};
1460
1466
  }
1467
+
1468
+ .mdc-checkbox__mixedmark {
1469
+ --mdc-checkbox-selected-checkmark-color: var(--nice-on-accent) #{!important};;
1470
+ }
1461
1471
  }
1462
1472
 
1463
1473
  &.mat-primary {
1464
1474
  .mdc-checkbox__checkmark {
1465
1475
  @apply text-on-primary #{!important};
1466
1476
  }
1477
+
1478
+ .mdc-checkbox__mixedmark {
1479
+ --mdc-checkbox-selected-checkmark-color: var(--nice-on-primary) #{!important};;
1480
+ }
1467
1481
  }
1468
1482
 
1469
1483
  &.mat-warn {
1470
1484
  .mdc-checkbox__checkmark {
1471
1485
  @apply text-on-warn #{!important};
1472
1486
  }
1487
+
1488
+ .mdc-checkbox__mixedmark {
1489
+ --mdc-checkbox-selected-checkmark-color: var(--nice-on-warn) #{!important};;
1490
+ }
1473
1491
  }
1474
1492
  }
1475
1493
 
1494
+ // -----------------------------------------------------------------------------------------------------
1495
+ // List
1496
+ // -----------------------------------------------------------------------------------------------------
1476
1497
  .mdc-list-item__accent-text {
1477
1498
  @apply text-accent #{!important};
1478
1499
  }
@@ -1484,3 +1505,55 @@ table {
1484
1505
  .mdc-list-item__warn-text {
1485
1506
  @apply text-warn #{!important};
1486
1507
  }
1508
+
1509
+ // -----------------------------------------------------------------------------------------------------
1510
+ // Date Picker + Calendar
1511
+ // -----------------------------------------------------------------------------------------------------
1512
+
1513
+ @mixin _calendar_body_in_range {
1514
+ .mat-calendar-body-in-range::before {
1515
+ @content;
1516
+ }
1517
+ }
1518
+
1519
+ @mixin _calendar_body_hover {
1520
+ @media (hover: hover) {
1521
+ .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover {
1522
+ & > .mat-calendar-body-cell-content {
1523
+ &:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
1524
+ @content;
1525
+ }
1526
+ }
1527
+ }
1528
+ }
1529
+ }
1530
+
1531
+ @include _calendar_body_hover {
1532
+ @apply bg-primary/30 #{!important};
1533
+ }
1534
+
1535
+ @include _calendar_body_in_range {
1536
+ @apply bg-primary/20 #{!important};
1537
+ }
1538
+
1539
+ .mat-datepicker-content {
1540
+ &.mat-accent {
1541
+ @include _calendar_body_hover {
1542
+ @apply bg-accent/30 #{!important};
1543
+ }
1544
+
1545
+ @include _calendar_body_in_range {
1546
+ @apply bg-accent/20 #{!important};
1547
+ }
1548
+ }
1549
+
1550
+ &.mat-warn {
1551
+ @include _calendar_body_hover {
1552
+ @apply bg-warn/30 #{!important};
1553
+ }
1554
+
1555
+ @include _calendar_body_in_range {
1556
+ @apply bg-warn/20 #{!important};
1557
+ }
1558
+ }
1559
+ }