@zvoove/unity-ui 2.24.0 → 2.25.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.
- package/dist/unity-ui.cjs.js +1 -1
- package/dist/unity-ui.css +1 -1
- package/dist/unity-ui.d.ts +53 -0
- package/dist/unity-ui.es.js +350 -337
- package/package.json +1 -1
package/dist/unity-ui.d.ts
CHANGED
|
@@ -789,6 +789,7 @@ export declare const commonIconsMap: {
|
|
|
789
789
|
readonly robot: Icon_2;
|
|
790
790
|
readonly save: Icon_2;
|
|
791
791
|
readonly search: Icon_2;
|
|
792
|
+
readonly 'search-plus': Icon_2;
|
|
792
793
|
readonly 'send-message': Icon_2;
|
|
793
794
|
readonly settings: Icon_2;
|
|
794
795
|
readonly 'setup-time': Icon_2;
|
|
@@ -1710,6 +1711,7 @@ declare const iconMap: {
|
|
|
1710
1711
|
readonly robot: Icon_2;
|
|
1711
1712
|
readonly save: Icon_2;
|
|
1712
1713
|
readonly search: Icon_2;
|
|
1714
|
+
readonly 'search-plus': Icon_2;
|
|
1713
1715
|
readonly 'send-message': Icon_2;
|
|
1714
1716
|
readonly settings: Icon_2;
|
|
1715
1717
|
readonly 'setup-time': Icon_2;
|
|
@@ -1856,6 +1858,57 @@ declare const iconTypes: {
|
|
|
1856
1858
|
readonly gray: "gray";
|
|
1857
1859
|
};
|
|
1858
1860
|
|
|
1861
|
+
export declare const ImageVisualizer: {
|
|
1862
|
+
({ src, alt, width, height, maxWidth, maxHeight, minWidth, minHeight, borderRadius, objectFit, }: ImageVisualizerProps): JSX.Element;
|
|
1863
|
+
displayName: string;
|
|
1864
|
+
};
|
|
1865
|
+
|
|
1866
|
+
export declare interface ImageVisualizerProps {
|
|
1867
|
+
/**
|
|
1868
|
+
* The source URL of the image.
|
|
1869
|
+
*/
|
|
1870
|
+
src: string;
|
|
1871
|
+
/**
|
|
1872
|
+
* The alt text of the image.
|
|
1873
|
+
* @default ''
|
|
1874
|
+
*/
|
|
1875
|
+
alt?: string;
|
|
1876
|
+
/**
|
|
1877
|
+
* The width of the image container.
|
|
1878
|
+
*/
|
|
1879
|
+
width?: ResponsiveType<number | string>;
|
|
1880
|
+
/**
|
|
1881
|
+
* The height of the image container.
|
|
1882
|
+
*/
|
|
1883
|
+
height?: ResponsiveType<number | string>;
|
|
1884
|
+
/**
|
|
1885
|
+
* The minimum width of the image container.
|
|
1886
|
+
*/
|
|
1887
|
+
minWidth?: ResponsiveType<number | string>;
|
|
1888
|
+
/**
|
|
1889
|
+
* The minimum height of the image container.
|
|
1890
|
+
*/
|
|
1891
|
+
minHeight?: ResponsiveType<number | string>;
|
|
1892
|
+
/**
|
|
1893
|
+
* The maximum width of the image container.
|
|
1894
|
+
*/
|
|
1895
|
+
maxWidth?: ResponsiveType<number | string>;
|
|
1896
|
+
/**
|
|
1897
|
+
* The maximum height of the image container.
|
|
1898
|
+
*/
|
|
1899
|
+
maxHeight?: ResponsiveType<number | string>;
|
|
1900
|
+
/**
|
|
1901
|
+
* The border radius of the image container.
|
|
1902
|
+
* @default 'sm'
|
|
1903
|
+
*/
|
|
1904
|
+
borderRadius?: 'none' | 'sm' | 'md' | 'lg' | 'xl';
|
|
1905
|
+
/**
|
|
1906
|
+
* The CSS object-fit of the image inside the container.
|
|
1907
|
+
* @default 'cover'
|
|
1908
|
+
*/
|
|
1909
|
+
objectFit?: 'contain' | 'cover' | 'fill' | 'none' | 'scale-down';
|
|
1910
|
+
}
|
|
1911
|
+
|
|
1859
1912
|
export declare const InfoBox: {
|
|
1860
1913
|
({ message, variant, icon, elevated, }: InfoBoxProps): JSX.Element;
|
|
1861
1914
|
displayName: string;
|