@regcheq/ui-vue-2 1.25.0 → 1.26.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
@@ -721,6 +721,162 @@
721
721
  .rq-button--custom-border, .rq-button--custom-border:hover:not(:disabled):not(.rq-button--disabled), .rq-button--custom-border:active:not(:disabled):not(.rq-button--disabled), .rq-button--custom-border:focus-visible {
722
722
  border-color: var(--rq-button-border);
723
723
  }
724
+ .rq-link {
725
+ display: inline;
726
+ margin: 0;
727
+ padding: 0;
728
+ border: none;
729
+ background: none;
730
+ color: #0064e0;
731
+ text-align: inherit;
732
+ text-decoration: none;
733
+ cursor: pointer;
734
+ border-radius: 2px;
735
+ transition: color 200ms ease;
736
+ }
737
+ .rq-link:hover:not(.rq-link--disabled) {
738
+ color: #00479f;
739
+ }
740
+ .rq-link:focus-visible {
741
+ outline: none;
742
+ box-shadow: 0 0 0 1px #0064e0;
743
+ }
744
+ .rq-link--underline-hover:hover:not(.rq-link--disabled) {
745
+ text-decoration: underline;
746
+ }
747
+ .rq-link--underline-always {
748
+ text-decoration: underline;
749
+ }
750
+ .rq-link--disabled {
751
+ opacity: 0.5;
752
+ cursor: not-allowed;
753
+ }
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
+ @keyframes rq-spinner-spin {
826
+ to {
827
+ transform: rotate(360deg);
828
+ }
829
+ }
830
+ .rq-spinner {
831
+ display: inline-block;
832
+ flex: none;
833
+ box-sizing: border-box;
834
+ border-style: solid;
835
+ border-color: #040045;
836
+ border-right-color: transparent;
837
+ border-radius: 50%;
838
+ animation: rq-spinner-spin 0.8s linear infinite;
839
+ }
840
+ .rq-spinner--sm {
841
+ width: 12px;
842
+ height: 12px;
843
+ border-width: 1px;
844
+ }
845
+ .rq-spinner--md {
846
+ width: 24px;
847
+ height: 24px;
848
+ border-width: 2px;
849
+ }
850
+ .rq-spinner--lg {
851
+ width: 32px;
852
+ height: 32px;
853
+ border-width: 2px;
854
+ }
855
+ .rq-spinner--xl {
856
+ width: 40px;
857
+ height: 40px;
858
+ border-width: 3px;
859
+ }
860
+ .rq-spinner--mirrored {
861
+ border-right-color: #040045;
862
+ border-left-color: transparent;
863
+ animation-direction: reverse;
864
+ }
865
+ @media (prefers-reduced-motion: reduce) {
866
+ .rq-spinner {
867
+ animation-duration: 2.4s;
868
+ }
869
+ }
870
+
871
+ .rq-spinner-box {
872
+ display: inline-flex;
873
+ align-items: center;
874
+ justify-content: center;
875
+ padding: 4px;
876
+ }
877
+ .rq-spinner-box--sm {
878
+ padding: 2px;
879
+ }
724
880
  .rq-checkbox {
725
881
  position: relative;
726
882
  display: inline-flex;
@@ -895,6 +1051,30 @@
895
1051
  outline: none;
896
1052
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease, color 200ms ease;
897
1053
  }
1054
+ .rq-badge--sm {
1055
+ height: 16px;
1056
+ padding: 0 8px;
1057
+ font-size: 12px;
1058
+ line-height: 16px;
1059
+ }
1060
+ .rq-badge--md {
1061
+ height: 20px;
1062
+ padding: 0 12px;
1063
+ font-size: 12px;
1064
+ line-height: 16px;
1065
+ }
1066
+ .rq-badge--lg {
1067
+ height: 24px;
1068
+ padding: 0 12px;
1069
+ font-size: 14px;
1070
+ line-height: 20px;
1071
+ }
1072
+ .rq-badge--xl {
1073
+ height: 32px;
1074
+ padding: 0 16px;
1075
+ font-size: 14px;
1076
+ line-height: 20px;
1077
+ }
898
1078
  .rq-badge--radius-md {
899
1079
  border-radius: 8px;
900
1080
  }
@@ -1245,8 +1425,8 @@
1245
1425
  user-select: none;
1246
1426
  }
1247
1427
  .rq-avatar--sm {
1248
- width: 20px;
1249
- height: 20px;
1428
+ width: 24px;
1429
+ height: 24px;
1250
1430
  font-size: 12px;
1251
1431
  }
1252
1432
  .rq-avatar--md {
@@ -1257,8 +1437,7 @@
1257
1437
  .rq-avatar--lg {
1258
1438
  width: 40px;
1259
1439
  height: 40px;
1260
- font-size: 12px;
1261
- letter-spacing: 1px;
1440
+ font-size: 20px;
1262
1441
  }
1263
1442
  .rq-avatar--default {
1264
1443
  background: #0064e0;
@@ -1758,6 +1937,10 @@
1758
1937
  .rq-tabs__tab--skeleton:hover {
1759
1938
  background: transparent;
1760
1939
  }
1940
+ .rq-tabs__tooltip {
1941
+ display: inline-flex;
1942
+ flex-shrink: 0;
1943
+ }
1761
1944
  .rq-tabs__tab-icon {
1762
1945
  flex-shrink: 0;
1763
1946
  color: currentColor;
@@ -1817,6 +2000,11 @@
1817
2000
  .rq-dropdown--right {
1818
2001
  right: 0;
1819
2002
  }
2003
+ .rq-dropdown--floating {
2004
+ position: fixed;
2005
+ z-index: 1051;
2006
+ min-width: 0;
2007
+ }
1820
2008
  .rq-dropdown__group {
1821
2009
  flex-shrink: 0;
1822
2010
  padding: 6px 8px;
@@ -1904,6 +2092,10 @@
1904
2092
  font-size: 14px;
1905
2093
  color: #52525b;
1906
2094
  }
2095
+
2096
+ .rq-dropdown-host {
2097
+ display: contents;
2098
+ }
1907
2099
  .rq-topbar {
1908
2100
  position: relative;
1909
2101
  display: inline-flex;
@@ -2092,6 +2284,11 @@
2092
2284
  border-radius: 999px;
2093
2285
  background: #00479f;
2094
2286
  }
2287
+ .rq-selection-bar__actions {
2288
+ display: flex;
2289
+ align-items: center;
2290
+ gap: 8px;
2291
+ }
2095
2292
  .rq-selection-bar__clear {
2096
2293
  background: none;
2097
2294
  border: none;
@@ -2419,6 +2616,17 @@
2419
2616
  padding: 24px;
2420
2617
  gap: 16px;
2421
2618
  }
2619
+ .rq-card--flat {
2620
+ box-shadow: none;
2621
+ }
2622
+ .rq-card--padding-default.rq-card--sm {
2623
+ padding: 8px 12px;
2624
+ gap: 8px;
2625
+ }
2626
+ .rq-card--padding-default.rq-card--lg {
2627
+ padding: 32px;
2628
+ gap: 24px;
2629
+ }
2422
2630
  .rq-card--padding-none {
2423
2631
  padding: 0;
2424
2632
  gap: 0;
@@ -2445,6 +2653,323 @@
2445
2653
  gap: 8px;
2446
2654
  flex: none;
2447
2655
  }
2656
+ .rq-timeline {
2657
+ display: flex;
2658
+ flex-direction: column;
2659
+ margin: 0;
2660
+ padding: 0;
2661
+ list-style: none;
2662
+ }
2663
+ .rq-timeline__item {
2664
+ position: relative;
2665
+ display: flex;
2666
+ gap: 12px;
2667
+ padding-bottom: 16px;
2668
+ }
2669
+ .rq-timeline__item:last-child {
2670
+ padding-bottom: 0;
2671
+ }
2672
+ .rq-timeline__marker {
2673
+ position: relative;
2674
+ display: flex;
2675
+ flex: none;
2676
+ justify-content: center;
2677
+ align-items: flex-start;
2678
+ width: 12px;
2679
+ padding-top: 12px;
2680
+ }
2681
+ .rq-timeline__item:not(:last-child) .rq-timeline__marker::before {
2682
+ content: "";
2683
+ position: absolute;
2684
+ top: 12px;
2685
+ bottom: calc(-1 * 16px - 12px);
2686
+ left: 50%;
2687
+ width: 1px;
2688
+ transform: translateX(-50%);
2689
+ background: #e4e4e7;
2690
+ }
2691
+ .rq-timeline__dot {
2692
+ position: relative;
2693
+ z-index: 1;
2694
+ display: block;
2695
+ flex: none;
2696
+ box-sizing: border-box;
2697
+ width: 12px;
2698
+ height: 12px;
2699
+ min-width: 12px;
2700
+ min-height: 12px;
2701
+ aspect-ratio: 1/1;
2702
+ border-radius: 50%;
2703
+ background: #a1a1aa;
2704
+ }
2705
+ .rq-timeline__dot--default {
2706
+ background: #a1a1aa;
2707
+ }
2708
+ .rq-timeline__dot--primary {
2709
+ background: #0064e0;
2710
+ }
2711
+ .rq-timeline__dot--brand {
2712
+ background: #040045;
2713
+ }
2714
+ .rq-timeline__dot--info {
2715
+ background: #009de5;
2716
+ }
2717
+ .rq-timeline__dot--success {
2718
+ background: #0eb97a;
2719
+ }
2720
+ .rq-timeline__dot--warning {
2721
+ background: #ffc402;
2722
+ }
2723
+ .rq-timeline__dot--error {
2724
+ background: #ff2414;
2725
+ }
2726
+ .rq-timeline__card {
2727
+ flex: 1 1 auto;
2728
+ min-width: 0;
2729
+ }
2730
+ .rq-avatar-group {
2731
+ display: inline-flex;
2732
+ align-items: center;
2733
+ }
2734
+ .rq-avatar-group .rq-avatar-group__item {
2735
+ position: relative;
2736
+ display: flex;
2737
+ z-index: 0;
2738
+ }
2739
+ .rq-avatar-group .rq-avatar-group__item:hover, .rq-avatar-group .rq-avatar-group__item:focus-within {
2740
+ z-index: 1;
2741
+ }
2742
+ .rq-avatar-group .rq-avatar-group__item .rq-avatar {
2743
+ box-shadow: 0 0 0 2px #ffffff;
2744
+ }
2745
+ .rq-avatar-group--sm .rq-avatar-group__item + .rq-avatar-group__item {
2746
+ margin-left: -8px;
2747
+ }
2748
+ .rq-avatar-group--md .rq-avatar-group__item + .rq-avatar-group__item {
2749
+ margin-left: -12px;
2750
+ }
2751
+ .rq-avatar-group--lg .rq-avatar-group__item + .rq-avatar-group__item {
2752
+ margin-left: -14px;
2753
+ }
2754
+ .rq-stepper {
2755
+ display: flex;
2756
+ box-sizing: border-box;
2757
+ width: 100%;
2758
+ margin: 0;
2759
+ padding: 0;
2760
+ list-style: none;
2761
+ font-family: "Inter", sans-serif;
2762
+ }
2763
+ .rq-stepper__step {
2764
+ display: flex;
2765
+ flex-direction: column;
2766
+ align-items: center;
2767
+ margin: 0;
2768
+ padding: 0;
2769
+ text-align: center;
2770
+ }
2771
+ .rq-stepper__track {
2772
+ display: flex;
2773
+ align-items: center;
2774
+ width: 100%;
2775
+ }
2776
+ .rq-stepper__circle {
2777
+ display: inline-flex;
2778
+ flex-shrink: 0;
2779
+ align-items: center;
2780
+ justify-content: center;
2781
+ box-sizing: border-box;
2782
+ border-radius: 999px;
2783
+ font-size: 12px;
2784
+ line-height: 16px;
2785
+ letter-spacing: 0;
2786
+ }
2787
+ .rq-stepper__label {
2788
+ letter-spacing: 1px;
2789
+ }
2790
+ .rq-stepper--progress {
2791
+ align-items: flex-start;
2792
+ padding: 16px;
2793
+ background: #ffffff;
2794
+ border: 1px solid #e4e4e7;
2795
+ border-radius: 8px;
2796
+ }
2797
+ .rq-stepper--progress .rq-stepper__step {
2798
+ flex: 1 1 0;
2799
+ gap: 8px;
2800
+ min-width: 0;
2801
+ }
2802
+ .rq-stepper--progress .rq-stepper__line {
2803
+ flex: 1 1 auto;
2804
+ height: 2px;
2805
+ background: #a1a1aa;
2806
+ }
2807
+ .rq-stepper--progress .rq-stepper__circle {
2808
+ width: 32px;
2809
+ height: 32px;
2810
+ background: #a1a1aa;
2811
+ color: #52525b;
2812
+ font-weight: 700;
2813
+ }
2814
+ .rq-stepper--progress .rq-stepper__label {
2815
+ font-size: 14px;
2816
+ line-height: 22px;
2817
+ font-weight: 400;
2818
+ color: #a1a1aa;
2819
+ }
2820
+ .rq-stepper--progress .rq-stepper__step--completed .rq-stepper__line--before,
2821
+ .rq-stepper--progress .rq-stepper__step--completed .rq-stepper__circle,
2822
+ .rq-stepper--progress .rq-stepper__step--current .rq-stepper__line--before,
2823
+ .rq-stepper--progress .rq-stepper__step--current .rq-stepper__circle {
2824
+ background: #07734c;
2825
+ }
2826
+ .rq-stepper--progress .rq-stepper__step--completed .rq-stepper__circle,
2827
+ .rq-stepper--progress .rq-stepper__step--current .rq-stepper__circle {
2828
+ color: #ffffff;
2829
+ }
2830
+ .rq-stepper--progress .rq-stepper__step--completed .rq-stepper__label,
2831
+ .rq-stepper--progress .rq-stepper__step--current .rq-stepper__label {
2832
+ color: #18181b;
2833
+ }
2834
+ .rq-stepper--progress .rq-stepper__step--completed .rq-stepper__line--after {
2835
+ background: #07734c;
2836
+ }
2837
+ .rq-stepper--row {
2838
+ align-items: stretch;
2839
+ justify-content: space-between;
2840
+ padding: 8px 0;
2841
+ }
2842
+ .rq-stepper--row .rq-stepper__step {
2843
+ flex: 0 1 auto;
2844
+ gap: 12px;
2845
+ min-width: 0;
2846
+ }
2847
+ .rq-stepper--row .rq-stepper__track {
2848
+ justify-content: center;
2849
+ }
2850
+ .rq-stepper--row .rq-stepper__circle {
2851
+ width: 40px;
2852
+ height: 40px;
2853
+ background: #ffffff;
2854
+ border: 1.5px solid #f4f4f5;
2855
+ color: #71717a;
2856
+ font-weight: 400;
2857
+ }
2858
+ .rq-stepper--row .rq-stepper__label {
2859
+ font-size: 16px;
2860
+ line-height: 24px;
2861
+ font-weight: 500;
2862
+ color: #71717a;
2863
+ }
2864
+ .rq-stepper--row .rq-stepper__step--current .rq-stepper__circle,
2865
+ .rq-stepper--row .rq-stepper__step--completed .rq-stepper__circle {
2866
+ background: #040045;
2867
+ border-color: #040045;
2868
+ color: #ffffff;
2869
+ font-weight: 600;
2870
+ }
2871
+ .rq-stepper--row .rq-stepper__step--current .rq-stepper__label {
2872
+ font-weight: 700;
2873
+ color: #040045;
2874
+ }
2875
+ .rq-stepper--row .rq-stepper__step--completed .rq-stepper__label {
2876
+ color: #18181b;
2877
+ }
2878
+ .rq-stepper--row .rq-stepper__connector {
2879
+ display: flex;
2880
+ flex: 1 1 0;
2881
+ align-items: center;
2882
+ justify-content: center;
2883
+ min-width: 16px;
2884
+ margin: 0;
2885
+ padding: 2px 0;
2886
+ }
2887
+ .rq-stepper--row .rq-stepper__connector::before {
2888
+ content: "";
2889
+ width: 100%;
2890
+ max-width: 120px;
2891
+ height: 2px;
2892
+ background: #f4f4f5;
2893
+ }
2894
+ .rq-stepper--row .rq-stepper__connector--filled::before {
2895
+ background: #040045;
2896
+ }
2897
+ .rq-file-input {
2898
+ display: inline-flex;
2899
+ }
2900
+ .rq-file-input__native {
2901
+ position: absolute;
2902
+ width: 1px;
2903
+ height: 1px;
2904
+ margin: -1px;
2905
+ padding: 0;
2906
+ overflow: hidden;
2907
+ clip: rect(0 0 0 0);
2908
+ border: 0;
2909
+ }
2910
+ .rq-file-list {
2911
+ display: flex;
2912
+ flex-direction: column;
2913
+ gap: 8px;
2914
+ margin: 0;
2915
+ padding: 0 8px 0 0;
2916
+ list-style: none;
2917
+ overflow-y: auto;
2918
+ overscroll-behavior: contain;
2919
+ }
2920
+ .rq-file-list::-webkit-scrollbar {
2921
+ width: 6px;
2922
+ }
2923
+ .rq-file-list::-webkit-scrollbar-track {
2924
+ background: transparent;
2925
+ }
2926
+ .rq-file-list::-webkit-scrollbar-thumb {
2927
+ background: #e4e4e7;
2928
+ border-radius: 999px;
2929
+ }
2930
+ .rq-file-list__item {
2931
+ flex: none;
2932
+ }
2933
+ .rq-file-list__card.rq-card--sm {
2934
+ padding: 12px 16px;
2935
+ }
2936
+ .rq-file-list__row {
2937
+ display: flex;
2938
+ align-items: center;
2939
+ gap: 12px;
2940
+ min-width: 0;
2941
+ }
2942
+ .rq-file-list__icon {
2943
+ flex: none;
2944
+ color: #52525b;
2945
+ }
2946
+ .rq-file-list__text {
2947
+ display: flex;
2948
+ flex: 1 1 auto;
2949
+ flex-direction: column;
2950
+ min-width: 0;
2951
+ font-family: "Inter", sans-serif;
2952
+ }
2953
+ .rq-file-list__name {
2954
+ overflow: hidden;
2955
+ text-overflow: ellipsis;
2956
+ white-space: nowrap;
2957
+ font-size: 14px;
2958
+ line-height: 22px;
2959
+ letter-spacing: 1px;
2960
+ color: #18181b;
2961
+ }
2962
+ .rq-file-list__size {
2963
+ font-size: 12px;
2964
+ line-height: 16px;
2965
+ color: #52525b;
2966
+ }
2967
+ .rq-file-list__actions {
2968
+ display: flex;
2969
+ flex: none;
2970
+ align-items: center;
2971
+ gap: 4px;
2972
+ }
2448
2973
  .rq-kpi {
2449
2974
  box-sizing: border-box;
2450
2975
  display: flex;
@@ -3053,6 +3578,9 @@ td[data-v-6ca52014],th[data-v-6ca52014]{padding:2px;background-color:#fff}td.tod
3053
3578
  .rq-table__tr--body:active {
3054
3579
  background: #f4f4f5;
3055
3580
  }
3581
+ .rq-table__tr--selected {
3582
+ background: #e6f0fc;
3583
+ }
3056
3584
  .rq-table__tr--skeleton {
3057
3585
  cursor: default;
3058
3586
  }
@@ -3325,6 +3853,9 @@ td[data-v-6ca52014],th[data-v-6ca52014]{padding:2px;background-color:#fff}td.tod
3325
3853
  gap: 8px;
3326
3854
  margin-left: auto;
3327
3855
  }
3856
+ .rq-data-table__top-content {
3857
+ width: 100%;
3858
+ }
3328
3859
  .rq-data-table__selection-slot {
3329
3860
  min-height: 60px;
3330
3861
  }
@@ -3846,10 +4377,21 @@ td[data-v-6ca52014],th[data-v-6ca52014]{padding:2px;background-color:#fff}td.tod
3846
4377
  transition-timing-function: ease-out;
3847
4378
  }
3848
4379
  .rq-drawer__header {
4380
+ display: flex;
4381
+ align-items: flex-start;
4382
+ gap: 16px;
4383
+ flex-shrink: 0;
4384
+ }
4385
+ .rq-drawer__heading {
3849
4386
  display: flex;
3850
4387
  flex-direction: column;
3851
4388
  gap: 4px;
4389
+ flex: 1 1 auto;
4390
+ min-width: 0;
4391
+ }
4392
+ .rq-drawer__close {
3852
4393
  flex-shrink: 0;
4394
+ margin-left: auto;
3853
4395
  }
3854
4396
  .rq-drawer__title {
3855
4397
  font-family: "Inter", sans-serif;