@regcheq/ui-vue-2 1.6.0 → 1.8.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
@@ -686,6 +686,7 @@
686
686
  justify-content: center;
687
687
  flex-shrink: 0;
688
688
  vertical-align: middle;
689
+ margin-bottom: 4px;
689
690
  width: 16px;
690
691
  height: 16px;
691
692
  border-radius: 4px;
@@ -839,8 +840,8 @@
839
840
  align-items: center;
840
841
  justify-content: center;
841
842
  gap: 4px;
842
- height: 32px;
843
- padding: 4px 12px;
843
+ height: 20px;
844
+ padding: 0 12px;
844
845
  font-family: "Inter", sans-serif;
845
846
  font-weight: 400;
846
847
  font-size: 12px;
@@ -1536,9 +1537,10 @@
1536
1537
  display: flex;
1537
1538
  align-items: center;
1538
1539
  justify-content: space-between;
1540
+ min-height: 56px;
1539
1541
  padding: 12px 16px;
1540
1542
  background: #e6f0fc;
1541
- border-radius: 8px;
1543
+ border-radius: 0px;
1542
1544
  }
1543
1545
  .rq-selection-bar__info {
1544
1546
  display: flex;
@@ -1552,7 +1554,7 @@
1552
1554
  width: 6px;
1553
1555
  height: 6px;
1554
1556
  border-radius: 999px;
1555
- background: #0064e0;
1557
+ background: #00479f;
1556
1558
  }
1557
1559
  .rq-selection-bar__clear {
1558
1560
  background: none;
@@ -1562,8 +1564,23 @@
1562
1564
  font-size: 14px;
1563
1565
  color: #0064e0;
1564
1566
  cursor: pointer;
1565
- text-decoration: underline;
1567
+ text-decoration: none;
1568
+ }
1569
+ .rq-table__expanded-content::-webkit-scrollbar, .rq-table__scroll::-webkit-scrollbar {
1570
+ width: 6px;
1571
+ height: 6px;
1572
+ }
1573
+ .rq-table__expanded-content::-webkit-scrollbar-track, .rq-table__scroll::-webkit-scrollbar-track {
1574
+ background: transparent;
1575
+ }
1576
+ .rq-table__expanded-content::-webkit-scrollbar-thumb, .rq-table__scroll::-webkit-scrollbar-thumb {
1577
+ background: #e4e4e7;
1578
+ border-radius: 999px;
1579
+ }
1580
+ .rq-table__expanded-content::-webkit-scrollbar-corner, .rq-table__scroll::-webkit-scrollbar-corner {
1581
+ background: transparent;
1566
1582
  }
1583
+
1567
1584
  .rq-table {
1568
1585
  position: relative;
1569
1586
  display: flex;
@@ -1579,20 +1596,6 @@
1579
1596
  overflow: auto;
1580
1597
  flex: 1;
1581
1598
  }
1582
- .rq-table__scroll::-webkit-scrollbar {
1583
- width: 6px;
1584
- height: 6px;
1585
- }
1586
- .rq-table__scroll::-webkit-scrollbar-track {
1587
- background: transparent;
1588
- }
1589
- .rq-table__scroll::-webkit-scrollbar-thumb {
1590
- background: #e4e4e7;
1591
- border-radius: 999px;
1592
- }
1593
- .rq-table__scroll::-webkit-scrollbar-corner {
1594
- background: transparent;
1595
- }
1596
1599
  .rq-table__table {
1597
1600
  width: 100%;
1598
1601
  border-collapse: separate;
@@ -1606,6 +1609,7 @@
1606
1609
  background: #040045;
1607
1610
  }
1608
1611
  .rq-table__tr--body {
1612
+ height: 38px;
1609
1613
  cursor: pointer;
1610
1614
  background: #ffffff;
1611
1615
  transition: background 100ms ease;
@@ -1627,8 +1631,6 @@
1627
1631
  font-weight: 500;
1628
1632
  color: #ffffff;
1629
1633
  text-align: left;
1630
- white-space: nowrap;
1631
- overflow: hidden;
1632
1634
  background: #040045;
1633
1635
  cursor: grab;
1634
1636
  user-select: none;
@@ -1664,6 +1666,12 @@
1664
1666
  .rq-table__th--drag-over {
1665
1667
  border-left: 2px solid #5497ea;
1666
1668
  }
1669
+ .rq-table__th--expand {
1670
+ width: 40px;
1671
+ min-width: 40px;
1672
+ cursor: default;
1673
+ background: #040045;
1674
+ }
1667
1675
  .rq-table__th-content {
1668
1676
  display: flex;
1669
1677
  align-items: center;
@@ -1672,8 +1680,8 @@
1672
1680
  }
1673
1681
  .rq-table__th-label {
1674
1682
  flex: 1;
1675
- overflow: hidden;
1676
- text-overflow: ellipsis;
1683
+ white-space: normal;
1684
+ word-break: break-word;
1677
1685
  }
1678
1686
  .rq-table__chevron-btn {
1679
1687
  display: flex;
@@ -1697,10 +1705,38 @@
1697
1705
  color: #ffffff;
1698
1706
  transform: rotate(180deg);
1699
1707
  }
1708
+ .rq-table__expand-cell {
1709
+ display: flex;
1710
+ align-items: center;
1711
+ gap: 6px;
1712
+ }
1713
+ .rq-table__expand-btn {
1714
+ display: flex;
1715
+ align-items: center;
1716
+ justify-content: center;
1717
+ flex-shrink: 0;
1718
+ width: 20px;
1719
+ height: 20px;
1720
+ border: none;
1721
+ background: transparent;
1722
+ cursor: pointer;
1723
+ border-radius: 2px;
1724
+ color: #71717a;
1725
+ padding: 0;
1726
+ transition: color 200ms ease, background 200ms ease, transform 100ms ease;
1727
+ }
1728
+ .rq-table__expand-btn:hover {
1729
+ color: #18181b;
1730
+ background: #f4f4f5;
1731
+ }
1732
+ .rq-table__expand-btn--active {
1733
+ color: #18181b;
1734
+ transform: rotate(90deg);
1735
+ }
1700
1736
  .rq-table__chevron-popover {
1701
- position: absolute;
1737
+ position: fixed;
1702
1738
  transform: translateX(-50%);
1703
- z-index: 10;
1739
+ z-index: 1000;
1704
1740
  background: #ffffff;
1705
1741
  border: 1px solid #e4e4e7;
1706
1742
  border-radius: 8px;
@@ -1727,10 +1763,64 @@
1727
1763
  text-align: center;
1728
1764
  text-overflow: clip;
1729
1765
  }
1766
+ .rq-table__td--expand {
1767
+ width: 40px;
1768
+ min-width: 40px;
1769
+ text-overflow: clip;
1770
+ }
1730
1771
  .rq-table__td--empty {
1731
1772
  padding: 48px 16px;
1732
1773
  text-align: center;
1733
- color: #a1a1aa;
1774
+ }
1775
+ .rq-table__td--expanded {
1776
+ padding: 0;
1777
+ cursor: default;
1778
+ border-bottom: 1px solid #f4f4f5;
1779
+ }
1780
+ .rq-table__tr--expanded {
1781
+ background: #e6e6ec;
1782
+ cursor: default;
1783
+ }
1784
+ .rq-table__tr--expanded .rq-table__td:first-child {
1785
+ border-left: 2px solid #040045;
1786
+ }
1787
+ .rq-table__expanded-content {
1788
+ display: flex;
1789
+ justify-content: center;
1790
+ overflow-y: auto;
1791
+ padding: 16px;
1792
+ }
1793
+ .rq-table__empty-state {
1794
+ display: flex;
1795
+ flex-direction: column;
1796
+ align-items: center;
1797
+ gap: 8px;
1798
+ }
1799
+ .rq-table__empty-title {
1800
+ font-family: "Inter", sans-serif;
1801
+ font-weight: 600;
1802
+ font-size: 16px;
1803
+ color: #18181b;
1804
+ margin: 0;
1805
+ }
1806
+ .rq-table__empty-subtitle {
1807
+ font-family: "Inter", sans-serif;
1808
+ font-weight: 400;
1809
+ font-size: 14px;
1810
+ line-height: 22px;
1811
+ color: #71717a;
1812
+ max-width: 480px;
1813
+ margin: 0;
1814
+ }
1815
+ .rq-table__cell-tooltip {
1816
+ display: block;
1817
+ width: 100%;
1818
+ }
1819
+ .rq-table__cell-text {
1820
+ display: block;
1821
+ width: 100%;
1822
+ overflow: hidden;
1823
+ text-overflow: ellipsis;
1734
1824
  }
1735
1825
  .rq-table__context-menu {
1736
1826
  position: absolute;
@@ -1769,9 +1859,23 @@
1769
1859
  border-radius: 12px;
1770
1860
  padding: 16px;
1771
1861
  }
1862
+ .rq-data-table__search-row {
1863
+ display: flex;
1864
+ align-items: center;
1865
+ gap: 12px;
1866
+ }
1772
1867
  .rq-data-table__search-bar {
1773
1868
  display: flex;
1774
1869
  }
1870
+ .rq-data-table__actions {
1871
+ display: flex;
1872
+ align-items: center;
1873
+ gap: 8px;
1874
+ margin-left: auto;
1875
+ }
1876
+ .rq-data-table__selection-slot {
1877
+ min-height: 56px;
1878
+ }
1775
1879
  .rq-data-table__pagination {
1776
1880
  display: flex;
1777
1881
  align-items: center;