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

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
  }
@@ -1046,6 +1049,9 @@ video {
1046
1049
  .bottom-0 {
1047
1050
  bottom: 0px;
1048
1051
  }
1052
+ .bottom-2 {
1053
+ bottom: 0.5rem;
1054
+ }
1049
1055
  .bottom-5 {
1050
1056
  bottom: 1.25rem;
1051
1057
  }
@@ -1091,6 +1097,9 @@ video {
1091
1097
  .top-1\/2 {
1092
1098
  top: 50%;
1093
1099
  }
1100
+ .top-2 {
1101
+ top: 0.5rem;
1102
+ }
1094
1103
  .top-3 {
1095
1104
  top: 0.75rem;
1096
1105
  }
@@ -1109,6 +1118,9 @@ video {
1109
1118
  .z-50 {
1110
1119
  z-index: 50;
1111
1120
  }
1121
+ .z-\[100\] {
1122
+ z-index: 100;
1123
+ }
1112
1124
  .z-\[999\] {
1113
1125
  z-index: 999;
1114
1126
  }
@@ -1227,6 +1239,9 @@ video {
1227
1239
  .\!h-auto {
1228
1240
  height: auto !important;
1229
1241
  }
1242
+ .h-1 {
1243
+ height: 0.25rem;
1244
+ }
1230
1245
  .h-10 {
1231
1246
  height: 2.5rem;
1232
1247
  }
@@ -1312,6 +1327,9 @@ video {
1312
1327
  .max-h-\[300px\] {
1313
1328
  max-height: 300px;
1314
1329
  }
1330
+ .max-h-screen {
1331
+ max-height: 100vh;
1332
+ }
1315
1333
  .\!min-h-12 {
1316
1334
  min-height: 3rem !important;
1317
1335
  }
@@ -1463,6 +1481,9 @@ video {
1463
1481
  .min-w-4 {
1464
1482
  min-width: 1rem;
1465
1483
  }
1484
+ .min-w-5 {
1485
+ min-width: 1.25rem;
1486
+ }
1466
1487
  .min-w-9 {
1467
1488
  min-width: 2.25rem;
1468
1489
  }
@@ -1747,6 +1768,11 @@ video {
1747
1768
  margin-right: calc(0.5rem * var(--tw-space-x-reverse));
1748
1769
  margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
1749
1770
  }
1771
+ .space-x-4 > :not([hidden]) ~ :not([hidden]) {
1772
+ --tw-space-x-reverse: 0;
1773
+ margin-right: calc(1rem * var(--tw-space-x-reverse));
1774
+ margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
1775
+ }
1750
1776
  .space-y-1\.5 > :not([hidden]) ~ :not([hidden]) {
1751
1777
  --tw-space-y-reverse: 0;
1752
1778
  margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse)));
@@ -1900,6 +1926,10 @@ video {
1900
1926
  .\!bg-transparent {
1901
1927
  background-color: transparent !important;
1902
1928
  }
1929
+ .bg-green-700 {
1930
+ --tw-bg-opacity: 1;
1931
+ background-color: rgb(21 128 61 / var(--tw-bg-opacity));
1932
+ }
1903
1933
  .bg-inherit {
1904
1934
  background-color: inherit;
1905
1935
  }
@@ -2127,6 +2157,9 @@ video {
2127
2157
  .opacity-50 {
2128
2158
  opacity: 0.5;
2129
2159
  }
2160
+ .opacity-90 {
2161
+ opacity: 0.9;
2162
+ }
2130
2163
  .shadow {
2131
2164
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
2132
2165
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
@@ -2167,6 +2200,9 @@ video {
2167
2200
  .ring-offset-2 {
2168
2201
  --tw-ring-offset-width: 2px;
2169
2202
  }
2203
+ .ring-offset-transparent {
2204
+ --tw-ring-offset-color: transparent;
2205
+ }
2170
2206
  .ring-offset-white {
2171
2207
  --tw-ring-offset-color: #fff;
2172
2208
  }
@@ -2439,6 +2475,86 @@ textarea:is(:-webkit-autofill, :autofill) {
2439
2475
  border-color: hsl(var(--color-border-disabled));
2440
2476
  }
2441
2477
 
2478
+ .group.secondary .group-\[\.secondary\]\:color-text-default {
2479
+ color: hsl(var(--color-text-default));
2480
+ }
2481
+
2482
+ .group.danger .group-\[\.danger\]\:color-text-danger {
2483
+ color: hsl(var(--color-text-danger));
2484
+ }
2485
+
2486
+ .group.success .group-\[\.success\]\:color-text-success {
2487
+ color: hsl(var(--color-text-success));
2488
+ }
2489
+
2490
+ .group.default .group-\[\.default\]\:color-text-inverse {
2491
+ color: hsl(var(--color-text-inverse));
2492
+ }
2493
+
2494
+ .group.secondary .group-\[\.secondary\]\:color-bg-secondary {
2495
+ background-color: hsl(var(--color-bg-secondary));
2496
+ }
2497
+
2498
+ .group.danger .group-\[\.danger\]\:color-bg-danger-light {
2499
+ background-color: hsl(var(--color-bg-danger-light));
2500
+ }
2501
+
2502
+ .group.success .group-\[\.success\]\:color-bg-success-light {
2503
+ background-color: hsl(var(--color-bg-success-light));
2504
+ }
2505
+
2506
+ .group.default .group-\[\.default\]\:color-bg-default-inverse {
2507
+ background-color: hsl(var(--color-bg-default-inverse));
2508
+ }
2509
+
2510
+ .group.default .group-\[\.default\]\:color-border-default {
2511
+ border-color: hsl(var(--color-border-default));
2512
+ }
2513
+
2514
+ .group.secondary .group-\[\.secondary\]\:color-border-hover {
2515
+ border-color: hsl(var(--color-border-hover));
2516
+ }
2517
+
2518
+ .group.success .group-\[\.success\]\:color-border-hover {
2519
+ border-color: hsl(var(--color-border-hover));
2520
+ }
2521
+
2522
+ .group.danger .group-\[\.danger\]\:color-border-danger {
2523
+ border-color: hsl(var(--color-border-danger));
2524
+ }
2525
+
2526
+ .group.secondary .group-\[\.secondary\]\:hover\:color-text-default:hover {
2527
+ color: hsl(var(--color-text-default));
2528
+ }
2529
+
2530
+ .group.danger .group-\[\.danger\]\:hover\:color-text-danger:hover {
2531
+ color: hsl(var(--color-text-danger));
2532
+ }
2533
+
2534
+ .group.success .group-\[\.success\]\:hover\:color-text-success:hover {
2535
+ color: hsl(var(--color-text-success));
2536
+ }
2537
+
2538
+ .group.default .group-\[\.default\]\:hover\:color-text-inverse:hover {
2539
+ color: hsl(var(--color-text-inverse));
2540
+ }
2541
+
2542
+ .group.secondary .group-\[\.secondary\]\:hover\:color-bg-secondary:hover {
2543
+ background-color: hsl(var(--color-bg-secondary));
2544
+ }
2545
+
2546
+ .group.danger .group-\[\.danger\]\:hover\:color-bg-danger-light:hover {
2547
+ background-color: hsl(var(--color-bg-danger-light));
2548
+ }
2549
+
2550
+ .group.success .group-\[\.success\]\:hover\:color-bg-success-light:hover {
2551
+ background-color: hsl(var(--color-bg-success-light));
2552
+ }
2553
+
2554
+ .group.default .group-\[\.default\]\:hover\:color-bg-default-inverse:hover {
2555
+ background-color: hsl(var(--color-bg-default-inverse));
2556
+ }
2557
+
2442
2558
  .aria-selected\:color-text-default[aria-selected="true"] {
2443
2559
  color: hsl(var(--color-text-default));
2444
2560
  }
@@ -2565,6 +2681,10 @@ textarea:is(:-webkit-autofill, :autofill) {
2565
2681
  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
2682
  }
2567
2683
 
2684
+ .focus\:opacity-100:focus {
2685
+ opacity: 1;
2686
+ }
2687
+
2568
2688
  .focus\:shadow-none:focus {
2569
2689
  --tw-shadow: 0 0 #0000;
2570
2690
  --tw-shadow-colored: 0 0 #0000;
@@ -2645,6 +2765,11 @@ textarea:is(:-webkit-autofill, :autofill) {
2645
2765
  opacity: 1;
2646
2766
  }
2647
2767
 
2768
+ .group:hover .group-hover\:brightness-95 {
2769
+ --tw-brightness: brightness(.95);
2770
+ 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);
2771
+ }
2772
+
2648
2773
  .peer:checked ~ .peer-checked\:block {
2649
2774
  display: block;
2650
2775
  }
@@ -2691,6 +2816,36 @@ textarea:is(:-webkit-autofill, :autofill) {
2691
2816
  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
2817
  }
2693
2818
 
2819
+ .data-\[swipe\=cancel\]\:translate-x-0[data-swipe=cancel] {
2820
+ --tw-translate-x: 0px;
2821
+ 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));
2822
+ }
2823
+
2824
+ .data-\[swipe\=cancel\]\:translate-y-0[data-swipe=cancel] {
2825
+ --tw-translate-y: 0px;
2826
+ 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));
2827
+ }
2828
+
2829
+ .data-\[swipe\=end\]\:translate-x-\[var\(--radix-toast-swipe-end-x\)\][data-swipe=end] {
2830
+ --tw-translate-x: var(--radix-toast-swipe-end-x);
2831
+ 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));
2832
+ }
2833
+
2834
+ .data-\[swipe\=end\]\:translate-y-\[var\(--radix-toast-swipe-end-y\)\][data-swipe=end] {
2835
+ --tw-translate-y: var(--radix-toast-swipe-end-y);
2836
+ 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));
2837
+ }
2838
+
2839
+ .data-\[swipe\=move\]\:translate-x-\[var\(--radix-toast-swipe-move-x\)\][data-swipe=move] {
2840
+ --tw-translate-x: var(--radix-toast-swipe-move-x);
2841
+ 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));
2842
+ }
2843
+
2844
+ .data-\[swipe\=move\]\:translate-y-\[var\(--radix-toast-swipe-move-y\)\][data-swipe=move] {
2845
+ --tw-translate-y: var(--radix-toast-swipe-move-y);
2846
+ 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));
2847
+ }
2848
+
2694
2849
  @keyframes accordion-up {
2695
2850
 
2696
2851
  from {
@@ -2737,6 +2892,10 @@ textarea:is(:-webkit-autofill, :autofill) {
2737
2892
  opacity: 0.5;
2738
2893
  }
2739
2894
 
2895
+ .data-\[swipe\=move\]\:transition-none[data-swipe=move] {
2896
+ transition-property: none;
2897
+ }
2898
+
2740
2899
  .data-\[state\=closed\]\:duration-300[data-state=closed] {
2741
2900
  transition-duration: 300ms;
2742
2901
  }
@@ -2765,10 +2924,24 @@ textarea:is(:-webkit-autofill, :autofill) {
2765
2924
  --tw-exit-translate-y: initial;
2766
2925
  }
2767
2926
 
2927
+ .data-\[swipe\=end\]\:animate-out[data-swipe=end] {
2928
+ animation-name: exit;
2929
+ animation-duration: 150ms;
2930
+ --tw-exit-opacity: initial;
2931
+ --tw-exit-scale: initial;
2932
+ --tw-exit-rotate: initial;
2933
+ --tw-exit-translate-x: initial;
2934
+ --tw-exit-translate-y: initial;
2935
+ }
2936
+
2768
2937
  .data-\[state\=closed\]\:fade-out-0[data-state=closed] {
2769
2938
  --tw-exit-opacity: 0;
2770
2939
  }
2771
2940
 
2941
+ .data-\[state\=closed\]\:fade-out-80[data-state=closed] {
2942
+ --tw-exit-opacity: 0.8;
2943
+ }
2944
+
2772
2945
  .data-\[state\=open\]\:fade-in-0[data-state=open] {
2773
2946
  --tw-enter-opacity: 0;
2774
2947
  }
@@ -2801,6 +2974,10 @@ textarea:is(:-webkit-autofill, :autofill) {
2801
2974
  --tw-exit-translate-y: 100%;
2802
2975
  }
2803
2976
 
2977
+ .data-\[state\=closed\]\:slide-out-to-bottom-full[data-state=closed] {
2978
+ --tw-exit-translate-y: 100%;
2979
+ }
2980
+
2804
2981
  .data-\[state\=closed\]\:slide-out-to-left[data-state=closed] {
2805
2982
  --tw-exit-translate-x: -100%;
2806
2983
  }
@@ -2809,10 +2986,18 @@ textarea:is(:-webkit-autofill, :autofill) {
2809
2986
  --tw-exit-translate-x: -50%;
2810
2987
  }
2811
2988
 
2989
+ .data-\[state\=closed\]\:slide-out-to-left-full[data-state=closed] {
2990
+ --tw-exit-translate-x: -100%;
2991
+ }
2992
+
2812
2993
  .data-\[state\=closed\]\:slide-out-to-right[data-state=closed] {
2813
2994
  --tw-exit-translate-x: 100%;
2814
2995
  }
2815
2996
 
2997
+ .data-\[state\=closed\]\:slide-out-to-right-full[data-state=closed] {
2998
+ --tw-exit-translate-x: 100%;
2999
+ }
3000
+
2816
3001
  .data-\[state\=closed\]\:slide-out-to-top[data-state=closed] {
2817
3002
  --tw-exit-translate-y: -100%;
2818
3003
  }
@@ -2821,10 +3006,18 @@ textarea:is(:-webkit-autofill, :autofill) {
2821
3006
  --tw-exit-translate-y: -48%;
2822
3007
  }
2823
3008
 
3009
+ .data-\[state\=closed\]\:slide-out-to-top-full[data-state=closed] {
3010
+ --tw-exit-translate-y: -100%;
3011
+ }
3012
+
2824
3013
  .data-\[state\=open\]\:slide-in-from-bottom[data-state=open] {
2825
3014
  --tw-enter-translate-y: 100%;
2826
3015
  }
2827
3016
 
3017
+ .data-\[state\=open\]\:slide-in-from-bottom-full[data-state=open] {
3018
+ --tw-enter-translate-y: 100%;
3019
+ }
3020
+
2828
3021
  .data-\[state\=open\]\:slide-in-from-left[data-state=open] {
2829
3022
  --tw-enter-translate-x: -100%;
2830
3023
  }
@@ -2845,6 +3038,10 @@ textarea:is(:-webkit-autofill, :autofill) {
2845
3038
  --tw-enter-translate-y: -48%;
2846
3039
  }
2847
3040
 
3041
+ .data-\[state\=open\]\:slide-in-from-top-full[data-state=open] {
3042
+ --tw-enter-translate-y: -100%;
3043
+ }
3044
+
2848
3045
  .data-\[state\=closed\]\:duration-300[data-state=closed] {
2849
3046
  animation-duration: 300ms;
2850
3047
  }
@@ -2872,6 +3069,10 @@ textarea:is(:-webkit-autofill, :autofill) {
2872
3069
  flex-direction: row;
2873
3070
  }
2874
3071
 
3072
+ .sm\:flex-col {
3073
+ flex-direction: column;
3074
+ }
3075
+
2875
3076
  .sm\:justify-end {
2876
3077
  justify-content: flex-end;
2877
3078
  }
@@ -2905,6 +3106,10 @@ textarea:is(:-webkit-autofill, :autofill) {
2905
3106
  width: auto;
2906
3107
  }
2907
3108
 
3109
+ .md\:max-w-\[420px\] {
3110
+ max-width: 420px;
3111
+ }
3112
+
2908
3113
  .md\:grid-cols-2 {
2909
3114
  grid-template-columns: repeat(2, minmax(0, 1fr));
2910
3115
  }
@@ -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,55 @@ 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
+ duration?: number;
788
+ hasIcon?: boolean;
789
+ } & React_2.RefAttributes<HTMLLIElement>>;
790
+
791
+ export declare function toast({ ...props }: Toast_2): {
792
+ id: string;
793
+ dismiss: () => void;
794
+ update: (props: ToasterToast) => void;
795
+ };
796
+
797
+ declare type Toast_2 = Omit<ToasterToast, "id">;
798
+
799
+ export declare const ToastAction: React_2.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
800
+
801
+ export declare type ToastActionElement = React_2.ReactElement<typeof ToastAction>;
802
+
803
+ export declare const ToastClose: React_2.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
804
+
805
+ export declare const ToastDescription: React_2.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastDescriptionProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
806
+
807
+ export declare const Toaster: ({ position, duration, }: ToasterProps) => JSX_2.Element;
808
+
809
+ export declare interface ToasterProps {
810
+ position?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | "center-top" | "center-bottom";
811
+ duration?: number;
812
+ }
813
+
814
+ declare type ToasterToast = ToastProps & {
815
+ id: string;
816
+ title?: React_2.ReactNode;
817
+ description?: React_2.ReactNode;
818
+ action?: ToastActionElement;
819
+ };
820
+
821
+ export declare type ToastProps = React_2.ComponentPropsWithoutRef<typeof Toast>;
822
+
823
+ export declare const ToastProvider: React_2.FC<ToastPrimitives.ToastProviderProps>;
824
+
825
+ export declare const ToastTitle: React_2.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
826
+
827
+ export declare const ToastViewport: React_2.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React_2.RefAttributes<HTMLOListElement>, "ref"> & {
828
+ position?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | "center-top" | "center-bottom";
829
+ } & React_2.RefAttributes<HTMLOListElement>>;
830
+
781
831
  export declare const Toggle: React_2.ForwardRefExoticComponent<ToggleProps & React_2.RefAttributes<HTMLButtonElement>>;
782
832
 
783
833
  export declare interface ToggleProps extends React_2.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root>, VariantProps<typeof toggleVariants> {
@@ -822,4 +872,10 @@ export declare function useSortableData(initialData: TableDataProps[], defaultSo
822
872
  sortData: (keyName: string) => void;
823
873
  };
824
874
 
875
+ export declare function useToast(): {
876
+ toast: typeof toast;
877
+ dismiss: (toastId?: string) => void;
878
+ toasts: ToasterToast[];
879
+ };
880
+
825
881
  export { }