@scalably/ui 0.2.0 → 0.2.2
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/README.md +28 -27
- package/dist/index.d.cts +1033 -8
- package/dist/index.d.ts +1033 -8
- package/dist/index.esm.js +3 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +11 -10
package/dist/index.d.cts
CHANGED
|
@@ -3,7 +3,6 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
|
-
import { ClassValue } from 'clsx';
|
|
7
6
|
import * as date_fns from 'date-fns';
|
|
8
7
|
export { addMonths, endOfMonth, isSameDay, startOfMonth } from 'date-fns';
|
|
9
8
|
|
|
@@ -142,7 +141,7 @@ interface StatusBadgeProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "
|
|
|
142
141
|
declare const StatusBadge: react.ForwardRefExoticComponent<StatusBadgeProps & react.RefAttributes<HTMLSpanElement>>;
|
|
143
142
|
|
|
144
143
|
declare const buttonVariants: (props?: ({
|
|
145
|
-
variant?: "
|
|
144
|
+
variant?: "link" | "text" | "outline" | "default" | "destructive" | "secondary" | null | undefined;
|
|
146
145
|
size?: "icon" | "md" | "lg" | null | undefined;
|
|
147
146
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
148
147
|
type ButtonVariant = VariantProps<typeof buttonVariants>["variant"];
|
|
@@ -750,6 +749,13 @@ interface FileUploadProps {
|
|
|
750
749
|
* This runs after internal type/size validation.
|
|
751
750
|
*/
|
|
752
751
|
onValidateFile?: (file: File) => FileUploadError | null | undefined;
|
|
752
|
+
/** Enable video thumbnail capture UI via modal when a video file is selected. */
|
|
753
|
+
enableVideoThumbnail?: boolean;
|
|
754
|
+
/**
|
|
755
|
+
* Called when a thumbnail is captured from the selected video's current frame.
|
|
756
|
+
* Provides the Blob (image/jpeg) and a data URL for immediate preview.
|
|
757
|
+
*/
|
|
758
|
+
onThumbnailCapture?: (thumbnail: Blob, dataUrl: string, file: FileUploadFile) => void;
|
|
753
759
|
}
|
|
754
760
|
/**
|
|
755
761
|
* File upload component with drag-and-drop, validation, previews, and accessibility support.
|
|
@@ -1569,29 +1575,55 @@ declare const ViewToggle: React.FC<ViewToggleProps>;
|
|
|
1569
1575
|
|
|
1570
1576
|
interface ScalablyUIProviderProps {
|
|
1571
1577
|
children: React.ReactNode;
|
|
1578
|
+
/**
|
|
1579
|
+
* @deprecated `className` is no longer needed. Styles are applied globally.
|
|
1580
|
+
*/
|
|
1572
1581
|
className?: string;
|
|
1573
1582
|
/**
|
|
1574
|
-
*
|
|
1583
|
+
* @deprecated `asChild` is no longer needed. Styles are applied globally.
|
|
1575
1584
|
*/
|
|
1576
1585
|
asChild?: boolean;
|
|
1586
|
+
/**
|
|
1587
|
+
* When true, automatically injects the component library styles into document.head.
|
|
1588
|
+
* This ensures styles work in portals (modals, tooltips, etc.) without requiring
|
|
1589
|
+
* manual CSS imports. Defaults to true.
|
|
1590
|
+
*/
|
|
1591
|
+
injectStyles?: boolean;
|
|
1577
1592
|
}
|
|
1578
1593
|
/**
|
|
1579
1594
|
* ScalablyUIProvider
|
|
1580
1595
|
*
|
|
1581
|
-
*
|
|
1596
|
+
* Provides the Scalably UI component library context and automatically injects styles.
|
|
1597
|
+
* All classes are globally prefixed (`sui-*`), so no wrapper element is required.
|
|
1598
|
+
*
|
|
1599
|
+
* Features:
|
|
1600
|
+
* - Automatically injects CSS into document.head (prevents double-injection)
|
|
1601
|
+
* - Works with SSR (only injects on client-side)
|
|
1602
|
+
* - Ensures styles are available for portaled components
|
|
1603
|
+
* - Maintains style isolation via 'sui-' prefix
|
|
1582
1604
|
*
|
|
1583
1605
|
* Usage:
|
|
1606
|
+
* ```tsx
|
|
1584
1607
|
* <ScalablyUIProvider>
|
|
1585
1608
|
* <App />
|
|
1586
1609
|
* </ScalablyUIProvider>
|
|
1610
|
+
* ```
|
|
1587
1611
|
*
|
|
1588
|
-
*
|
|
1589
|
-
*
|
|
1590
|
-
*
|
|
1612
|
+
* To disable automatic style injection (if you import CSS manually):
|
|
1613
|
+
* ```tsx
|
|
1614
|
+
* <ScalablyUIProvider injectStyles={false}>
|
|
1615
|
+
* <App />
|
|
1591
1616
|
* </ScalablyUIProvider>
|
|
1617
|
+
* ```
|
|
1592
1618
|
*/
|
|
1593
1619
|
declare const ScalablyUIProvider: React.FC<ScalablyUIProviderProps>;
|
|
1594
1620
|
|
|
1621
|
+
/**
|
|
1622
|
+
* Type for class values accepted by clsx
|
|
1623
|
+
*/
|
|
1624
|
+
type ClassValue = ClassArray | ClassDictionary | string | number | bigint | null | boolean | undefined;
|
|
1625
|
+
type ClassDictionary = Record<string, unknown>;
|
|
1626
|
+
type ClassArray = ClassValue[];
|
|
1595
1627
|
/**
|
|
1596
1628
|
* Utility function to merge Tailwind CSS classes intelligently
|
|
1597
1629
|
* Combines clsx for conditional classes and tailwind-merge for conflict resolution
|
|
@@ -1664,4 +1696,997 @@ declare const zodErrorsToSummary: (errors: Record<string, FieldErrorLike>) => {
|
|
|
1664
1696
|
message: string;
|
|
1665
1697
|
}[];
|
|
1666
1698
|
|
|
1667
|
-
|
|
1699
|
+
/**
|
|
1700
|
+
* Props for the CalendarIcon component
|
|
1701
|
+
*/
|
|
1702
|
+
interface CalendarIconProps extends React.SVGProps<SVGSVGElement> {
|
|
1703
|
+
/** Size of the icon in pixels. Defaults to 24. */
|
|
1704
|
+
size?: number;
|
|
1705
|
+
/** Additional CSS classes to apply to the icon */
|
|
1706
|
+
className?: string;
|
|
1707
|
+
/** Stroke width of the icon in pixels. Defaults to 1.5. */
|
|
1708
|
+
strokeWidth?: number;
|
|
1709
|
+
}
|
|
1710
|
+
/**
|
|
1711
|
+
* Calendar icon component - displays a calendar with date indicators.
|
|
1712
|
+
*
|
|
1713
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
1714
|
+
*
|
|
1715
|
+
* @example
|
|
1716
|
+
* ```tsx
|
|
1717
|
+
* import { CalendarIcon } from '@scalably/ui';
|
|
1718
|
+
*
|
|
1719
|
+
* <CalendarIcon size={32} className="sui-text-primary" />
|
|
1720
|
+
* ```
|
|
1721
|
+
*/
|
|
1722
|
+
declare const CalendarIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<CalendarIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
1723
|
+
|
|
1724
|
+
/**
|
|
1725
|
+
* Props for the CaptureIcon component
|
|
1726
|
+
*/
|
|
1727
|
+
interface CaptureIconProps extends React.SVGProps<SVGSVGElement> {
|
|
1728
|
+
/** Size of the icon in pixels. Defaults to 24. */
|
|
1729
|
+
size?: number;
|
|
1730
|
+
/** Additional CSS classes to apply to the icon */
|
|
1731
|
+
className?: string;
|
|
1732
|
+
}
|
|
1733
|
+
/**
|
|
1734
|
+
* Capture icon component - displays a camera icon with a capture button.
|
|
1735
|
+
*
|
|
1736
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
1737
|
+
*
|
|
1738
|
+
* @example
|
|
1739
|
+
* ```tsx
|
|
1740
|
+
* import { CaptureIcon } from '@scalably/ui';
|
|
1741
|
+
*
|
|
1742
|
+
* <CaptureIcon size={24} className="sui-text-primary" />
|
|
1743
|
+
* ```
|
|
1744
|
+
*/
|
|
1745
|
+
declare const CaptureIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<CaptureIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
1746
|
+
|
|
1747
|
+
/**
|
|
1748
|
+
* Props for the CheckIcon component
|
|
1749
|
+
*/
|
|
1750
|
+
interface CheckIconProps extends React.SVGProps<SVGSVGElement> {
|
|
1751
|
+
/** Size of the icon in pixels. Defaults to 20. */
|
|
1752
|
+
size?: number;
|
|
1753
|
+
/** Additional CSS classes to apply to the icon */
|
|
1754
|
+
className?: string;
|
|
1755
|
+
/** Stroke width of the icon in pixels. Defaults to 2.2. */
|
|
1756
|
+
strokeWidth?: number;
|
|
1757
|
+
}
|
|
1758
|
+
/**
|
|
1759
|
+
* Check icon component - displays a checkmark in a green gradient circle.
|
|
1760
|
+
*
|
|
1761
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
1762
|
+
*
|
|
1763
|
+
* @example
|
|
1764
|
+
* ```tsx
|
|
1765
|
+
* import { CheckIcon } from '@scalably/ui';
|
|
1766
|
+
*
|
|
1767
|
+
* <CheckIcon size={24} className="sui-text-primary" />
|
|
1768
|
+
* ```
|
|
1769
|
+
*/
|
|
1770
|
+
declare const CheckIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<CheckIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
1771
|
+
|
|
1772
|
+
/**
|
|
1773
|
+
* Props for the CloseIcon component
|
|
1774
|
+
*/
|
|
1775
|
+
interface CloseIconProps extends React.SVGProps<SVGSVGElement> {
|
|
1776
|
+
/** Size of the icon in pixels. Defaults to 24. */
|
|
1777
|
+
size?: number;
|
|
1778
|
+
/** Additional CSS classes to apply to the icon */
|
|
1779
|
+
className?: string;
|
|
1780
|
+
/** Stroke width of the icon in pixels. Defaults to 1.5. */
|
|
1781
|
+
strokeWidth?: number;
|
|
1782
|
+
}
|
|
1783
|
+
/**
|
|
1784
|
+
* Close icon component - displays a cross icon.
|
|
1785
|
+
*
|
|
1786
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
1787
|
+
*
|
|
1788
|
+
* @example
|
|
1789
|
+
* ```tsx
|
|
1790
|
+
* import { CloseIcon } from '@scalably/ui';
|
|
1791
|
+
*
|
|
1792
|
+
* <CloseIcon size={24} className="sui-text-primary" />
|
|
1793
|
+
* ```
|
|
1794
|
+
*/
|
|
1795
|
+
declare const CloseIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<CloseIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
1796
|
+
|
|
1797
|
+
interface DropdownIconProps extends React.SVGProps<SVGSVGElement> {
|
|
1798
|
+
/** Size of the icon in pixels. Defaults to 24. */
|
|
1799
|
+
size?: number;
|
|
1800
|
+
/** Additional CSS classes to apply to the icon */
|
|
1801
|
+
className?: string;
|
|
1802
|
+
/** Stroke width of the icon in pixels. Defaults to 2. */
|
|
1803
|
+
strokeWidth?: number;
|
|
1804
|
+
}
|
|
1805
|
+
/**
|
|
1806
|
+
* Dropdown icon component - displays a down arrow icon.
|
|
1807
|
+
*
|
|
1808
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
1809
|
+
*
|
|
1810
|
+
* @example
|
|
1811
|
+
* ```tsx
|
|
1812
|
+
* import { DropdownIcon } from '@scalably/ui';
|
|
1813
|
+
*
|
|
1814
|
+
* <DropdownIcon size={24} className="sui-text-primary" />
|
|
1815
|
+
* ```
|
|
1816
|
+
*/
|
|
1817
|
+
declare const DropdownIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<DropdownIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
1818
|
+
|
|
1819
|
+
interface DropUpIconProps extends React.SVGProps<SVGSVGElement> {
|
|
1820
|
+
/** Size of the icon in pixels. Defaults to 24. */
|
|
1821
|
+
size?: number;
|
|
1822
|
+
/** Additional CSS classes to apply to the icon */
|
|
1823
|
+
className?: string;
|
|
1824
|
+
/** Stroke width of the icon in pixels. Defaults to 2. */
|
|
1825
|
+
strokeWidth?: number;
|
|
1826
|
+
}
|
|
1827
|
+
/**
|
|
1828
|
+
* DropUp icon component - displays an up arrow icon.
|
|
1829
|
+
*
|
|
1830
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
1831
|
+
*
|
|
1832
|
+
* @example
|
|
1833
|
+
* ```tsx
|
|
1834
|
+
* import { DropUpIcon } from '@scalably/ui';
|
|
1835
|
+
*
|
|
1836
|
+
* <DropUpIcon size={24} className="sui-text-primary" />
|
|
1837
|
+
* ```
|
|
1838
|
+
*/
|
|
1839
|
+
declare const DropUpIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<DropUpIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
1840
|
+
|
|
1841
|
+
interface ErrorIconProps extends React.SVGProps<SVGSVGElement> {
|
|
1842
|
+
/** Size of the icon in pixels. Defaults to 24. */
|
|
1843
|
+
size?: number;
|
|
1844
|
+
/** Additional CSS classes to apply to the icon */
|
|
1845
|
+
className?: string;
|
|
1846
|
+
/** Stroke width of the icon in pixels. Defaults to 1.5. */
|
|
1847
|
+
strokeWidth?: number;
|
|
1848
|
+
}
|
|
1849
|
+
/**
|
|
1850
|
+
* Error icon component - displays an error icon.
|
|
1851
|
+
*
|
|
1852
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
1853
|
+
*
|
|
1854
|
+
* @example
|
|
1855
|
+
* ```tsx
|
|
1856
|
+
* import { ErrorIcon } from '@scalably/ui';
|
|
1857
|
+
*
|
|
1858
|
+
* <ErrorIcon size={24} className="sui-text-primary" />
|
|
1859
|
+
* ```
|
|
1860
|
+
*/
|
|
1861
|
+
declare const ErrorIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<ErrorIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
1862
|
+
|
|
1863
|
+
interface FileIconProps extends React.SVGProps<SVGSVGElement> {
|
|
1864
|
+
/** Size of the icon in pixels. Defaults to 24. */
|
|
1865
|
+
size?: number;
|
|
1866
|
+
/** Additional CSS classes to apply to the icon */
|
|
1867
|
+
className?: string;
|
|
1868
|
+
}
|
|
1869
|
+
/**
|
|
1870
|
+
* File icon component - displays a file icon.
|
|
1871
|
+
*
|
|
1872
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
1873
|
+
*
|
|
1874
|
+
* @example
|
|
1875
|
+
* ```tsx
|
|
1876
|
+
* import { FileIcon } from '@scalably/ui';
|
|
1877
|
+
*
|
|
1878
|
+
* <FileIcon size={24} className="sui-text-primary" />
|
|
1879
|
+
* ```
|
|
1880
|
+
*/
|
|
1881
|
+
declare const FileIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<FileIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
1882
|
+
|
|
1883
|
+
interface FileUploadIconProps extends React.SVGProps<SVGSVGElement> {
|
|
1884
|
+
/** Size of the icon in pixels. Defaults to 24. */
|
|
1885
|
+
size?: number;
|
|
1886
|
+
/** Stroke width of the icon in pixels. Defaults to 1.5. */
|
|
1887
|
+
strokeWidth?: number;
|
|
1888
|
+
/** Additional CSS classes to apply to the icon */
|
|
1889
|
+
className?: string;
|
|
1890
|
+
}
|
|
1891
|
+
/**
|
|
1892
|
+
* FileUpload icon component - displays a file upload icon.
|
|
1893
|
+
*
|
|
1894
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
1895
|
+
*
|
|
1896
|
+
* @example
|
|
1897
|
+
* ```tsx
|
|
1898
|
+
* import { FileUploadIcon } from '@scalably/ui';
|
|
1899
|
+
*
|
|
1900
|
+
* <FileUploadIcon size={24} className="sui-text-primary" />
|
|
1901
|
+
* ```
|
|
1902
|
+
*/
|
|
1903
|
+
declare const FileUploadIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<FileUploadIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
1904
|
+
|
|
1905
|
+
interface GridIconProps extends React.SVGProps<SVGSVGElement> {
|
|
1906
|
+
/** Size of the icon in pixels. Defaults to 24. */
|
|
1907
|
+
size?: number;
|
|
1908
|
+
/** Additional CSS classes to apply to the icon */
|
|
1909
|
+
className?: string;
|
|
1910
|
+
/** Stroke width of the icon in pixels. Defaults to 1.5. */
|
|
1911
|
+
strokeWidth?: number;
|
|
1912
|
+
}
|
|
1913
|
+
/**
|
|
1914
|
+
* Grid icon component - displays a grid icon.
|
|
1915
|
+
*
|
|
1916
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
1917
|
+
*
|
|
1918
|
+
* @example
|
|
1919
|
+
* ```tsx
|
|
1920
|
+
* import { GridIcon } from '@scalably/ui';
|
|
1921
|
+
*
|
|
1922
|
+
* <GridIcon size={24} className="sui-text-primary" />
|
|
1923
|
+
* ```
|
|
1924
|
+
*/
|
|
1925
|
+
declare const GridIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<GridIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
1926
|
+
|
|
1927
|
+
interface ImageIconProps extends React.SVGProps<SVGSVGElement> {
|
|
1928
|
+
/** Size of the icon in pixels. Defaults to 24. */
|
|
1929
|
+
size?: number;
|
|
1930
|
+
/** Additional CSS classes to apply to the icon */
|
|
1931
|
+
className?: string;
|
|
1932
|
+
}
|
|
1933
|
+
/**
|
|
1934
|
+
* Image icon component - displays an image icon.
|
|
1935
|
+
*
|
|
1936
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
1937
|
+
*
|
|
1938
|
+
* @example
|
|
1939
|
+
* ```tsx
|
|
1940
|
+
* import { ImageIcon } from '@scalably/ui';
|
|
1941
|
+
*
|
|
1942
|
+
* <ImageIcon size={24} className="sui-text-primary" />
|
|
1943
|
+
* ```
|
|
1944
|
+
*/
|
|
1945
|
+
declare const ImageIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<ImageIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
1946
|
+
|
|
1947
|
+
interface ImageUploadIconProps extends React.SVGProps<SVGSVGElement> {
|
|
1948
|
+
/** Size of the icon in pixels. Defaults to 24. */
|
|
1949
|
+
size?: number;
|
|
1950
|
+
/** Stroke width of the icon in pixels. Defaults to 1.5. */
|
|
1951
|
+
strokeWidth?: number;
|
|
1952
|
+
/** Additional CSS classes to apply to the icon */
|
|
1953
|
+
className?: string;
|
|
1954
|
+
}
|
|
1955
|
+
/**
|
|
1956
|
+
* ImageUpload icon component - displays an image upload icon.
|
|
1957
|
+
*
|
|
1958
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
1959
|
+
*
|
|
1960
|
+
* @example
|
|
1961
|
+
* ```tsx
|
|
1962
|
+
* import { ImageUploadIcon } from '@scalably/ui';
|
|
1963
|
+
*
|
|
1964
|
+
* <ImageUploadIcon size={24} className="sui-text-primary" />
|
|
1965
|
+
* ```
|
|
1966
|
+
*/
|
|
1967
|
+
declare const ImageUploadIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<ImageUploadIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
1968
|
+
|
|
1969
|
+
interface IndeterminateIconProps extends React.SVGProps<SVGSVGElement> {
|
|
1970
|
+
/** Size of the icon in pixels. Defaults to 20. */
|
|
1971
|
+
size?: number;
|
|
1972
|
+
/** Additional CSS classes to apply to the icon */
|
|
1973
|
+
className?: string;
|
|
1974
|
+
/** Stroke width of the icon in pixels. Defaults to 2. */
|
|
1975
|
+
strokeWidth?: number;
|
|
1976
|
+
}
|
|
1977
|
+
/**
|
|
1978
|
+
* Indeterminate icon component - displays an indeterminate icon.
|
|
1979
|
+
*
|
|
1980
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
1981
|
+
*
|
|
1982
|
+
* @example
|
|
1983
|
+
* ```tsx
|
|
1984
|
+
* import { IndeterminateIcon } from '@scalably/ui';
|
|
1985
|
+
*
|
|
1986
|
+
* <IndeterminateIcon size={20} className="sui-text-primary" />
|
|
1987
|
+
* ```
|
|
1988
|
+
*/
|
|
1989
|
+
declare const IndeterminateIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<IndeterminateIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
1990
|
+
|
|
1991
|
+
interface InfoIconProps extends React.SVGProps<SVGSVGElement> {
|
|
1992
|
+
/** Size of the icon in pixels. Defaults to 24. */
|
|
1993
|
+
size?: number;
|
|
1994
|
+
/** Additional CSS classes to apply to the icon */
|
|
1995
|
+
className?: string;
|
|
1996
|
+
/** Stroke width of the icon in pixels. Defaults to 1.5. */
|
|
1997
|
+
strokeWidth?: number;
|
|
1998
|
+
}
|
|
1999
|
+
/**
|
|
2000
|
+
* Info icon component - displays an info icon.
|
|
2001
|
+
*
|
|
2002
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
2003
|
+
*
|
|
2004
|
+
* @example
|
|
2005
|
+
* ```tsx
|
|
2006
|
+
* import { InfoIcon } from '@scalably/ui';
|
|
2007
|
+
*
|
|
2008
|
+
* <InfoIcon size={24} className="sui-text-primary" />
|
|
2009
|
+
* ```
|
|
2010
|
+
*/
|
|
2011
|
+
declare const InfoIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<InfoIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
2012
|
+
|
|
2013
|
+
interface ListIconProps extends React.SVGProps<SVGSVGElement> {
|
|
2014
|
+
/** Size of the icon in pixels. Defaults to 24. */
|
|
2015
|
+
size?: number;
|
|
2016
|
+
/** Additional CSS classes to apply to the icon */
|
|
2017
|
+
className?: string;
|
|
2018
|
+
/** Stroke width of the icon in pixels. Defaults to 1.5. */
|
|
2019
|
+
strokeWidth?: number;
|
|
2020
|
+
}
|
|
2021
|
+
/**
|
|
2022
|
+
* List icon component - displays a list icon.
|
|
2023
|
+
*
|
|
2024
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
2025
|
+
*
|
|
2026
|
+
* @example
|
|
2027
|
+
* ```tsx
|
|
2028
|
+
* import { ListIcon } from '@scalably/ui';
|
|
2029
|
+
*
|
|
2030
|
+
* <ListIcon size={24} className="sui-text-primary" />
|
|
2031
|
+
* ```
|
|
2032
|
+
*/
|
|
2033
|
+
declare const ListIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<ListIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
2034
|
+
|
|
2035
|
+
interface MinusIconProps extends React.SVGProps<SVGSVGElement> {
|
|
2036
|
+
/** Size of the icon in pixels. Defaults to 16. */
|
|
2037
|
+
size?: number;
|
|
2038
|
+
/** Additional CSS classes to apply to the icon */
|
|
2039
|
+
className?: string;
|
|
2040
|
+
/** Stroke width of the icon in pixels. Defaults to 1.5. */
|
|
2041
|
+
strokeWidth?: number;
|
|
2042
|
+
}
|
|
2043
|
+
/**
|
|
2044
|
+
* Minus icon component - displays a minus icon.
|
|
2045
|
+
*
|
|
2046
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
2047
|
+
*
|
|
2048
|
+
* @example
|
|
2049
|
+
* ```tsx
|
|
2050
|
+
* import { MinusIcon } from '@scalably/ui';
|
|
2051
|
+
*
|
|
2052
|
+
* <MinusIcon size={16} className="sui-text-primary" />
|
|
2053
|
+
* ```
|
|
2054
|
+
*/
|
|
2055
|
+
declare const MinusIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<MinusIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
2056
|
+
|
|
2057
|
+
interface MultipleSelectionIconProps extends React.SVGProps<SVGSVGElement> {
|
|
2058
|
+
/** Size of the icon in pixels. Defaults to 24. */
|
|
2059
|
+
size?: number;
|
|
2060
|
+
/** Additional CSS classes to apply to the icon */
|
|
2061
|
+
className?: string;
|
|
2062
|
+
}
|
|
2063
|
+
/**
|
|
2064
|
+
* MultipleSelection icon component - displays a multiple selection icon.
|
|
2065
|
+
*
|
|
2066
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
2067
|
+
*
|
|
2068
|
+
* @example
|
|
2069
|
+
* ```tsx
|
|
2070
|
+
* import { MultipleSelectionIcon } from '@scalably/ui';
|
|
2071
|
+
*
|
|
2072
|
+
* <MultipleSelectionIcon size={24} className="sui-text-primary" />
|
|
2073
|
+
* ```
|
|
2074
|
+
*/
|
|
2075
|
+
declare const MultipleSelectionIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<MultipleSelectionIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
2076
|
+
|
|
2077
|
+
/**
|
|
2078
|
+
* Props for the PlusIcon component
|
|
2079
|
+
*/
|
|
2080
|
+
interface PlusIconProps extends React.SVGProps<SVGSVGElement> {
|
|
2081
|
+
/** Size of the icon in pixels. Defaults to 16. */
|
|
2082
|
+
size?: number;
|
|
2083
|
+
/** Additional CSS classes to apply to the icon */
|
|
2084
|
+
className?: string;
|
|
2085
|
+
/** Stroke width of the icon in pixels. Defaults to 1.5. */
|
|
2086
|
+
strokeWidth?: number;
|
|
2087
|
+
}
|
|
2088
|
+
/**
|
|
2089
|
+
* Plus icon component - displays a plus icon.
|
|
2090
|
+
*
|
|
2091
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
2092
|
+
*
|
|
2093
|
+
* @example
|
|
2094
|
+
* ```tsx
|
|
2095
|
+
* import { PlusIcon } from '@scalably/ui';
|
|
2096
|
+
*
|
|
2097
|
+
* <PlusIcon size={16} className="sui-text-primary" />
|
|
2098
|
+
* ```
|
|
2099
|
+
*/
|
|
2100
|
+
declare const PlusIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<PlusIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
2101
|
+
|
|
2102
|
+
/**
|
|
2103
|
+
* Props for the SearchIcon component
|
|
2104
|
+
*/
|
|
2105
|
+
interface SearchIconProps extends React.SVGProps<SVGSVGElement> {
|
|
2106
|
+
/** Size of the icon in pixels. Defaults to 24. */
|
|
2107
|
+
size?: number;
|
|
2108
|
+
/** Additional CSS classes to apply to the icon */
|
|
2109
|
+
className?: string;
|
|
2110
|
+
/** Stroke width of the icon in pixels. Defaults to 1.5. */
|
|
2111
|
+
strokeWidth?: number;
|
|
2112
|
+
}
|
|
2113
|
+
/**
|
|
2114
|
+
* Search icon component - a magnifying glass icon for search functionality.
|
|
2115
|
+
*
|
|
2116
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
2117
|
+
*
|
|
2118
|
+
* @example
|
|
2119
|
+
* ```tsx
|
|
2120
|
+
* import { SearchIcon } from '@scalably/ui';
|
|
2121
|
+
*
|
|
2122
|
+
* <SearchIcon size={20} className="sui-text-blue-500" />
|
|
2123
|
+
* ```
|
|
2124
|
+
*/
|
|
2125
|
+
declare const SearchIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<SearchIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
2126
|
+
|
|
2127
|
+
interface SettingsIconProps extends React.SVGProps<SVGSVGElement> {
|
|
2128
|
+
/** Size of the icon in pixels. Defaults to 24. */
|
|
2129
|
+
size?: number;
|
|
2130
|
+
/** Additional CSS classes to apply to the icon */
|
|
2131
|
+
className?: string;
|
|
2132
|
+
/** Stroke width of the icon in pixels. Defaults to 1.5. */
|
|
2133
|
+
strokeWidth?: number;
|
|
2134
|
+
}
|
|
2135
|
+
/**
|
|
2136
|
+
* Settings icon component - displays a settings icon.
|
|
2137
|
+
*
|
|
2138
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
2139
|
+
*
|
|
2140
|
+
* @example
|
|
2141
|
+
* ```tsx
|
|
2142
|
+
* import { SettingsIcon } from '@scalably/ui';
|
|
2143
|
+
*
|
|
2144
|
+
* <SettingsIcon size={24} className="sui-text-primary" />
|
|
2145
|
+
* ```
|
|
2146
|
+
*/
|
|
2147
|
+
declare const SettingsIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<SettingsIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
2148
|
+
|
|
2149
|
+
/**
|
|
2150
|
+
* Props for the SuccessIcon component
|
|
2151
|
+
*/
|
|
2152
|
+
interface SuccessIconProps extends React.SVGProps<SVGSVGElement> {
|
|
2153
|
+
/** Size of the icon in pixels. Defaults to 24. */
|
|
2154
|
+
size?: number;
|
|
2155
|
+
/** Additional CSS classes to apply to the icon */
|
|
2156
|
+
className?: string;
|
|
2157
|
+
/** Stroke width of the icon in pixels. Defaults to 1.5. */
|
|
2158
|
+
strokeWidth?: number;
|
|
2159
|
+
}
|
|
2160
|
+
/**
|
|
2161
|
+
* Success icon component - displays a checkmark in a green gradient circle.
|
|
2162
|
+
*
|
|
2163
|
+
* **Note:** This icon has fixed brand colors (green gradient with white checkmark)
|
|
2164
|
+
* and cannot be customized. Use for success/confirmation states.
|
|
2165
|
+
*
|
|
2166
|
+
* @example
|
|
2167
|
+
* ```tsx
|
|
2168
|
+
* import { SuccessIcon } from '@scalably/ui';
|
|
2169
|
+
*
|
|
2170
|
+
* <SuccessIcon size={24} />
|
|
2171
|
+
* ```
|
|
2172
|
+
*/
|
|
2173
|
+
declare const SuccessIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<SuccessIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
2174
|
+
|
|
2175
|
+
interface TickIconProps extends React.SVGProps<SVGSVGElement> {
|
|
2176
|
+
/** Size of the icon in pixels. Defaults to 16. */
|
|
2177
|
+
size?: number;
|
|
2178
|
+
/** Additional CSS classes to apply to the icon */
|
|
2179
|
+
className?: string;
|
|
2180
|
+
/** Stroke width of the icon in pixels. Defaults to 1.5. */
|
|
2181
|
+
strokeWidth?: number;
|
|
2182
|
+
}
|
|
2183
|
+
/**
|
|
2184
|
+
* Tick icon component - displays a tick icon.
|
|
2185
|
+
*
|
|
2186
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
2187
|
+
*
|
|
2188
|
+
* @example
|
|
2189
|
+
* ```tsx
|
|
2190
|
+
* import { TickIcon } from '@scalably/ui';
|
|
2191
|
+
*
|
|
2192
|
+
* <TickIcon size={16} className="sui-text-primary" />
|
|
2193
|
+
* ```
|
|
2194
|
+
*/
|
|
2195
|
+
declare const TickIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<TickIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
2196
|
+
|
|
2197
|
+
interface ToFirstIconProps extends React.SVGProps<SVGSVGElement> {
|
|
2198
|
+
/** Size of the icon in pixels. Defaults to 24. */
|
|
2199
|
+
size?: number;
|
|
2200
|
+
/** Additional CSS classes to apply to the icon */
|
|
2201
|
+
className?: string;
|
|
2202
|
+
/** Stroke width of the icon in pixels. Defaults to 1.5. */
|
|
2203
|
+
strokeWidth?: number;
|
|
2204
|
+
}
|
|
2205
|
+
/**
|
|
2206
|
+
* ToFirst icon component - displays a to first icon.
|
|
2207
|
+
*
|
|
2208
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
2209
|
+
*
|
|
2210
|
+
* @example
|
|
2211
|
+
* ```tsx
|
|
2212
|
+
* import { ToFirstIcon } from '@scalably/ui';
|
|
2213
|
+
*
|
|
2214
|
+
* <ToFirstIcon size={24} className="sui-text-primary" />
|
|
2215
|
+
* ```
|
|
2216
|
+
*/
|
|
2217
|
+
declare const ToFirstIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<ToFirstIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
2218
|
+
|
|
2219
|
+
interface ToLastIconProps extends React.SVGProps<SVGSVGElement> {
|
|
2220
|
+
/** Size of the icon in pixels. Defaults to 24. */
|
|
2221
|
+
size?: number;
|
|
2222
|
+
/** Additional CSS classes to apply to the icon */
|
|
2223
|
+
className?: string;
|
|
2224
|
+
/** Stroke width of the icon in pixels. Defaults to 1.5. */
|
|
2225
|
+
strokeWidth?: number;
|
|
2226
|
+
}
|
|
2227
|
+
/**
|
|
2228
|
+
* ToLast icon component - displays a to last icon.
|
|
2229
|
+
*
|
|
2230
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
2231
|
+
*
|
|
2232
|
+
* @example
|
|
2233
|
+
* ```tsx
|
|
2234
|
+
* import { ToLastIcon } from '@scalably/ui';
|
|
2235
|
+
*
|
|
2236
|
+
* <ToLastIcon size={24} className="sui-text-primary" />
|
|
2237
|
+
* ```
|
|
2238
|
+
*/
|
|
2239
|
+
declare const ToLastIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<ToLastIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
2240
|
+
|
|
2241
|
+
interface ToNextIconProps extends React.SVGProps<SVGSVGElement> {
|
|
2242
|
+
/** Size of the icon in pixels. Defaults to 24. */
|
|
2243
|
+
size?: number;
|
|
2244
|
+
/** Additional CSS classes to apply to the icon */
|
|
2245
|
+
className?: string;
|
|
2246
|
+
/** Stroke width of the icon in pixels. Defaults to 1.5. */
|
|
2247
|
+
strokeWidth?: number;
|
|
2248
|
+
}
|
|
2249
|
+
/**
|
|
2250
|
+
* ToNext icon component - displays a to next icon.
|
|
2251
|
+
*
|
|
2252
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
2253
|
+
*
|
|
2254
|
+
* @example
|
|
2255
|
+
* ```tsx
|
|
2256
|
+
* import { ToNextIcon } from '@scalably/ui';
|
|
2257
|
+
*
|
|
2258
|
+
* <ToNextIcon size={24} className="sui-text-primary" />
|
|
2259
|
+
* ```
|
|
2260
|
+
*/
|
|
2261
|
+
declare const ToNextIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<ToNextIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
2262
|
+
|
|
2263
|
+
interface ToPreviousIconProps extends React.SVGProps<SVGSVGElement> {
|
|
2264
|
+
/** Size of the icon in pixels. Defaults to 24. */
|
|
2265
|
+
size?: number;
|
|
2266
|
+
/** Additional CSS classes to apply to the icon */
|
|
2267
|
+
className?: string;
|
|
2268
|
+
/** Stroke width of the icon in pixels. Defaults to 1.5. */
|
|
2269
|
+
strokeWidth?: number;
|
|
2270
|
+
}
|
|
2271
|
+
/**
|
|
2272
|
+
* ToPrevious icon component - displays a to previous icon.
|
|
2273
|
+
*
|
|
2274
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
2275
|
+
*
|
|
2276
|
+
* @example
|
|
2277
|
+
* ```tsx
|
|
2278
|
+
* import { ToPreviousIcon } from '@scalably/ui';
|
|
2279
|
+
*
|
|
2280
|
+
* <ToPreviousIcon size={24} className="sui-text-primary" />
|
|
2281
|
+
* ```
|
|
2282
|
+
*/
|
|
2283
|
+
declare const ToPreviousIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<ToPreviousIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
2284
|
+
|
|
2285
|
+
interface VideoIconProps extends React.SVGProps<SVGSVGElement> {
|
|
2286
|
+
/** Size of the icon in pixels. Defaults to 24. */
|
|
2287
|
+
size?: number;
|
|
2288
|
+
/** Additional CSS classes to apply to the icon */
|
|
2289
|
+
className?: string;
|
|
2290
|
+
}
|
|
2291
|
+
/**
|
|
2292
|
+
* Video icon component - displays a video icon.
|
|
2293
|
+
*
|
|
2294
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
2295
|
+
*
|
|
2296
|
+
* @example
|
|
2297
|
+
* ```tsx
|
|
2298
|
+
* import { VideoIcon } from '@scalably/ui';
|
|
2299
|
+
*
|
|
2300
|
+
* <VideoIcon size={24} className="sui-text-primary" />
|
|
2301
|
+
* ```
|
|
2302
|
+
*/
|
|
2303
|
+
declare const VideoIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<VideoIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
2304
|
+
|
|
2305
|
+
interface VideoUploadIconProps extends React.SVGProps<SVGSVGElement> {
|
|
2306
|
+
/** Size of the icon in pixels. Defaults to 24. */
|
|
2307
|
+
size?: number;
|
|
2308
|
+
/** Stroke width of the icon in pixels. Defaults to 1.5. */
|
|
2309
|
+
strokeWidth?: number;
|
|
2310
|
+
/** Additional CSS classes to apply to the icon */
|
|
2311
|
+
className?: string;
|
|
2312
|
+
}
|
|
2313
|
+
/**
|
|
2314
|
+
* VideoUpload icon component - displays a video upload icon.
|
|
2315
|
+
*
|
|
2316
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
2317
|
+
*
|
|
2318
|
+
* @example
|
|
2319
|
+
* ```tsx
|
|
2320
|
+
* import { VideoUploadIcon } from '@scalably/ui';
|
|
2321
|
+
*
|
|
2322
|
+
* <VideoUploadIcon size={24} className="sui-text-primary" />
|
|
2323
|
+
* ```
|
|
2324
|
+
*/
|
|
2325
|
+
declare const VideoUploadIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<VideoUploadIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
2326
|
+
|
|
2327
|
+
interface WarnIconProps extends React.SVGProps<SVGSVGElement> {
|
|
2328
|
+
/** Size of the icon in pixels. Defaults to 24. */
|
|
2329
|
+
size?: number;
|
|
2330
|
+
/** Additional CSS classes to apply to the icon */
|
|
2331
|
+
className?: string;
|
|
2332
|
+
/** Stroke width of the icon in pixels. Defaults to 1.5. */
|
|
2333
|
+
strokeWidth?: number;
|
|
2334
|
+
}
|
|
2335
|
+
/**
|
|
2336
|
+
* Warn icon component - displays a warn icon.
|
|
2337
|
+
*
|
|
2338
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
2339
|
+
*
|
|
2340
|
+
* @example
|
|
2341
|
+
* ```tsx
|
|
2342
|
+
* import { WarnIcon } from '@scalably/ui';
|
|
2343
|
+
*
|
|
2344
|
+
* <WarnIcon size={24} className="sui-text-primary" />
|
|
2345
|
+
* ```
|
|
2346
|
+
*/
|
|
2347
|
+
declare const WarnIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<WarnIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
2348
|
+
|
|
2349
|
+
/**
|
|
2350
|
+
* Props for the DiscordIcon component
|
|
2351
|
+
*/
|
|
2352
|
+
interface DiscordIconProps extends React.SVGProps<SVGSVGElement> {
|
|
2353
|
+
/** Size of the icon in pixels. Defaults to 32. */
|
|
2354
|
+
size?: number;
|
|
2355
|
+
/** Additional CSS classes to apply to the icon */
|
|
2356
|
+
className?: string;
|
|
2357
|
+
}
|
|
2358
|
+
/**
|
|
2359
|
+
* Discord icon component - displays the Discord logo.
|
|
2360
|
+
*
|
|
2361
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
2362
|
+
*
|
|
2363
|
+
* @example
|
|
2364
|
+
* ```tsx
|
|
2365
|
+
* import { DiscordIcon } from '@scalably/ui';
|
|
2366
|
+
*
|
|
2367
|
+
* <DiscordIcon size={32} className="sui-text-primary" />
|
|
2368
|
+
* ```
|
|
2369
|
+
*/
|
|
2370
|
+
declare const DiscordIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<DiscordIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
2371
|
+
|
|
2372
|
+
interface FacebookIconProps extends React.SVGProps<SVGSVGElement> {
|
|
2373
|
+
/** Size of the icon in pixels. Defaults to 32. */
|
|
2374
|
+
size?: number;
|
|
2375
|
+
/** Additional CSS classes to apply to the icon */
|
|
2376
|
+
className?: string;
|
|
2377
|
+
}
|
|
2378
|
+
/**
|
|
2379
|
+
* Facebook icon component - displays the Facebook logo.
|
|
2380
|
+
*
|
|
2381
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
2382
|
+
*
|
|
2383
|
+
* @example
|
|
2384
|
+
* ```tsx
|
|
2385
|
+
* import { FacebookIcon } from '@scalably/ui';
|
|
2386
|
+
*
|
|
2387
|
+
* <FacebookIcon size={32} className="sui-text-primary" />
|
|
2388
|
+
* ```
|
|
2389
|
+
*/
|
|
2390
|
+
declare const FacebookIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<FacebookIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
2391
|
+
|
|
2392
|
+
interface GmailIconProps extends React.SVGProps<SVGSVGElement> {
|
|
2393
|
+
/** Size of the icon in pixels. Defaults to 32. */
|
|
2394
|
+
size?: number;
|
|
2395
|
+
/** Additional CSS classes to apply to the icon */
|
|
2396
|
+
className?: string;
|
|
2397
|
+
}
|
|
2398
|
+
/**
|
|
2399
|
+
* Gmail icon component - displays the Gmail logo.
|
|
2400
|
+
*
|
|
2401
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
2402
|
+
*
|
|
2403
|
+
* @example
|
|
2404
|
+
* ```tsx
|
|
2405
|
+
* import { GmailIcon } from '@scalably/ui';
|
|
2406
|
+
*
|
|
2407
|
+
* <GmailIcon size={32} className="sui-text-primary" />
|
|
2408
|
+
* ```
|
|
2409
|
+
*/
|
|
2410
|
+
declare const GmailIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<GmailIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
2411
|
+
|
|
2412
|
+
interface InstagramIconProps extends React.SVGProps<SVGSVGElement> {
|
|
2413
|
+
/** Size of the icon in pixels. Defaults to 32. */
|
|
2414
|
+
size?: number;
|
|
2415
|
+
/** Additional CSS classes to apply to the icon */
|
|
2416
|
+
className?: string;
|
|
2417
|
+
}
|
|
2418
|
+
/**
|
|
2419
|
+
* Instagram icon component - displays the Instagram logo.
|
|
2420
|
+
*
|
|
2421
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
2422
|
+
*
|
|
2423
|
+
* @example
|
|
2424
|
+
* ```tsx
|
|
2425
|
+
* import { InstagramIcon } from '@scalably/ui';
|
|
2426
|
+
*
|
|
2427
|
+
* <InstagramIcon size={32} className="sui-text-primary" />
|
|
2428
|
+
* ```
|
|
2429
|
+
*/
|
|
2430
|
+
declare const InstagramIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<InstagramIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
2431
|
+
|
|
2432
|
+
interface KakaoTalkIconProps extends React.SVGProps<SVGSVGElement> {
|
|
2433
|
+
/** Size of the icon in pixels. Defaults to 32. */
|
|
2434
|
+
size?: number;
|
|
2435
|
+
/** Additional CSS classes to apply to the icon */
|
|
2436
|
+
className?: string;
|
|
2437
|
+
}
|
|
2438
|
+
/**
|
|
2439
|
+
* KakaoTalk icon component - displays the KakaoTalk logo.
|
|
2440
|
+
*
|
|
2441
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
2442
|
+
*
|
|
2443
|
+
* @example
|
|
2444
|
+
* ```tsx
|
|
2445
|
+
* import { KakaoTalkIcon } from '@scalably/ui';
|
|
2446
|
+
*
|
|
2447
|
+
* <KakaoTalkIcon size={32} className="sui-text-primary" />
|
|
2448
|
+
* ```
|
|
2449
|
+
*/
|
|
2450
|
+
declare const KakaoTalkIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<KakaoTalkIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
2451
|
+
|
|
2452
|
+
interface LineIconProps extends React.SVGProps<SVGSVGElement> {
|
|
2453
|
+
/** Size of the icon in pixels. Defaults to 32. */
|
|
2454
|
+
size?: number;
|
|
2455
|
+
/** Additional CSS classes to apply to the icon */
|
|
2456
|
+
className?: string;
|
|
2457
|
+
}
|
|
2458
|
+
/**
|
|
2459
|
+
* Line icon component - displays the Line logo.
|
|
2460
|
+
*
|
|
2461
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
2462
|
+
*
|
|
2463
|
+
* @example
|
|
2464
|
+
* ```tsx
|
|
2465
|
+
* import { LineIcon } from '@scalably/ui';
|
|
2466
|
+
*
|
|
2467
|
+
* <LineIcon size={32} className="sui-text-primary" />
|
|
2468
|
+
* ```
|
|
2469
|
+
*/
|
|
2470
|
+
declare const LineIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<LineIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
2471
|
+
|
|
2472
|
+
interface LinkedInIconProps extends React.SVGProps<SVGSVGElement> {
|
|
2473
|
+
/** Size of the icon in pixels. Defaults to 32. */
|
|
2474
|
+
size?: number;
|
|
2475
|
+
/** Additional CSS classes to apply to the icon */
|
|
2476
|
+
className?: string;
|
|
2477
|
+
}
|
|
2478
|
+
/**
|
|
2479
|
+
* LinkedIn icon component - displays the LinkedIn logo.
|
|
2480
|
+
*
|
|
2481
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
2482
|
+
*
|
|
2483
|
+
* @example
|
|
2484
|
+
* ```tsx
|
|
2485
|
+
* import { LinkedInIcon } from '@scalably/ui';
|
|
2486
|
+
*
|
|
2487
|
+
* <LinkedInIcon size={32} className="sui-text-primary" />
|
|
2488
|
+
* ```
|
|
2489
|
+
*/
|
|
2490
|
+
declare const LinkedInIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<LinkedInIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
2491
|
+
|
|
2492
|
+
interface MessengerIconProps extends React.SVGProps<SVGSVGElement> {
|
|
2493
|
+
/** Size of the icon in pixels. Defaults to 32. */
|
|
2494
|
+
size?: number;
|
|
2495
|
+
/** Additional CSS classes to apply to the icon */
|
|
2496
|
+
className?: string;
|
|
2497
|
+
}
|
|
2498
|
+
/**
|
|
2499
|
+
* Messenger icon component - displays the Messenger logo.
|
|
2500
|
+
*
|
|
2501
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
2502
|
+
*
|
|
2503
|
+
* @example
|
|
2504
|
+
* ```tsx
|
|
2505
|
+
* import { MessengerIcon } from '@scalably/ui';
|
|
2506
|
+
*
|
|
2507
|
+
* <MessengerIcon size={32} className="sui-text-primary" />
|
|
2508
|
+
* ```
|
|
2509
|
+
*/
|
|
2510
|
+
declare const MessengerIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<MessengerIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
2511
|
+
|
|
2512
|
+
interface RedditIconProps extends React.SVGProps<SVGSVGElement> {
|
|
2513
|
+
/** Size of the icon in pixels. Defaults to 32. */
|
|
2514
|
+
size?: number;
|
|
2515
|
+
/** Additional CSS classes to apply to the icon */
|
|
2516
|
+
className?: string;
|
|
2517
|
+
}
|
|
2518
|
+
/**
|
|
2519
|
+
* Reddit icon component - displays the Reddit logo.
|
|
2520
|
+
*
|
|
2521
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
2522
|
+
*
|
|
2523
|
+
* @example
|
|
2524
|
+
* ```tsx
|
|
2525
|
+
* import { RedditIcon } from '@scalably/ui';
|
|
2526
|
+
*
|
|
2527
|
+
* <RedditIcon size={32} className="sui-text-primary" />
|
|
2528
|
+
* ```
|
|
2529
|
+
*/
|
|
2530
|
+
declare const RedditIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<RedditIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
2531
|
+
|
|
2532
|
+
interface SignalIconProps extends React.SVGProps<SVGSVGElement> {
|
|
2533
|
+
/** Size of the icon in pixels. Defaults to 32. */
|
|
2534
|
+
size?: number;
|
|
2535
|
+
/** Additional CSS classes to apply to the icon */
|
|
2536
|
+
className?: string;
|
|
2537
|
+
}
|
|
2538
|
+
/**
|
|
2539
|
+
* Signal icon component - displays the Signal logo.
|
|
2540
|
+
*
|
|
2541
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
2542
|
+
*
|
|
2543
|
+
* @example
|
|
2544
|
+
* ```tsx
|
|
2545
|
+
* import { SignalIcon } from '@scalably/ui';
|
|
2546
|
+
*
|
|
2547
|
+
* <SignalIcon size={32} className="sui-text-primary" />
|
|
2548
|
+
* ```
|
|
2549
|
+
*/
|
|
2550
|
+
declare const SignalIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<SignalIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
2551
|
+
|
|
2552
|
+
interface SlackIconProps extends React.SVGProps<SVGSVGElement> {
|
|
2553
|
+
/** Size of the icon in pixels. Defaults to 32. */
|
|
2554
|
+
size?: number;
|
|
2555
|
+
/** Additional CSS classes to apply to the icon */
|
|
2556
|
+
className?: string;
|
|
2557
|
+
}
|
|
2558
|
+
/**
|
|
2559
|
+
* Slack icon component - displays the Slack logo.
|
|
2560
|
+
*
|
|
2561
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
2562
|
+
*
|
|
2563
|
+
* @example
|
|
2564
|
+
* ```tsx
|
|
2565
|
+
* import { SlackIcon } from '@scalably/ui';
|
|
2566
|
+
*
|
|
2567
|
+
* <SlackIcon size={32} className="sui-text-primary" />
|
|
2568
|
+
* ```
|
|
2569
|
+
*/
|
|
2570
|
+
declare const SlackIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<SlackIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
2571
|
+
|
|
2572
|
+
interface TelegramIconProps extends React.SVGProps<SVGSVGElement> {
|
|
2573
|
+
/** Size of the icon in pixels. Defaults to 32. */
|
|
2574
|
+
size?: number;
|
|
2575
|
+
/** Additional CSS classes to apply to the icon */
|
|
2576
|
+
className?: string;
|
|
2577
|
+
}
|
|
2578
|
+
/**
|
|
2579
|
+
* Telegram icon component - displays the Telegram logo.
|
|
2580
|
+
*
|
|
2581
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
2582
|
+
*
|
|
2583
|
+
* @example
|
|
2584
|
+
* ```tsx
|
|
2585
|
+
* import { TelegramIcon } from '@scalably/ui';
|
|
2586
|
+
*
|
|
2587
|
+
* <TelegramIcon size={32} className="sui-text-primary" />
|
|
2588
|
+
* ```
|
|
2589
|
+
*/
|
|
2590
|
+
declare const TelegramIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<TelegramIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
2591
|
+
|
|
2592
|
+
interface TiktokIconProps extends React.SVGProps<SVGSVGElement> {
|
|
2593
|
+
/** Size of the icon in pixels. Defaults to 32. */
|
|
2594
|
+
size?: number;
|
|
2595
|
+
/** Additional CSS classes to apply to the icon */
|
|
2596
|
+
className?: string;
|
|
2597
|
+
}
|
|
2598
|
+
/**
|
|
2599
|
+
* Tiktok icon component - displays the Tiktok logo.
|
|
2600
|
+
*
|
|
2601
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
2602
|
+
*
|
|
2603
|
+
* @example
|
|
2604
|
+
* ```tsx
|
|
2605
|
+
* import { TiktokIcon } from '@scalably/ui';
|
|
2606
|
+
*
|
|
2607
|
+
* <TiktokIcon size={32} className="sui-text-primary" />
|
|
2608
|
+
* ```
|
|
2609
|
+
*/
|
|
2610
|
+
declare const TiktokIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<TiktokIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
2611
|
+
|
|
2612
|
+
interface TwitchIconProps extends React.SVGProps<SVGSVGElement> {
|
|
2613
|
+
/** Size of the icon in pixels. Defaults to 32. */
|
|
2614
|
+
size?: number;
|
|
2615
|
+
/** Additional CSS classes to apply to the icon */
|
|
2616
|
+
className?: string;
|
|
2617
|
+
}
|
|
2618
|
+
/**
|
|
2619
|
+
* Twitch icon component - displays the Twitch logo.
|
|
2620
|
+
*
|
|
2621
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
2622
|
+
*
|
|
2623
|
+
* @example
|
|
2624
|
+
* ```tsx
|
|
2625
|
+
* import { TwitchIcon } from '@scalably/ui';
|
|
2626
|
+
*
|
|
2627
|
+
* <TwitchIcon size={32} className="sui-text-primary" />
|
|
2628
|
+
* ```
|
|
2629
|
+
*/
|
|
2630
|
+
declare const TwitchIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<TwitchIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
2631
|
+
|
|
2632
|
+
interface WhatsAppIconProps extends React.SVGProps<SVGSVGElement> {
|
|
2633
|
+
/** Size of the icon in pixels. Defaults to 32. */
|
|
2634
|
+
size?: number;
|
|
2635
|
+
/** Additional CSS classes to apply to the icon */
|
|
2636
|
+
className?: string;
|
|
2637
|
+
}
|
|
2638
|
+
/**
|
|
2639
|
+
* WhatsApp icon component - displays the WhatsApp logo.
|
|
2640
|
+
*
|
|
2641
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
2642
|
+
*
|
|
2643
|
+
* @example
|
|
2644
|
+
* ```tsx
|
|
2645
|
+
* import { WhatsAppIcon } from '@scalably/ui';
|
|
2646
|
+
*
|
|
2647
|
+
* <WhatsAppIcon size={32} className="sui-text-primary" />
|
|
2648
|
+
* ```
|
|
2649
|
+
*/
|
|
2650
|
+
declare const WhatsAppIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<WhatsAppIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
2651
|
+
|
|
2652
|
+
interface XIconProps extends React.SVGProps<SVGSVGElement> {
|
|
2653
|
+
/** Size of the icon in pixels. Defaults to 32. */
|
|
2654
|
+
size?: number;
|
|
2655
|
+
/** Additional CSS classes to apply to the icon */
|
|
2656
|
+
className?: string;
|
|
2657
|
+
}
|
|
2658
|
+
/**
|
|
2659
|
+
* X icon component - displays the X logo.
|
|
2660
|
+
*
|
|
2661
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
2662
|
+
*
|
|
2663
|
+
* @example
|
|
2664
|
+
* ```tsx
|
|
2665
|
+
* import { XIcon } from '@scalably/ui';
|
|
2666
|
+
*
|
|
2667
|
+
* <XIcon size={32} className="sui-text-primary" />
|
|
2668
|
+
* ```
|
|
2669
|
+
*/
|
|
2670
|
+
declare const XIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<XIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
2671
|
+
|
|
2672
|
+
interface YoutubeIconProps extends React.SVGProps<SVGSVGElement> {
|
|
2673
|
+
/** Size of the icon in pixels. Defaults to 32. */
|
|
2674
|
+
size?: number;
|
|
2675
|
+
/** Additional CSS classes to apply to the icon */
|
|
2676
|
+
className?: string;
|
|
2677
|
+
}
|
|
2678
|
+
/**
|
|
2679
|
+
* Youtube icon component - displays the Youtube logo.
|
|
2680
|
+
*
|
|
2681
|
+
* This icon uses `currentColor`, so it can be styled with Tailwind classes.
|
|
2682
|
+
*
|
|
2683
|
+
* @example
|
|
2684
|
+
* ```tsx
|
|
2685
|
+
* import { YoutubeIcon } from '@scalably/ui';
|
|
2686
|
+
*
|
|
2687
|
+
* <YoutubeIcon size={32} className="sui-text-primary" />
|
|
2688
|
+
* ```
|
|
2689
|
+
*/
|
|
2690
|
+
declare const YoutubeIcon: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<YoutubeIconProps, "ref"> & react.RefAttributes<SVGSVGElement>>>;
|
|
2691
|
+
|
|
2692
|
+
export { BackToTop, type BackToTopProps, Button, type ButtonProps, type ButtonSize, type ButtonVariant, CalendarIcon, type CalendarIconProps, CaptureIcon, type CaptureIconProps, CheckIcon, type CheckIconProps, Checkbox, CheckboxGroup, type CheckboxGroupOption, type CheckboxGroupProps, type CheckboxProps, CloseIcon, type CloseIconProps, DateInput, type DateInputMode, type DateInputProps, DatePicker, type DatePickerMode, type DatePickerProps, DiscordIcon, type DiscordIconProps, Divider, type DividerProps, type DividerVariant, DropUpIcon, type DropUpIconProps, DropdownIcon, type DropdownIconProps, ErrorIcon, type ErrorIconProps, FacebookIcon, type FacebookIconProps, type FieldErrorLike, FileIcon, type FileIconProps, FileUpload, type FileUploadError, type FileUploadFile, FileUploadIcon, type FileUploadIconProps, type FileUploadIconType, type FileUploadProps, type FileUploadSize, type FileUploadVariant, Form, type FormErrorItem, FormErrorSummary, type FormErrorSummaryProps, FormField, type FormFieldProps, type FormProps, GmailIcon, type GmailIconProps, GridIcon, type GridIconProps, ImageIcon, type ImageIconProps, ImageUploadIcon, type ImageUploadIconProps, IndeterminateIcon, type IndeterminateIconProps, InfoIcon, type InfoIconProps, Input, type InputProps, type InputVariant, InstagramIcon, type InstagramIconProps, KakaoTalkIcon, type KakaoTalkIconProps, LineIcon, type LineIconProps, LinkedInIcon, type LinkedInIconProps, ListIcon, type ListIconProps, MessengerIcon, type MessengerIconProps, MinusIcon, type MinusIconProps, MultipleSelectionButton, type MultipleSelectionButtonProps, MultipleSelectionIcon, type MultipleSelectionIconProps, Pagination, type PaginationProps, PlusIcon, type PlusIconProps, QuantityInput, type QuantityInputProps, Radio, RadioGroup, type RadioGroupOption, type RadioGroupProps, type RadioProps, type RangeValue, RedditIcon, type RedditIconProps, ScalablyUIProvider, type ScalablyUIProviderProps, SearchIcon, type SearchIconProps, SearchInput, type SearchInputProps, type SearchInputVariant, Select, type SelectOption, type SelectProps, type SelectVariant, SettingsIcon, type SettingsIconProps, SignalIcon, type SignalIconProps, SlackIcon, type SlackIconProps, StatusBadge, type StatusBadgeProps, type StatusBadgeSize, type StatusBadgeStatus, type StatusBadgeVariant, SuccessIcon, type SuccessIconProps, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, TelegramIcon, type TelegramIconProps, TickIcon, type TickIconProps, TiktokIcon, type TiktokIconProps, TimePicker, type TimePickerProps, ToFirstIcon, type ToFirstIconProps, ToLastIcon, type ToLastIconProps, ToNextIcon, type ToNextIconProps, ToPreviousIcon, type ToPreviousIconProps, Toast, type ToastAction, ToastContainer, type ToastContainerProps, type ToastPosition, type ToastProps, type ToastStatus, Tooltip, type TooltipAlign, type TooltipProps, type TooltipSide, TwitchIcon, type TwitchIconProps, VideoIcon, type VideoIconProps, VideoUploadIcon, type VideoUploadIconProps, type ViewMode, ViewToggle, type ViewToggleProps, WarnIcon, type WarnIconProps, WhatsAppIcon, type WhatsAppIconProps, XIcon, type XIconProps, YoutubeIcon, type YoutubeIconProps, clampDate, cn, daysGrid, debounce, fieldErrorToProps, formatDateLocalized, monthsForLocale, scopeClass, throttle, toDateKey, weekdaysForLocale, zodErrorsToSummary };
|