@regcheq/ui-vue-2 1.26.0 → 1.27.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
@@ -734,6 +734,9 @@
734
734
  border-radius: 2px;
735
735
  transition: color 200ms ease;
736
736
  }
737
+ .rq-link[type=button] {
738
+ color: #0064e0;
739
+ }
737
740
  .rq-link:hover:not(.rq-link--disabled) {
738
741
  color: #00479f;
739
742
  }
@@ -751,77 +754,6 @@
751
754
  opacity: 0.5;
752
755
  cursor: not-allowed;
753
756
  }
754
- .rq-progress-field {
755
- display: flex;
756
- flex-direction: column;
757
- gap: 6px;
758
- font-family: "Inter", sans-serif;
759
- }
760
- .rq-progress-field__header {
761
- display: flex;
762
- align-items: baseline;
763
- justify-content: space-between;
764
- gap: 8px;
765
- font-size: 14px;
766
- line-height: 20px;
767
- }
768
- .rq-progress-field__label {
769
- font-weight: 500;
770
- letter-spacing: 1px;
771
- color: #18181b;
772
- }
773
- .rq-progress-field__value {
774
- color: #52525b;
775
- }
776
- .rq-progress-field__native {
777
- position: absolute;
778
- width: 1px;
779
- height: 1px;
780
- margin: -1px;
781
- padding: 0;
782
- overflow: hidden;
783
- clip: rect(0 0 0 0);
784
- border: 0;
785
- }
786
-
787
- .rq-progress {
788
- height: 8px;
789
- background: #f4f4f5;
790
- display: flex;
791
- border-radius: 999px;
792
- overflow: hidden;
793
- }
794
- .rq-progress__fill {
795
- display: block;
796
- height: 100%;
797
- background: #0064e0;
798
- border-radius: inherit;
799
- transition: width 300ms ease-out;
800
- }
801
- .rq-progress--success .rq-progress__fill {
802
- background: #0eb97a;
803
- }
804
- .rq-progress--error .rq-progress__fill {
805
- background: #ff2414;
806
- }
807
- .rq-progress__segment {
808
- display: block;
809
- flex: none;
810
- height: 100%;
811
- transition: width 300ms ease-out;
812
- }
813
- .rq-progress__segment--default {
814
- background: #0064e0;
815
- }
816
- .rq-progress__segment--success {
817
- background: #0eb97a;
818
- }
819
- .rq-progress__segment--error {
820
- background: #ff2414;
821
- }
822
- .rq-progress__segment--warning {
823
- background: #ffc402;
824
- }
825
757
  @keyframes rq-spinner-spin {
826
758
  to {
827
759
  transform: rotate(360deg);
@@ -1961,6 +1893,295 @@
1961
1893
  letter-spacing: 0;
1962
1894
  color: #18181b;
1963
1895
  }
1896
+ .rq-line-tabs {
1897
+ position: relative;
1898
+ display: flex;
1899
+ align-items: stretch;
1900
+ box-sizing: border-box;
1901
+ max-width: 100%;
1902
+ min-width: 0;
1903
+ font-family: "Inter", sans-serif;
1904
+ box-shadow: inset 0 -1px 0 #f4f4f5;
1905
+ }
1906
+ .rq-line-tabs__viewport {
1907
+ display: flex;
1908
+ align-items: stretch;
1909
+ overflow-x: auto;
1910
+ overflow-y: hidden;
1911
+ padding: 2px;
1912
+ margin: -2px;
1913
+ min-width: 0;
1914
+ scrollbar-width: none;
1915
+ -ms-overflow-style: none;
1916
+ }
1917
+ .rq-line-tabs__viewport::-webkit-scrollbar {
1918
+ display: none;
1919
+ }
1920
+ .rq-line-tabs--scroll-prev .rq-line-tabs__viewport {
1921
+ -webkit-mask-image: linear-gradient(to right, transparent 0, #000 32px);
1922
+ mask-image: linear-gradient(to right, transparent 0, #000 32px);
1923
+ }
1924
+ .rq-line-tabs--scroll-next .rq-line-tabs__viewport {
1925
+ -webkit-mask-image: linear-gradient(to left, transparent 0, #000 32px);
1926
+ mask-image: linear-gradient(to left, transparent 0, #000 32px);
1927
+ }
1928
+ .rq-line-tabs--scroll-prev.rq-line-tabs--scroll-next .rq-line-tabs__viewport {
1929
+ -webkit-mask-image: linear-gradient(to right, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
1930
+ mask-image: linear-gradient(to right, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
1931
+ }
1932
+ .rq-line-tabs__scroll-btn {
1933
+ position: absolute;
1934
+ top: 50%;
1935
+ transform: translateY(-50%);
1936
+ z-index: 2;
1937
+ display: inline-flex;
1938
+ align-items: center;
1939
+ justify-content: center;
1940
+ flex-shrink: 0;
1941
+ padding: 0;
1942
+ background: #ffffff;
1943
+ border: 1px solid #e4e4e7;
1944
+ border-radius: 999px;
1945
+ box-shadow: 0px 1px 1px 0px rgba(15, 15, 21, 0.1);
1946
+ cursor: pointer;
1947
+ color: #18181b;
1948
+ outline: none;
1949
+ transition: background 100ms ease, box-shadow 100ms ease;
1950
+ }
1951
+ .rq-line-tabs__scroll-btn:hover {
1952
+ background: #fafafa;
1953
+ }
1954
+ .rq-line-tabs__scroll-btn:active {
1955
+ background: #f4f4f5;
1956
+ }
1957
+ .rq-line-tabs__scroll-btn:focus-visible {
1958
+ box-shadow: 0 0 0 1px #0064e0;
1959
+ }
1960
+ .rq-line-tabs__scroll-btn--prev {
1961
+ left: 2px;
1962
+ }
1963
+ .rq-line-tabs__scroll-btn--next {
1964
+ right: 2px;
1965
+ }
1966
+ .rq-line-tabs__tab {
1967
+ display: inline-flex;
1968
+ align-items: center;
1969
+ justify-content: center;
1970
+ flex-shrink: 0;
1971
+ margin: 0;
1972
+ border: 0;
1973
+ border-radius: 0px;
1974
+ background: transparent;
1975
+ color: #52525b;
1976
+ font-family: "Inter", sans-serif;
1977
+ font-weight: 500;
1978
+ white-space: nowrap;
1979
+ cursor: pointer;
1980
+ outline: none;
1981
+ box-shadow: inset 0 -2px 0 transparent;
1982
+ transition: background 200ms ease, color 200ms ease, box-shadow 200ms ease;
1983
+ }
1984
+ .rq-line-tabs__tab:not(.rq-line-tabs__tab--active) {
1985
+ color: #52525b;
1986
+ }
1987
+ .rq-line-tabs__tab:hover:not(:disabled):not(.rq-line-tabs__tab--disabled):not(.rq-line-tabs__tab--active) {
1988
+ color: #18181b;
1989
+ box-shadow: inset 0 -2px 0 #a1a1aa;
1990
+ }
1991
+ .rq-line-tabs__tab:focus-visible {
1992
+ box-shadow: 0 0 0 1px #0064e0;
1993
+ }
1994
+ .rq-line-tabs__tab--active {
1995
+ color: #18181b;
1996
+ box-shadow: inset 0 -2px 0 #18181b;
1997
+ }
1998
+ .rq-line-tabs__tab--active:hover {
1999
+ background: #e6e6ec;
2000
+ }
2001
+ .rq-line-tabs__tab--active:focus-visible {
2002
+ box-shadow: inset 0 -2px 0 #18181b, 0 0 0 1px #0064e0;
2003
+ }
2004
+ .rq-line-tabs__tab:disabled, .rq-line-tabs__tab--disabled {
2005
+ opacity: 0.5;
2006
+ cursor: not-allowed;
2007
+ pointer-events: none;
2008
+ }
2009
+ .rq-line-tabs__tab--skeleton {
2010
+ cursor: default;
2011
+ pointer-events: none;
2012
+ }
2013
+ .rq-line-tabs__tooltip {
2014
+ display: inline-flex;
2015
+ flex-shrink: 0;
2016
+ align-items: stretch;
2017
+ }
2018
+ .rq-line-tabs__tab-icon {
2019
+ flex: none;
2020
+ color: currentColor;
2021
+ }
2022
+ .rq-line-tabs__tab-counter {
2023
+ display: inline-grid;
2024
+ place-items: center;
2025
+ flex: none;
2026
+ box-sizing: border-box;
2027
+ min-width: 16px;
2028
+ height: 16px;
2029
+ padding: 0 4px;
2030
+ border-radius: 999px;
2031
+ background: #e4e4e7;
2032
+ color: inherit;
2033
+ font-family: "Inter", sans-serif;
2034
+ font-weight: 600;
2035
+ font-size: 12px;
2036
+ line-height: 1;
2037
+ letter-spacing: 0px;
2038
+ }
2039
+ .rq-line-tabs--regular {
2040
+ height: 40px;
2041
+ }
2042
+ .rq-line-tabs--regular .rq-line-tabs__viewport {
2043
+ gap: 4px;
2044
+ }
2045
+ .rq-line-tabs--regular .rq-line-tabs__tab {
2046
+ gap: 6px;
2047
+ padding: 0 8px;
2048
+ font-size: 14px;
2049
+ line-height: 20px;
2050
+ letter-spacing: 1px;
2051
+ }
2052
+ .rq-line-tabs--regular .rq-line-tabs__scroll-btn {
2053
+ width: 28px;
2054
+ height: 28px;
2055
+ }
2056
+ .rq-line-tabs--small {
2057
+ height: 32px;
2058
+ }
2059
+ .rq-line-tabs--small .rq-line-tabs__viewport {
2060
+ gap: 2px;
2061
+ }
2062
+ .rq-line-tabs--small .rq-line-tabs__tab {
2063
+ gap: 2px;
2064
+ padding: 0 6px;
2065
+ font-size: 12px;
2066
+ line-height: 16px;
2067
+ letter-spacing: 0px;
2068
+ }
2069
+ .rq-line-tabs--small .rq-line-tabs__scroll-btn {
2070
+ width: 24px;
2071
+ height: 24px;
2072
+ }
2073
+ .rq-progress-field {
2074
+ display: flex;
2075
+ flex-direction: column;
2076
+ gap: 6px;
2077
+ font-family: "Inter", sans-serif;
2078
+ }
2079
+ .rq-progress-field__header {
2080
+ display: flex;
2081
+ align-items: baseline;
2082
+ justify-content: space-between;
2083
+ gap: 8px;
2084
+ font-size: 14px;
2085
+ line-height: 20px;
2086
+ }
2087
+ .rq-progress-field__label {
2088
+ font-weight: 500;
2089
+ letter-spacing: 1px;
2090
+ color: #18181b;
2091
+ }
2092
+ .rq-progress-field__value {
2093
+ color: #52525b;
2094
+ }
2095
+ .rq-progress-field__native {
2096
+ position: absolute;
2097
+ width: 1px;
2098
+ height: 1px;
2099
+ margin: -1px;
2100
+ padding: 0;
2101
+ overflow: hidden;
2102
+ clip: rect(0 0 0 0);
2103
+ border: 0;
2104
+ }
2105
+
2106
+ .rq-progress {
2107
+ height: 8px;
2108
+ background: #f4f4f5;
2109
+ display: flex;
2110
+ border-radius: 999px;
2111
+ overflow: hidden;
2112
+ }
2113
+ .rq-progress__fill {
2114
+ display: block;
2115
+ height: 100%;
2116
+ background: #0064e0;
2117
+ border-radius: inherit;
2118
+ transition: width 300ms ease-out;
2119
+ }
2120
+ .rq-progress--success .rq-progress__fill {
2121
+ background: #0eb97a;
2122
+ }
2123
+ .rq-progress--error .rq-progress__fill {
2124
+ background: #ff2414;
2125
+ }
2126
+ .rq-progress__segment {
2127
+ display: block;
2128
+ flex: none;
2129
+ height: 100%;
2130
+ transition: width 300ms ease-out;
2131
+ }
2132
+ .rq-progress__segment--default {
2133
+ background: #0064e0;
2134
+ }
2135
+ .rq-progress__segment--success {
2136
+ background: #0eb97a;
2137
+ }
2138
+ .rq-progress__segment--error {
2139
+ background: #ff2414;
2140
+ }
2141
+ .rq-progress__segment--warning {
2142
+ background: #ffc402;
2143
+ }
2144
+ .rq-progress--focusable {
2145
+ overflow: visible;
2146
+ }
2147
+ .rq-progress--focusable .rq-progress__segment--first {
2148
+ border-top-left-radius: 999px;
2149
+ border-bottom-left-radius: 999px;
2150
+ }
2151
+ .rq-progress--focusable .rq-progress__segment--last {
2152
+ border-top-right-radius: 999px;
2153
+ border-bottom-right-radius: 999px;
2154
+ }
2155
+ .rq-progress--focusable .rq-progress__segment-tooltip {
2156
+ display: block;
2157
+ flex: none;
2158
+ height: 100%;
2159
+ transition: width 300ms ease-out;
2160
+ }
2161
+ .rq-progress--focusable .rq-progress__segment--focusable {
2162
+ position: relative;
2163
+ outline: none;
2164
+ }
2165
+ .rq-progress--focusable .rq-progress__segment--focusable::before {
2166
+ content: "";
2167
+ position: absolute;
2168
+ top: -8px;
2169
+ bottom: -8px;
2170
+ left: 0;
2171
+ right: 0;
2172
+ }
2173
+ .rq-progress--focusable .rq-progress__segment--focusable:focus-visible {
2174
+ z-index: 1;
2175
+ box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #0064e0;
2176
+ }
2177
+ .rq-progress--focusable .rq-progress__segment--interactive {
2178
+ appearance: none;
2179
+ margin: 0;
2180
+ padding: 0;
2181
+ border: 0;
2182
+ font: inherit;
2183
+ cursor: pointer;
2184
+ }
1964
2185
  .rq-dropdown {
1965
2186
  position: absolute;
1966
2187
  top: calc(100% + 4px);
@@ -3587,6 +3808,48 @@ td[data-v-6ca52014],th[data-v-6ca52014]{padding:2px;background-color:#fff}td.tod
3587
3808
  .rq-table__tr--skeleton:hover, .rq-table__tr--skeleton:active {
3588
3809
  background: #ffffff;
3589
3810
  }
3811
+ .rq-table__tr--active {
3812
+ background: #b0cff5;
3813
+ }
3814
+ .rq-table__tr--active:hover {
3815
+ background: #b0cff5;
3816
+ }
3817
+ .rq-table__tr--active > .rq-table__td:first-child {
3818
+ box-shadow: inset 4px 0 0 0 #0064e0;
3819
+ }
3820
+ .rq-table__tr--active > .rq-table__td--pinned:first-child {
3821
+ box-shadow: inset 4px 0 0 0 #0064e0, 2px 0 6px -1px rgba(4, 0, 69, 0.08);
3822
+ }
3823
+ .rq-table__tr--focusable:focus-visible {
3824
+ outline: none;
3825
+ }
3826
+ .rq-table__tr--focusable:focus-visible > .rq-table__td {
3827
+ box-shadow: inset 0 2px 0 0 #0064e0, inset 0 -2px 0 0 #0064e0;
3828
+ }
3829
+ .rq-table__tr--focusable:focus-visible > .rq-table__td--pinned {
3830
+ box-shadow: inset 0 2px 0 0 #0064e0, inset 0 -2px 0 0 #0064e0, 2px 0 6px -1px rgba(4, 0, 69, 0.08);
3831
+ }
3832
+ .rq-table__tr--focusable:focus-visible > .rq-table__td:first-child {
3833
+ box-shadow: inset 2px 0 0 0 #0064e0, inset 0 2px 0 0 #0064e0, inset 0 -2px 0 0 #0064e0;
3834
+ }
3835
+ .rq-table__tr--focusable:focus-visible > .rq-table__td--pinned:first-child {
3836
+ box-shadow: inset 2px 0 0 0 #0064e0, inset 0 2px 0 0 #0064e0, inset 0 -2px 0 0 #0064e0, 2px 0 6px -1px rgba(4, 0, 69, 0.08);
3837
+ }
3838
+ .rq-table__tr--focusable:focus-visible > .rq-table__td:last-child {
3839
+ box-shadow: inset -2px 0 0 0 #0064e0, inset 0 2px 0 0 #0064e0, inset 0 -2px 0 0 #0064e0;
3840
+ }
3841
+ .rq-table__tr--focusable:focus-visible > .rq-table__td:first-child:last-child {
3842
+ box-shadow: inset 2px 0 0 0 #0064e0, inset -2px 0 0 0 #0064e0, inset 0 2px 0 0 #0064e0, inset 0 -2px 0 0 #0064e0;
3843
+ }
3844
+ .rq-table__tr--active.rq-table__tr--focusable:focus-visible > .rq-table__td:first-child {
3845
+ box-shadow: inset 4px 0 0 0 #0064e0, inset 2px 0 0 0 #0064e0, inset 0 2px 0 0 #0064e0, inset 0 -2px 0 0 #0064e0;
3846
+ }
3847
+ .rq-table__tr--active.rq-table__tr--focusable:focus-visible > .rq-table__td:first-child.rq-table__td--pinned {
3848
+ box-shadow: inset 4px 0 0 0 #0064e0, inset 2px 0 0 0 #0064e0, inset 0 2px 0 0 #0064e0, inset 0 -2px 0 0 #0064e0, 2px 0 6px -1px rgba(4, 0, 69, 0.08);
3849
+ }
3850
+ .rq-table__tr--active.rq-table__tr--focusable:focus-visible > .rq-table__td:first-child:last-child {
3851
+ box-shadow: inset 4px 0 0 0 #0064e0, inset 2px 0 0 0 #0064e0, inset -2px 0 0 0 #0064e0, inset 0 2px 0 0 #0064e0, inset 0 -2px 0 0 #0064e0;
3852
+ }
3590
3853
  .rq-table__th {
3591
3854
  height: 48px;
3592
3855
  padding: 4px 16px;