@fileverse/ui 4.1.1-patch-6 → 4.1.1-patch-7

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
@@ -993,6 +993,9 @@ video {
993
993
  .pointer-events-none {
994
994
  pointer-events: none;
995
995
  }
996
+ .pointer-events-auto {
997
+ pointer-events: auto;
998
+ }
996
999
  .visible {
997
1000
  visibility: visible;
998
1001
  }
@@ -1091,6 +1094,9 @@ video {
1091
1094
  .top-1\/2 {
1092
1095
  top: 50%;
1093
1096
  }
1097
+ .top-2 {
1098
+ top: 0.5rem;
1099
+ }
1094
1100
  .top-3 {
1095
1101
  top: 0.75rem;
1096
1102
  }
@@ -1109,6 +1115,9 @@ video {
1109
1115
  .z-50 {
1110
1116
  z-index: 50;
1111
1117
  }
1118
+ .z-\[100\] {
1119
+ z-index: 100;
1120
+ }
1112
1121
  .z-\[999\] {
1113
1122
  z-index: 999;
1114
1123
  }
@@ -1312,6 +1321,9 @@ video {
1312
1321
  .max-h-\[300px\] {
1313
1322
  max-height: 300px;
1314
1323
  }
1324
+ .max-h-screen {
1325
+ max-height: 100vh;
1326
+ }
1315
1327
  .\!min-h-12 {
1316
1328
  min-height: 3rem !important;
1317
1329
  }
@@ -1747,6 +1759,11 @@ video {
1747
1759
  margin-right: calc(0.5rem * var(--tw-space-x-reverse));
1748
1760
  margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
1749
1761
  }
1762
+ .space-x-4 > :not([hidden]) ~ :not([hidden]) {
1763
+ --tw-space-x-reverse: 0;
1764
+ margin-right: calc(1rem * var(--tw-space-x-reverse));
1765
+ margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
1766
+ }
1750
1767
  .space-y-1\.5 > :not([hidden]) ~ :not([hidden]) {
1751
1768
  --tw-space-y-reverse: 0;
1752
1769
  margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse)));
@@ -2127,6 +2144,9 @@ video {
2127
2144
  .opacity-50 {
2128
2145
  opacity: 0.5;
2129
2146
  }
2147
+ .opacity-90 {
2148
+ opacity: 0.9;
2149
+ }
2130
2150
  .shadow {
2131
2151
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
2132
2152
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
@@ -2167,6 +2187,9 @@ video {
2167
2187
  .ring-offset-2 {
2168
2188
  --tw-ring-offset-width: 2px;
2169
2189
  }
2190
+ .ring-offset-transparent {
2191
+ --tw-ring-offset-color: transparent;
2192
+ }
2170
2193
  .ring-offset-white {
2171
2194
  --tw-ring-offset-color: #fff;
2172
2195
  }
@@ -2439,6 +2462,86 @@ textarea:is(:-webkit-autofill, :autofill) {
2439
2462
  border-color: hsl(var(--color-border-disabled));
2440
2463
  }
2441
2464
 
2465
+ .group.secondary .group-\[\.secondary\]\:color-text-default {
2466
+ color: hsl(var(--color-text-default));
2467
+ }
2468
+
2469
+ .group.danger .group-\[\.danger\]\:color-text-danger {
2470
+ color: hsl(var(--color-text-danger));
2471
+ }
2472
+
2473
+ .group.success .group-\[\.success\]\:color-text-success {
2474
+ color: hsl(var(--color-text-success));
2475
+ }
2476
+
2477
+ .group.default .group-\[\.default\]\:color-text-inverse {
2478
+ color: hsl(var(--color-text-inverse));
2479
+ }
2480
+
2481
+ .group.secondary .group-\[\.secondary\]\:color-bg-secondary {
2482
+ background-color: hsl(var(--color-bg-secondary));
2483
+ }
2484
+
2485
+ .group.danger .group-\[\.danger\]\:color-bg-danger-light {
2486
+ background-color: hsl(var(--color-bg-danger-light));
2487
+ }
2488
+
2489
+ .group.success .group-\[\.success\]\:color-bg-success-light {
2490
+ background-color: hsl(var(--color-bg-success-light));
2491
+ }
2492
+
2493
+ .group.default .group-\[\.default\]\:color-bg-default-inverse {
2494
+ background-color: hsl(var(--color-bg-default-inverse));
2495
+ }
2496
+
2497
+ .group.default .group-\[\.default\]\:color-border-default {
2498
+ border-color: hsl(var(--color-border-default));
2499
+ }
2500
+
2501
+ .group.secondary .group-\[\.secondary\]\:color-border-hover {
2502
+ border-color: hsl(var(--color-border-hover));
2503
+ }
2504
+
2505
+ .group.success .group-\[\.success\]\:color-border-hover {
2506
+ border-color: hsl(var(--color-border-hover));
2507
+ }
2508
+
2509
+ .group.danger .group-\[\.danger\]\:color-border-danger {
2510
+ border-color: hsl(var(--color-border-danger));
2511
+ }
2512
+
2513
+ .group.secondary .group-\[\.secondary\]\:hover\:color-text-default:hover {
2514
+ color: hsl(var(--color-text-default));
2515
+ }
2516
+
2517
+ .group.danger .group-\[\.danger\]\:hover\:color-text-danger:hover {
2518
+ color: hsl(var(--color-text-danger));
2519
+ }
2520
+
2521
+ .group.success .group-\[\.success\]\:hover\:color-text-success:hover {
2522
+ color: hsl(var(--color-text-success));
2523
+ }
2524
+
2525
+ .group.default .group-\[\.default\]\:hover\:color-text-inverse:hover {
2526
+ color: hsl(var(--color-text-inverse));
2527
+ }
2528
+
2529
+ .group.secondary .group-\[\.secondary\]\:hover\:color-bg-secondary:hover {
2530
+ background-color: hsl(var(--color-bg-secondary));
2531
+ }
2532
+
2533
+ .group.danger .group-\[\.danger\]\:hover\:color-bg-danger-light:hover {
2534
+ background-color: hsl(var(--color-bg-danger-light));
2535
+ }
2536
+
2537
+ .group.success .group-\[\.success\]\:hover\:color-bg-success-light:hover {
2538
+ background-color: hsl(var(--color-bg-success-light));
2539
+ }
2540
+
2541
+ .group.default .group-\[\.default\]\:hover\:color-bg-default-inverse:hover {
2542
+ background-color: hsl(var(--color-bg-default-inverse));
2543
+ }
2544
+
2442
2545
  .aria-selected\:color-text-default[aria-selected="true"] {
2443
2546
  color: hsl(var(--color-text-default));
2444
2547
  }
@@ -2565,6 +2668,10 @@ textarea:is(:-webkit-autofill, :autofill) {
2565
2668
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
2566
2669
  }
2567
2670
 
2671
+ .focus\:opacity-100:focus {
2672
+ opacity: 1;
2673
+ }
2674
+
2568
2675
  .focus\:shadow-none:focus {
2569
2676
  --tw-shadow: 0 0 #0000;
2570
2677
  --tw-shadow-colored: 0 0 #0000;
@@ -2645,6 +2752,11 @@ textarea:is(:-webkit-autofill, :autofill) {
2645
2752
  opacity: 1;
2646
2753
  }
2647
2754
 
2755
+ .group:hover .group-hover\:brightness-95 {
2756
+ --tw-brightness: brightness(.95);
2757
+ filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
2758
+ }
2759
+
2648
2760
  .peer:checked ~ .peer-checked\:block {
2649
2761
  display: block;
2650
2762
  }
@@ -2691,6 +2803,36 @@ textarea:is(:-webkit-autofill, :autofill) {
2691
2803
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
2692
2804
  }
2693
2805
 
2806
+ .data-\[swipe\=cancel\]\:translate-x-0[data-swipe=cancel] {
2807
+ --tw-translate-x: 0px;
2808
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
2809
+ }
2810
+
2811
+ .data-\[swipe\=cancel\]\:translate-y-0[data-swipe=cancel] {
2812
+ --tw-translate-y: 0px;
2813
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
2814
+ }
2815
+
2816
+ .data-\[swipe\=end\]\:translate-x-\[var\(--radix-toast-swipe-end-x\)\][data-swipe=end] {
2817
+ --tw-translate-x: var(--radix-toast-swipe-end-x);
2818
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
2819
+ }
2820
+
2821
+ .data-\[swipe\=end\]\:translate-y-\[var\(--radix-toast-swipe-end-y\)\][data-swipe=end] {
2822
+ --tw-translate-y: var(--radix-toast-swipe-end-y);
2823
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
2824
+ }
2825
+
2826
+ .data-\[swipe\=move\]\:translate-x-\[var\(--radix-toast-swipe-move-x\)\][data-swipe=move] {
2827
+ --tw-translate-x: var(--radix-toast-swipe-move-x);
2828
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
2829
+ }
2830
+
2831
+ .data-\[swipe\=move\]\:translate-y-\[var\(--radix-toast-swipe-move-y\)\][data-swipe=move] {
2832
+ --tw-translate-y: var(--radix-toast-swipe-move-y);
2833
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
2834
+ }
2835
+
2694
2836
  @keyframes accordion-up {
2695
2837
 
2696
2838
  from {
@@ -2737,6 +2879,10 @@ textarea:is(:-webkit-autofill, :autofill) {
2737
2879
  opacity: 0.5;
2738
2880
  }
2739
2881
 
2882
+ .data-\[swipe\=move\]\:transition-none[data-swipe=move] {
2883
+ transition-property: none;
2884
+ }
2885
+
2740
2886
  .data-\[state\=closed\]\:duration-300[data-state=closed] {
2741
2887
  transition-duration: 300ms;
2742
2888
  }
@@ -2765,10 +2911,24 @@ textarea:is(:-webkit-autofill, :autofill) {
2765
2911
  --tw-exit-translate-y: initial;
2766
2912
  }
2767
2913
 
2914
+ .data-\[swipe\=end\]\:animate-out[data-swipe=end] {
2915
+ animation-name: exit;
2916
+ animation-duration: 150ms;
2917
+ --tw-exit-opacity: initial;
2918
+ --tw-exit-scale: initial;
2919
+ --tw-exit-rotate: initial;
2920
+ --tw-exit-translate-x: initial;
2921
+ --tw-exit-translate-y: initial;
2922
+ }
2923
+
2768
2924
  .data-\[state\=closed\]\:fade-out-0[data-state=closed] {
2769
2925
  --tw-exit-opacity: 0;
2770
2926
  }
2771
2927
 
2928
+ .data-\[state\=closed\]\:fade-out-80[data-state=closed] {
2929
+ --tw-exit-opacity: 0.8;
2930
+ }
2931
+
2772
2932
  .data-\[state\=open\]\:fade-in-0[data-state=open] {
2773
2933
  --tw-enter-opacity: 0;
2774
2934
  }
@@ -2801,6 +2961,10 @@ textarea:is(:-webkit-autofill, :autofill) {
2801
2961
  --tw-exit-translate-y: 100%;
2802
2962
  }
2803
2963
 
2964
+ .data-\[state\=closed\]\:slide-out-to-bottom-full[data-state=closed] {
2965
+ --tw-exit-translate-y: 100%;
2966
+ }
2967
+
2804
2968
  .data-\[state\=closed\]\:slide-out-to-left[data-state=closed] {
2805
2969
  --tw-exit-translate-x: -100%;
2806
2970
  }
@@ -2809,10 +2973,18 @@ textarea:is(:-webkit-autofill, :autofill) {
2809
2973
  --tw-exit-translate-x: -50%;
2810
2974
  }
2811
2975
 
2976
+ .data-\[state\=closed\]\:slide-out-to-left-full[data-state=closed] {
2977
+ --tw-exit-translate-x: -100%;
2978
+ }
2979
+
2812
2980
  .data-\[state\=closed\]\:slide-out-to-right[data-state=closed] {
2813
2981
  --tw-exit-translate-x: 100%;
2814
2982
  }
2815
2983
 
2984
+ .data-\[state\=closed\]\:slide-out-to-right-full[data-state=closed] {
2985
+ --tw-exit-translate-x: 100%;
2986
+ }
2987
+
2816
2988
  .data-\[state\=closed\]\:slide-out-to-top[data-state=closed] {
2817
2989
  --tw-exit-translate-y: -100%;
2818
2990
  }
@@ -2821,10 +2993,18 @@ textarea:is(:-webkit-autofill, :autofill) {
2821
2993
  --tw-exit-translate-y: -48%;
2822
2994
  }
2823
2995
 
2996
+ .data-\[state\=closed\]\:slide-out-to-top-full[data-state=closed] {
2997
+ --tw-exit-translate-y: -100%;
2998
+ }
2999
+
2824
3000
  .data-\[state\=open\]\:slide-in-from-bottom[data-state=open] {
2825
3001
  --tw-enter-translate-y: 100%;
2826
3002
  }
2827
3003
 
3004
+ .data-\[state\=open\]\:slide-in-from-bottom-full[data-state=open] {
3005
+ --tw-enter-translate-y: 100%;
3006
+ }
3007
+
2828
3008
  .data-\[state\=open\]\:slide-in-from-left[data-state=open] {
2829
3009
  --tw-enter-translate-x: -100%;
2830
3010
  }
@@ -2845,6 +3025,10 @@ textarea:is(:-webkit-autofill, :autofill) {
2845
3025
  --tw-enter-translate-y: -48%;
2846
3026
  }
2847
3027
 
3028
+ .data-\[state\=open\]\:slide-in-from-top-full[data-state=open] {
3029
+ --tw-enter-translate-y: -100%;
3030
+ }
3031
+
2848
3032
  .data-\[state\=closed\]\:duration-300[data-state=closed] {
2849
3033
  animation-duration: 300ms;
2850
3034
  }
@@ -2872,6 +3056,10 @@ textarea:is(:-webkit-autofill, :autofill) {
2872
3056
  flex-direction: row;
2873
3057
  }
2874
3058
 
3059
+ .sm\:flex-col {
3060
+ flex-direction: column;
3061
+ }
3062
+
2875
3063
  .sm\:justify-end {
2876
3064
  justify-content: flex-end;
2877
3065
  }
@@ -2905,6 +3093,10 @@ textarea:is(:-webkit-autofill, :autofill) {
2905
3093
  width: auto;
2906
3094
  }
2907
3095
 
3096
+ .md\:max-w-\[420px\] {
3097
+ max-width: 420px;
3098
+ }
3099
+
2908
3100
  .md\:grid-cols-2 {
2909
3101
  grid-template-columns: repeat(2, minmax(0, 1fr));
2910
3102
  }
@@ -21,6 +21,7 @@ import * as SelectPrimitive from '@radix-ui/react-select';
21
21
  import { SetStateAction } from 'react';
22
22
  import * as SwitchPrimitives from '@radix-ui/react-switch';
23
23
  import * as TabsPrimitive from '@radix-ui/react-tabs';
24
+ import * as ToastPrimitives from '@radix-ui/react-toast';
24
25
  import { VariantProps } from 'class-variance-authority';
25
26
 
26
27
  export declare const Accordion: React_2.ForwardRefExoticComponent<(Omit<AccordionPrimitive.AccordionSingleProps & React_2.RefAttributes<HTMLDivElement>, "ref"> | Omit<AccordionPrimitive.AccordionMultipleProps & React_2.RefAttributes<HTMLDivElement>, "ref">) & React_2.RefAttributes<HTMLDivElement>>;
@@ -778,6 +779,53 @@ export declare interface TextFieldProps extends React_2.InputHTMLAttributes<HTML
778
779
  onChange?: (e: React_2.ChangeEvent<HTMLInputElement>) => void;
779
780
  }
780
781
 
782
+ export declare const Toast: React_2.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React_2.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
783
+ variant?: "default" | "danger" | "secondary" | "success" | null | undefined;
784
+ position?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | "center-top" | "center-bottom" | null | undefined;
785
+ } & ClassProp) | undefined) => string> & {
786
+ position?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | "center-top" | "center-bottom";
787
+ } & React_2.RefAttributes<HTMLLIElement>>;
788
+
789
+ export declare function toast({ ...props }: Toast_2): {
790
+ id: string;
791
+ dismiss: () => void;
792
+ update: (props: ToasterToast) => void;
793
+ };
794
+
795
+ declare type Toast_2 = Omit<ToasterToast, "id">;
796
+
797
+ export declare const ToastAction: React_2.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
798
+
799
+ export declare type ToastActionElement = React_2.ReactElement<typeof ToastAction>;
800
+
801
+ export declare const ToastClose: React_2.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
802
+
803
+ export declare const ToastDescription: React_2.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastDescriptionProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
804
+
805
+ export declare const Toaster: ({ position, icon }: ToasterProps) => JSX_2.Element;
806
+
807
+ export declare interface ToasterProps {
808
+ position?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | "center-top" | "center-bottom";
809
+ icon?: keyof typeof UltimateIcons | string;
810
+ }
811
+
812
+ declare type ToasterToast = ToastProps & {
813
+ id: string;
814
+ title?: React_2.ReactNode;
815
+ description?: React_2.ReactNode;
816
+ action?: ToastActionElement;
817
+ };
818
+
819
+ export declare type ToastProps = React_2.ComponentPropsWithoutRef<typeof Toast>;
820
+
821
+ export declare const ToastProvider: React_2.FC<ToastPrimitives.ToastProviderProps>;
822
+
823
+ export declare const ToastTitle: React_2.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
824
+
825
+ export declare const ToastViewport: React_2.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React_2.RefAttributes<HTMLOListElement>, "ref"> & {
826
+ position?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | "center-top" | "center-bottom";
827
+ } & React_2.RefAttributes<HTMLOListElement>>;
828
+
781
829
  export declare const Toggle: React_2.ForwardRefExoticComponent<ToggleProps & React_2.RefAttributes<HTMLButtonElement>>;
782
830
 
783
831
  export declare interface ToggleProps extends React_2.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root>, VariantProps<typeof toggleVariants> {
@@ -822,4 +870,10 @@ export declare function useSortableData(initialData: TableDataProps[], defaultSo
822
870
  sortData: (keyName: string) => void;
823
871
  };
824
872
 
873
+ export declare function useToast(): {
874
+ toast: typeof toast;
875
+ dismiss: (toastId?: string) => void;
876
+ toasts: ToasterToast[];
877
+ };
878
+
825
879
  export { }