@fileverse/ui 5.2.1 → 5.2.3
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 +21 -27
- package/dist/index.es.d.ts +25 -8
- package/dist/index.es.js +18325 -18393
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1552,18 +1552,10 @@ video {
|
|
|
1552
1552
|
margin-left: -0.25rem;
|
|
1553
1553
|
margin-right: -0.25rem;
|
|
1554
1554
|
}
|
|
1555
|
-
.-my-1 {
|
|
1556
|
-
margin-top: -0.25rem;
|
|
1557
|
-
margin-bottom: -0.25rem;
|
|
1558
|
-
}
|
|
1559
1555
|
.mx-auto {
|
|
1560
1556
|
margin-left: auto;
|
|
1561
1557
|
margin-right: auto;
|
|
1562
1558
|
}
|
|
1563
|
-
.my-0 {
|
|
1564
|
-
margin-top: 0px;
|
|
1565
|
-
margin-bottom: 0px;
|
|
1566
|
-
}
|
|
1567
1559
|
.my-1 {
|
|
1568
1560
|
margin-top: 0.25rem;
|
|
1569
1561
|
margin-bottom: 0.25rem;
|
|
@@ -1796,6 +1788,9 @@ video {
|
|
|
1796
1788
|
.max-h-\[300px\] {
|
|
1797
1789
|
max-height: 300px;
|
|
1798
1790
|
}
|
|
1791
|
+
.max-h-\[var\(--radix-tooltip-content-available-height\2c none\)\] {
|
|
1792
|
+
max-height: var(--radix-tooltip-content-available-height,none);
|
|
1793
|
+
}
|
|
1799
1794
|
.max-h-screen {
|
|
1800
1795
|
max-height: 100vh;
|
|
1801
1796
|
}
|
|
@@ -1817,9 +1812,6 @@ video {
|
|
|
1817
1812
|
.min-h-\[296px\] {
|
|
1818
1813
|
min-height: 296px;
|
|
1819
1814
|
}
|
|
1820
|
-
.min-h-\[2vh\] {
|
|
1821
|
-
min-height: 2vh;
|
|
1822
|
-
}
|
|
1823
1815
|
.min-h-\[468px\] {
|
|
1824
1816
|
min-height: 468px;
|
|
1825
1817
|
}
|
|
@@ -2106,6 +2098,9 @@ video {
|
|
|
2106
2098
|
.max-w-\[70vw\] {
|
|
2107
2099
|
max-width: 70vw;
|
|
2108
2100
|
}
|
|
2101
|
+
.max-w-\[min\(var\(--radix-tooltip-content-available-width\2c 20rem\)\2c 20rem\)\] {
|
|
2102
|
+
max-width: min(var(--radix-tooltip-content-available-width,20rem),20rem);
|
|
2103
|
+
}
|
|
2109
2104
|
.max-w-fit {
|
|
2110
2105
|
max-width: -moz-fit-content;
|
|
2111
2106
|
max-width: fit-content;
|
|
@@ -2994,10 +2989,6 @@ video {
|
|
|
2994
2989
|
.ring-offset-white {
|
|
2995
2990
|
--tw-ring-offset-color: #fff;
|
|
2996
2991
|
}
|
|
2997
|
-
.blur {
|
|
2998
|
-
--tw-blur: blur(8px);
|
|
2999
|
-
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);
|
|
3000
|
-
}
|
|
3001
2992
|
.drop-shadow {
|
|
3002
2993
|
--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / 0.1)) drop-shadow(0 1px 1px rgb(0 0 0 / 0.06));
|
|
3003
2994
|
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);
|
|
@@ -3060,6 +3051,21 @@ video {
|
|
|
3060
3051
|
transform: translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0));
|
|
3061
3052
|
}
|
|
3062
3053
|
}
|
|
3054
|
+
.animate-in {
|
|
3055
|
+
animation-name: enter;
|
|
3056
|
+
animation-duration: 150ms;
|
|
3057
|
+
--tw-enter-opacity: initial;
|
|
3058
|
+
--tw-enter-scale: initial;
|
|
3059
|
+
--tw-enter-rotate: initial;
|
|
3060
|
+
--tw-enter-translate-x: initial;
|
|
3061
|
+
--tw-enter-translate-y: initial;
|
|
3062
|
+
}
|
|
3063
|
+
.fade-in-0 {
|
|
3064
|
+
--tw-enter-opacity: 0;
|
|
3065
|
+
}
|
|
3066
|
+
.zoom-in-95 {
|
|
3067
|
+
--tw-enter-scale: .95;
|
|
3068
|
+
}
|
|
3063
3069
|
.duration-200 {
|
|
3064
3070
|
animation-duration: 200ms;
|
|
3065
3071
|
}
|
|
@@ -4081,18 +4087,6 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
4081
4087
|
.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]) {
|
|
4082
4088
|
padding-right: 0px;
|
|
4083
4089
|
}
|
|
4084
|
-
.\[\&\>span\]\:\!left-\[10\%\]>span {
|
|
4085
|
-
left: 10% !important;
|
|
4086
|
-
}
|
|
4087
|
-
.\[\&\>span\]\:\!left-\[80\%\]>span {
|
|
4088
|
-
left: 80% !important;
|
|
4089
|
-
}
|
|
4090
|
-
.\[\&\>span\]\:\!top-\[20\%\]>span {
|
|
4091
|
-
top: 20% !important;
|
|
4092
|
-
}
|
|
4093
|
-
.\[\&\>span\]\:\!top-\[60\%\]>span {
|
|
4094
|
-
top: 60% !important;
|
|
4095
|
-
}
|
|
4096
4090
|
.\[\&\>span\]\:line-clamp-1>span {
|
|
4097
4091
|
overflow: hidden;
|
|
4098
4092
|
display: -webkit-box;
|
package/dist/index.es.d.ts
CHANGED
|
@@ -30,6 +30,7 @@ import { SetStateAction } from 'react';
|
|
|
30
30
|
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
31
31
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
32
32
|
import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
33
|
+
import * as TooltipPrimitives from '@radix-ui/react-tooltip';
|
|
33
34
|
import { VariantProps } from 'class-variance-authority';
|
|
34
35
|
|
|
35
36
|
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>>;
|
|
@@ -1004,7 +1005,7 @@ export declare const SheetTitle: React_2.ForwardRefExoticComponent<Omit<DialogPr
|
|
|
1004
1005
|
export declare const SheetTrigger: React_2.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
1005
1006
|
|
|
1006
1007
|
declare const sheetVariants: (props?: ({
|
|
1007
|
-
side?: "
|
|
1008
|
+
side?: "top" | "right" | "bottom" | "left" | null | undefined;
|
|
1008
1009
|
} & ClassProp) | undefined) => string;
|
|
1009
1010
|
|
|
1010
1011
|
export declare const Skeleton: ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => JSX_2.Element;
|
|
@@ -1324,19 +1325,35 @@ declare const toggleVariants: (props?: ({
|
|
|
1324
1325
|
|
|
1325
1326
|
export declare const Tooltip: React_2.ForwardRefExoticComponent<TooltipProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1326
1327
|
|
|
1327
|
-
|
|
1328
|
+
declare const TooltipContent: React_2.ForwardRefExoticComponent<TooltipPrimitives.TooltipContentProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1329
|
+
|
|
1330
|
+
export declare interface TooltipProps extends React_2.HTMLAttributes<HTMLElement> {
|
|
1328
1331
|
text: string | React_2.ReactNode;
|
|
1332
|
+
/**
|
|
1333
|
+
* Gap between the trigger and the tip of the beak, in px. Radix adds the
|
|
1334
|
+
* measured arrow height to this internally, so it is the visible gap rather
|
|
1335
|
+
* than the distance to the bubble edge.
|
|
1336
|
+
*/
|
|
1329
1337
|
sideOffset?: number;
|
|
1330
1338
|
asTriggerChild?: boolean;
|
|
1331
1339
|
open?: boolean;
|
|
1340
|
+
/**
|
|
1341
|
+
* Minimum gap kept between the tooltip and the collision boundary (the
|
|
1342
|
+
* viewport by default). Radix defaults this to 0, which lets long content sit
|
|
1343
|
+
* flush against the edge. This also shrinks
|
|
1344
|
+
* `--radix-tooltip-content-available-width/height`, so the max-width below
|
|
1345
|
+
* respects the same gutter rather than growing into it.
|
|
1346
|
+
*/
|
|
1347
|
+
collisionPadding?: React_2.ComponentPropsWithoutRef<typeof TooltipContent>["collisionPadding"];
|
|
1348
|
+
/** Side of the trigger to place the tooltip on. Maps to Radix `side`. */
|
|
1349
|
+
position?: "top" | "bottom" | "left" | "right" | null;
|
|
1350
|
+
/**
|
|
1351
|
+
* Alignment of the tooltip — and therefore its beak — along the trigger.
|
|
1352
|
+
* Maps to Radix `align`, which positions the beak natively.
|
|
1353
|
+
*/
|
|
1354
|
+
beakAlignment?: "start" | "center" | "end" | null;
|
|
1332
1355
|
}
|
|
1333
1356
|
|
|
1334
|
-
declare const tooltipVariants: (props?: ({
|
|
1335
|
-
position?: "bottom" | "top" | "right" | "left" | null | undefined;
|
|
1336
|
-
beakAlignment?: "end" | "center" | "start" | null | undefined;
|
|
1337
|
-
defaultVariants?: "variant" | "beakPosition" | null | undefined;
|
|
1338
|
-
} & ClassProp) | undefined) => string;
|
|
1339
|
-
|
|
1340
1357
|
export declare const UltimateIcons: any;
|
|
1341
1358
|
|
|
1342
1359
|
export declare const useHoverAndLongPress: ({ delay, }: UseHoverAndLongPressProps) => {
|