@incursa/ui-kit 0.3.6 → 0.4.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.
@@ -1,4 +1,4 @@
1
- @import "./inc-tokens";
1
+ @use "./inc-tokens" as *;
2
2
  @import "bootstrap/scss/bootstrap";
3
3
 
4
4
  // -----------------------------------------------------------------------------
@@ -2787,6 +2787,66 @@ dialog.inc-native-dialog.inc-native-dialog--drawer .inc-native-dialog__body {
2787
2787
  gap: 0.75rem;
2788
2788
  }
2789
2789
 
2790
+ .inc-auto-refresh {
2791
+ position: fixed;
2792
+ right: max(1rem, env(safe-area-inset-right, 0px) + 1rem);
2793
+ bottom: max(1rem, env(safe-area-inset-bottom, 0px) + 1rem);
2794
+ z-index: $inc-z-index-alerts - 1;
2795
+ display: inline-flex;
2796
+ align-items: center;
2797
+ gap: 0.625rem;
2798
+ padding: 0.5rem 0.75rem;
2799
+ border: 1px solid $inc-border-subtle;
2800
+ border-radius: 999px;
2801
+ background: rgba($inc-surface-primary, 0.96);
2802
+ color: $body-color;
2803
+ box-shadow: 0 0.75rem 1.5rem rgba($inc-surface-strong, 0.12);
2804
+ font-size: 0.75rem;
2805
+ line-height: 1.2;
2806
+ white-space: nowrap;
2807
+ backdrop-filter: blur(10px);
2808
+
2809
+ &--inline {
2810
+ position: static;
2811
+ right: auto;
2812
+ bottom: auto;
2813
+ z-index: auto;
2814
+ vertical-align: middle;
2815
+ }
2816
+
2817
+ &__countdown,
2818
+ &__status {
2819
+ display: inline-flex;
2820
+ align-items: center;
2821
+ gap: 0.5rem;
2822
+ min-height: 1rem;
2823
+ }
2824
+
2825
+ &__label,
2826
+ &__status-text {
2827
+ color: $text-muted;
2828
+ font-weight: 600;
2829
+ }
2830
+
2831
+ &__value {
2832
+ font-family: $font-family-monospace;
2833
+ font-variant-numeric: tabular-nums;
2834
+ font-weight: 600;
2835
+ color: $inc-surface-strong;
2836
+ }
2837
+
2838
+ &__spinner {
2839
+ display: inline-flex;
2840
+ align-items: center;
2841
+ color: $primary;
2842
+ }
2843
+
2844
+ &.is-loading {
2845
+ border-color: rgba($primary, 0.2);
2846
+ box-shadow: 0 0.9rem 1.75rem rgba($primary, 0.14);
2847
+ }
2848
+ }
2849
+
2790
2850
  .inc-progress,
2791
2851
  .inc-meter {
2792
2852
  width: 100%;