@fileverse/ui 4.1.2-patch-8 → 4.1.2-patch-10
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 +38 -0
- package/dist/index.es.d.ts +48 -1
- package/dist/index.es.js +9331 -9103
- package/package.json +2 -2
package/dist/index.css
CHANGED
|
@@ -1100,6 +1100,9 @@ video {
|
|
|
1100
1100
|
.top-3 {
|
|
1101
1101
|
top: 0.75rem;
|
|
1102
1102
|
}
|
|
1103
|
+
.top-\[14px\] {
|
|
1104
|
+
top: 14px;
|
|
1105
|
+
}
|
|
1103
1106
|
.top-\[50\%\] {
|
|
1104
1107
|
top: 50%;
|
|
1105
1108
|
}
|
|
@@ -1465,6 +1468,9 @@ video {
|
|
|
1465
1468
|
.w-\[8px\] {
|
|
1466
1469
|
width: 8px;
|
|
1467
1470
|
}
|
|
1471
|
+
.w-\[calc\(100vw-24px\)\] {
|
|
1472
|
+
width: calc(100vw - 24px);
|
|
1473
|
+
}
|
|
1468
1474
|
.w-auto {
|
|
1469
1475
|
width: auto;
|
|
1470
1476
|
}
|
|
@@ -1511,6 +1517,9 @@ video {
|
|
|
1511
1517
|
.min-w-\[280px\] {
|
|
1512
1518
|
min-width: 280px;
|
|
1513
1519
|
}
|
|
1520
|
+
.min-w-\[300px\] {
|
|
1521
|
+
min-width: 300px;
|
|
1522
|
+
}
|
|
1514
1523
|
.min-w-\[30px\] {
|
|
1515
1524
|
min-width: 30px;
|
|
1516
1525
|
}
|
|
@@ -1585,6 +1594,9 @@ video {
|
|
|
1585
1594
|
.shrink-0 {
|
|
1586
1595
|
flex-shrink: 0;
|
|
1587
1596
|
}
|
|
1597
|
+
.flex-grow {
|
|
1598
|
+
flex-grow: 1;
|
|
1599
|
+
}
|
|
1588
1600
|
.grow {
|
|
1589
1601
|
flex-grow: 1;
|
|
1590
1602
|
}
|
|
@@ -1598,6 +1610,10 @@ video {
|
|
|
1598
1610
|
--tw-translate-x: -50%;
|
|
1599
1611
|
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));
|
|
1600
1612
|
}
|
|
1613
|
+
.-translate-y-2 {
|
|
1614
|
+
--tw-translate-y: -0.5rem;
|
|
1615
|
+
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));
|
|
1616
|
+
}
|
|
1601
1617
|
.translate-x-1\/2 {
|
|
1602
1618
|
--tw-translate-x: 50%;
|
|
1603
1619
|
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));
|
|
@@ -1779,6 +1795,11 @@ video {
|
|
|
1779
1795
|
margin-right: calc(1rem * var(--tw-space-x-reverse));
|
|
1780
1796
|
margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
|
|
1781
1797
|
}
|
|
1798
|
+
.space-y-1 > :not([hidden]) ~ :not([hidden]) {
|
|
1799
|
+
--tw-space-y-reverse: 0;
|
|
1800
|
+
margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
|
|
1801
|
+
margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
|
|
1802
|
+
}
|
|
1782
1803
|
.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) {
|
|
1783
1804
|
--tw-space-y-reverse: 0;
|
|
1784
1805
|
margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse)));
|
|
@@ -1816,6 +1837,9 @@ video {
|
|
|
1816
1837
|
text-overflow: ellipsis;
|
|
1817
1838
|
white-space: nowrap;
|
|
1818
1839
|
}
|
|
1840
|
+
.text-ellipsis {
|
|
1841
|
+
text-overflow: ellipsis;
|
|
1842
|
+
}
|
|
1819
1843
|
.whitespace-nowrap {
|
|
1820
1844
|
white-space: nowrap;
|
|
1821
1845
|
}
|
|
@@ -1831,6 +1855,9 @@ video {
|
|
|
1831
1855
|
.rounded {
|
|
1832
1856
|
border-radius: 0.25rem;
|
|
1833
1857
|
}
|
|
1858
|
+
.rounded-\[16px\] {
|
|
1859
|
+
border-radius: 16px;
|
|
1860
|
+
}
|
|
1834
1861
|
.rounded-\[4px\] {
|
|
1835
1862
|
border-radius: 4px;
|
|
1836
1863
|
}
|
|
@@ -1932,6 +1959,9 @@ video {
|
|
|
1932
1959
|
.\!bg-transparent {
|
|
1933
1960
|
background-color: transparent !important;
|
|
1934
1961
|
}
|
|
1962
|
+
.bg-black\/40 {
|
|
1963
|
+
background-color: rgb(0 0 0 / 0.4);
|
|
1964
|
+
}
|
|
1935
1965
|
.bg-green-700 {
|
|
1936
1966
|
--tw-bg-opacity: 1;
|
|
1937
1967
|
background-color: rgb(21 128 61 / var(--tw-bg-opacity));
|
|
@@ -1984,6 +2014,10 @@ video {
|
|
|
1984
2014
|
.p-\[2px\] {
|
|
1985
2015
|
padding: 2px;
|
|
1986
2016
|
}
|
|
2017
|
+
.\!px-0 {
|
|
2018
|
+
padding-left: 0px !important;
|
|
2019
|
+
padding-right: 0px !important;
|
|
2020
|
+
}
|
|
1987
2021
|
.\!px-1 {
|
|
1988
2022
|
padding-left: 0.25rem !important;
|
|
1989
2023
|
padding-right: 0.25rem !important;
|
|
@@ -3113,6 +3147,10 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3113
3147
|
display: block;
|
|
3114
3148
|
}
|
|
3115
3149
|
|
|
3150
|
+
.md\:w-\[384px\] {
|
|
3151
|
+
width: 384px;
|
|
3152
|
+
}
|
|
3153
|
+
|
|
3116
3154
|
.md\:w-\[60vw\] {
|
|
3117
3155
|
width: 60vw;
|
|
3118
3156
|
}
|
package/dist/index.es.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
|
13
13
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
14
14
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
15
15
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
16
|
+
import { Portal } from 'vaul';
|
|
16
17
|
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
17
18
|
import * as React_2 from 'react';
|
|
18
19
|
import { ReactNode } from 'react';
|
|
@@ -323,7 +324,7 @@ export declare const DrawerHeader: {
|
|
|
323
324
|
|
|
324
325
|
export declare const DrawerOverlay: React_2.ForwardRefExoticComponent<Omit<Omit<DialogPrimitive.DialogOverlayProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
325
326
|
|
|
326
|
-
export declare const DrawerPortal:
|
|
327
|
+
export declare const DrawerPortal: Portal;
|
|
327
328
|
|
|
328
329
|
export declare const DrawerTitle: React_2.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React_2.RefAttributes<HTMLHeadingElement>, "ref"> & React_2.RefAttributes<HTMLHeadingElement>>;
|
|
329
330
|
|
|
@@ -368,6 +369,23 @@ export declare interface DynamicDrawerProps {
|
|
|
368
369
|
dismissible?: boolean;
|
|
369
370
|
}
|
|
370
371
|
|
|
372
|
+
export declare const DynamicDrawerV2: ({ title, open, onOpenChange, content, className, headerClassName, contentClassName, side, noOverlay, overlayClasses, rounded, dismissible, }: DynamicDrawerV2Props) => JSX_2.Element;
|
|
373
|
+
|
|
374
|
+
export declare interface DynamicDrawerV2Props {
|
|
375
|
+
title?: string;
|
|
376
|
+
open?: boolean;
|
|
377
|
+
onOpenChange?: (open: boolean) => void;
|
|
378
|
+
content?: default_2.ReactNode;
|
|
379
|
+
className?: string;
|
|
380
|
+
headerClassName?: string;
|
|
381
|
+
contentClassName?: string;
|
|
382
|
+
noOverlay?: boolean;
|
|
383
|
+
overlayClasses?: string;
|
|
384
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
385
|
+
rounded?: boolean;
|
|
386
|
+
dismissible?: boolean;
|
|
387
|
+
}
|
|
388
|
+
|
|
371
389
|
export declare const DynamicDropdown: ({ content, anchorTrigger, ...props }: DynamicDropdownProps) => JSX_2.Element;
|
|
372
390
|
|
|
373
391
|
export declare interface DynamicDropdownProps {
|
|
@@ -774,6 +792,35 @@ export declare interface TextAreaFieldProps extends React_2.TextareaHTMLAttribut
|
|
|
774
792
|
isValid?: boolean;
|
|
775
793
|
}
|
|
776
794
|
|
|
795
|
+
export declare const TextAreaFieldV2: React_2.ForwardRefExoticComponent<TextAreaFieldV2Props & React_2.RefAttributes<HTMLTextAreaElement>>;
|
|
796
|
+
|
|
797
|
+
export declare interface TextAreaFieldV2Props extends React_2.InputHTMLAttributes<HTMLTextAreaElement> {
|
|
798
|
+
/**
|
|
799
|
+
* The label for the text field.
|
|
800
|
+
*/
|
|
801
|
+
label?: string;
|
|
802
|
+
/**
|
|
803
|
+
* The left icon for the text field.
|
|
804
|
+
*/
|
|
805
|
+
leftIcon?: React_2.ReactNode;
|
|
806
|
+
/**
|
|
807
|
+
* The right icon for the text field.
|
|
808
|
+
*/
|
|
809
|
+
rightIcon?: React_2.ReactNode;
|
|
810
|
+
/**
|
|
811
|
+
* Whether the text field is valid.
|
|
812
|
+
*/
|
|
813
|
+
isValid?: boolean;
|
|
814
|
+
/**
|
|
815
|
+
* The helper text for the text field.
|
|
816
|
+
*/
|
|
817
|
+
message?: string;
|
|
818
|
+
/**
|
|
819
|
+
* Event handler for the onChange event.
|
|
820
|
+
*/
|
|
821
|
+
onChange?: (e: React_2.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
822
|
+
}
|
|
823
|
+
|
|
777
824
|
export declare const TextField: React_2.ForwardRefExoticComponent<TextFieldProps & React_2.RefAttributes<HTMLInputElement>>;
|
|
778
825
|
|
|
779
826
|
export declare interface TextFieldProps extends React_2.InputHTMLAttributes<HTMLInputElement> {
|