@vention/machine-ui 5.16.0 → 5.16.1
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/index.esm.js
CHANGED
|
@@ -1679,6 +1679,204 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
1679
1679
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
1680
1680
|
};
|
|
1681
1681
|
|
|
1682
|
+
const getBorderColorFromState = (state, theme) => {
|
|
1683
|
+
switch (state) {
|
|
1684
|
+
case "error":
|
|
1685
|
+
return theme.palette.border.subtleDestructive;
|
|
1686
|
+
case "warning":
|
|
1687
|
+
return theme.palette.border.subtleWarning;
|
|
1688
|
+
case "success":
|
|
1689
|
+
return theme.palette.border.subtleSuccess;
|
|
1690
|
+
case "focused":
|
|
1691
|
+
return theme.palette.border.blueSubtle;
|
|
1692
|
+
case "hover":
|
|
1693
|
+
case "default":
|
|
1694
|
+
case "disabled":
|
|
1695
|
+
default:
|
|
1696
|
+
return theme.palette.border.main;
|
|
1697
|
+
}
|
|
1698
|
+
};
|
|
1699
|
+
const getBackgroundColorFromState = (state, theme) => {
|
|
1700
|
+
switch (state) {
|
|
1701
|
+
case "error":
|
|
1702
|
+
return theme.palette.background.subtleDestructive;
|
|
1703
|
+
case "warning":
|
|
1704
|
+
return theme.palette.background.subtleWarning;
|
|
1705
|
+
case "success":
|
|
1706
|
+
return theme.palette.background.subtleSuccess;
|
|
1707
|
+
case "disabled":
|
|
1708
|
+
return theme.palette.background.inputDisabled;
|
|
1709
|
+
case "default":
|
|
1710
|
+
case "focused":
|
|
1711
|
+
case "hover":
|
|
1712
|
+
default:
|
|
1713
|
+
return theme.palette.background.inputOutlined;
|
|
1714
|
+
}
|
|
1715
|
+
};
|
|
1716
|
+
const getLabelColor = (state, theme) => {
|
|
1717
|
+
switch (state) {
|
|
1718
|
+
case "warning":
|
|
1719
|
+
return theme.palette.text.warning;
|
|
1720
|
+
case "success":
|
|
1721
|
+
return theme.palette.text.positive;
|
|
1722
|
+
case "error":
|
|
1723
|
+
return theme.palette.text.negative;
|
|
1724
|
+
default:
|
|
1725
|
+
return undefined;
|
|
1726
|
+
}
|
|
1727
|
+
};
|
|
1728
|
+
const getFieldSetBackgroundColor = (state, theme, variant) => {
|
|
1729
|
+
if (variant === "shaded" && state !== "disabled") {
|
|
1730
|
+
return `${theme.palette.background.inputShaded}${state === "error" ? " !important" : ""}`;
|
|
1731
|
+
}
|
|
1732
|
+
return getBackgroundColorFromState(state, theme);
|
|
1733
|
+
};
|
|
1734
|
+
const getBorderWidth$1 = size => {
|
|
1735
|
+
switch (size) {
|
|
1736
|
+
case "x-small":
|
|
1737
|
+
return "1px";
|
|
1738
|
+
case "small":
|
|
1739
|
+
return "1px";
|
|
1740
|
+
case "medium":
|
|
1741
|
+
return "1px";
|
|
1742
|
+
case "large":
|
|
1743
|
+
return "1px";
|
|
1744
|
+
case "x-large":
|
|
1745
|
+
return "1px";
|
|
1746
|
+
case "xx-large":
|
|
1747
|
+
return "2px";
|
|
1748
|
+
}
|
|
1749
|
+
};
|
|
1750
|
+
const getInputHeight = (size, theme) => {
|
|
1751
|
+
switch (size) {
|
|
1752
|
+
case "x-small":
|
|
1753
|
+
return theme.spacing(4);
|
|
1754
|
+
case "small":
|
|
1755
|
+
return theme.spacing(5);
|
|
1756
|
+
case "medium":
|
|
1757
|
+
return theme.spacing(7);
|
|
1758
|
+
case "large":
|
|
1759
|
+
return theme.spacing(8);
|
|
1760
|
+
case "x-large":
|
|
1761
|
+
return theme.spacing(10);
|
|
1762
|
+
case "xx-large":
|
|
1763
|
+
return theme.spacing(12);
|
|
1764
|
+
}
|
|
1765
|
+
};
|
|
1766
|
+
const getInputPaddingStyles = (size, theme) => {
|
|
1767
|
+
switch (size) {
|
|
1768
|
+
case "x-small":
|
|
1769
|
+
case "small":
|
|
1770
|
+
return {
|
|
1771
|
+
paddingLeft: theme.spacing(2),
|
|
1772
|
+
paddingRight: theme.spacing(2)
|
|
1773
|
+
};
|
|
1774
|
+
case "medium":
|
|
1775
|
+
return {
|
|
1776
|
+
paddingLeft: theme.spacing(3),
|
|
1777
|
+
paddingRight: theme.spacing(3)
|
|
1778
|
+
};
|
|
1779
|
+
case "large":
|
|
1780
|
+
case "x-large":
|
|
1781
|
+
case "xx-large":
|
|
1782
|
+
return {
|
|
1783
|
+
paddingLeft: theme.spacing(4),
|
|
1784
|
+
paddingRight: theme.spacing(4)
|
|
1785
|
+
};
|
|
1786
|
+
}
|
|
1787
|
+
};
|
|
1788
|
+
function getBorderRadius$1() {
|
|
1789
|
+
return "4px";
|
|
1790
|
+
}
|
|
1791
|
+
/**
|
|
1792
|
+
* Get the vertical padding style for multiline input
|
|
1793
|
+
* @param size The size of the input
|
|
1794
|
+
* @param theme Theme used by MUI
|
|
1795
|
+
*/
|
|
1796
|
+
const getMultilineVerticalPaddingStyles = (size, theme) => {
|
|
1797
|
+
switch (size) {
|
|
1798
|
+
case "x-small":
|
|
1799
|
+
return {
|
|
1800
|
+
paddingTop: 0,
|
|
1801
|
+
paddingBottom: 0
|
|
1802
|
+
};
|
|
1803
|
+
case "small":
|
|
1804
|
+
case "medium":
|
|
1805
|
+
return {
|
|
1806
|
+
paddingTop: theme.spacing(1),
|
|
1807
|
+
paddingBottom: theme.spacing(1)
|
|
1808
|
+
};
|
|
1809
|
+
case "large":
|
|
1810
|
+
return {
|
|
1811
|
+
paddingTop: theme.spacing(2),
|
|
1812
|
+
paddingBottom: theme.spacing(2)
|
|
1813
|
+
};
|
|
1814
|
+
case "x-large":
|
|
1815
|
+
return {
|
|
1816
|
+
paddingTop: theme.spacing(3),
|
|
1817
|
+
paddingBottom: theme.spacing(3)
|
|
1818
|
+
};
|
|
1819
|
+
case "xx-large":
|
|
1820
|
+
return {
|
|
1821
|
+
paddingTop: theme.spacing(4),
|
|
1822
|
+
paddingBottom: theme.spacing(4)
|
|
1823
|
+
};
|
|
1824
|
+
}
|
|
1825
|
+
};
|
|
1826
|
+
const typographyNameFromSizeMap = {
|
|
1827
|
+
"x-small": {
|
|
1828
|
+
label: "uiText12SemiBold",
|
|
1829
|
+
labelDiminished: "uiText12Regular",
|
|
1830
|
+
text: "uiText12Regular",
|
|
1831
|
+
textDiminished: "uiText12Regular",
|
|
1832
|
+
helperText: "uiText12Regular"
|
|
1833
|
+
},
|
|
1834
|
+
small: {
|
|
1835
|
+
label: "uiText12SemiBold",
|
|
1836
|
+
labelDiminished: "uiText12Regular",
|
|
1837
|
+
text: "uiText12Regular",
|
|
1838
|
+
textDiminished: "uiText12Regular",
|
|
1839
|
+
helperText: "uiText12Regular"
|
|
1840
|
+
},
|
|
1841
|
+
medium: {
|
|
1842
|
+
label: "uiText14SemiBold",
|
|
1843
|
+
labelDiminished: "uiText14Regular",
|
|
1844
|
+
text: "uiText14Regular",
|
|
1845
|
+
textDiminished: "uiText12Regular",
|
|
1846
|
+
helperText: "uiText12Regular"
|
|
1847
|
+
},
|
|
1848
|
+
large: {
|
|
1849
|
+
label: "uiText14SemiBold",
|
|
1850
|
+
labelDiminished: "uiText14Regular",
|
|
1851
|
+
text: "uiText14Regular",
|
|
1852
|
+
textDiminished: "uiText12Regular",
|
|
1853
|
+
helperText: "uiText12Regular"
|
|
1854
|
+
},
|
|
1855
|
+
"x-large": {
|
|
1856
|
+
label: "heading18SemiBold",
|
|
1857
|
+
labelDiminished: "paragraph18Regular",
|
|
1858
|
+
text: "paragraph18Regular",
|
|
1859
|
+
textDiminished: "uiText12Regular",
|
|
1860
|
+
helperText: "uiText12Regular"
|
|
1861
|
+
},
|
|
1862
|
+
"xx-large": {
|
|
1863
|
+
label: "hmiText20SemiBold",
|
|
1864
|
+
labelDiminished: "hmiText20Regular",
|
|
1865
|
+
text: "uiText18Regular",
|
|
1866
|
+
textDiminished: "uiText12Regular",
|
|
1867
|
+
helperText: "paragraph18Regular"
|
|
1868
|
+
}
|
|
1869
|
+
};
|
|
1870
|
+
const getTypography = (size, theme) => {
|
|
1871
|
+
return {
|
|
1872
|
+
label: theme.typography[typographyNameFromSizeMap[size].label],
|
|
1873
|
+
labelDiminished: theme.typography[typographyNameFromSizeMap[size].labelDiminished],
|
|
1874
|
+
text: theme.typography[typographyNameFromSizeMap[size].text],
|
|
1875
|
+
textDiminished: theme.typography[typographyNameFromSizeMap[size].textDiminished],
|
|
1876
|
+
helperText: theme.typography[typographyNameFromSizeMap[size].helperText]
|
|
1877
|
+
};
|
|
1878
|
+
};
|
|
1879
|
+
|
|
1682
1880
|
function getButtonStylingPropertiesGivenProps(variant, size, theme) {
|
|
1683
1881
|
const {
|
|
1684
1882
|
buttonText,
|
|
@@ -1768,28 +1966,6 @@ function getButtonStylingPropertiesGivenProps(variant, size, theme) {
|
|
|
1768
1966
|
};
|
|
1769
1967
|
}
|
|
1770
1968
|
}
|
|
1771
|
-
function getButtonHeight(size, theme) {
|
|
1772
|
-
switch (size) {
|
|
1773
|
-
case "small":
|
|
1774
|
-
return theme.spacing(5);
|
|
1775
|
-
// 24px
|
|
1776
|
-
case "medium":
|
|
1777
|
-
return theme.spacing(7);
|
|
1778
|
-
// 32px
|
|
1779
|
-
case "large":
|
|
1780
|
-
return theme.spacing(8);
|
|
1781
|
-
// 40px
|
|
1782
|
-
case "x-large":
|
|
1783
|
-
return theme.spacing(10);
|
|
1784
|
-
// 56px
|
|
1785
|
-
case "xx-large":
|
|
1786
|
-
return theme.spacing(12);
|
|
1787
|
-
// 80px
|
|
1788
|
-
}
|
|
1789
|
-
}
|
|
1790
|
-
function getBorderRadius$1() {
|
|
1791
|
-
return "4px";
|
|
1792
|
-
}
|
|
1793
1969
|
function getButtonIconSize(size) {
|
|
1794
1970
|
switch (size) {
|
|
1795
1971
|
case "small":
|
|
@@ -4366,7 +4542,7 @@ const useStyles$G = tss.withParams().create(({
|
|
|
4366
4542
|
whiteSpace: "nowrap"
|
|
4367
4543
|
},
|
|
4368
4544
|
root: Object.assign(Object.assign({
|
|
4369
|
-
height:
|
|
4545
|
+
height: getInputHeight(size, theme),
|
|
4370
4546
|
backgroundColor: stylingProperties.backgroundColor,
|
|
4371
4547
|
color: stylingProperties.textColor,
|
|
4372
4548
|
borderRadius: stylingProperties.borderRadius,
|
|
@@ -5078,7 +5254,7 @@ const useStyles$B = tss.withParams().create(({
|
|
|
5078
5254
|
theme
|
|
5079
5255
|
}) => {
|
|
5080
5256
|
const stylingProperties = getButtonStylingPropertiesGivenProps(variant, size, theme);
|
|
5081
|
-
const buttonSize =
|
|
5257
|
+
const buttonSize = getInputHeight(size, theme);
|
|
5082
5258
|
return {
|
|
5083
5259
|
root: {
|
|
5084
5260
|
padding: 0,
|
|
@@ -5205,7 +5381,7 @@ const useStyles$A = tss.withParams().create(({
|
|
|
5205
5381
|
return {
|
|
5206
5382
|
root: {
|
|
5207
5383
|
gap: BUTTON_GAPS[size],
|
|
5208
|
-
height:
|
|
5384
|
+
height: getInputHeight(size, theme),
|
|
5209
5385
|
padding: BUTTON_PADDINGS[size],
|
|
5210
5386
|
backgroundColor: stylingProperties.backgroundColor,
|
|
5211
5387
|
borderRadius: stylingProperties.borderRadius,
|
|
@@ -7027,201 +7203,6 @@ const useStyles$t = tss.withParams().create(({
|
|
|
7027
7203
|
};
|
|
7028
7204
|
});
|
|
7029
7205
|
|
|
7030
|
-
const getBorderColorFromState = (state, theme) => {
|
|
7031
|
-
switch (state) {
|
|
7032
|
-
case "error":
|
|
7033
|
-
return theme.palette.border.subtleDestructive;
|
|
7034
|
-
case "warning":
|
|
7035
|
-
return theme.palette.border.subtleWarning;
|
|
7036
|
-
case "success":
|
|
7037
|
-
return theme.palette.border.subtleSuccess;
|
|
7038
|
-
case "focused":
|
|
7039
|
-
return theme.palette.border.blueSubtle;
|
|
7040
|
-
case "hover":
|
|
7041
|
-
case "default":
|
|
7042
|
-
case "disabled":
|
|
7043
|
-
default:
|
|
7044
|
-
return theme.palette.border.main;
|
|
7045
|
-
}
|
|
7046
|
-
};
|
|
7047
|
-
const getBackgroundColorFromState = (state, theme) => {
|
|
7048
|
-
switch (state) {
|
|
7049
|
-
case "error":
|
|
7050
|
-
return theme.palette.background.subtleDestructive;
|
|
7051
|
-
case "warning":
|
|
7052
|
-
return theme.palette.background.subtleWarning;
|
|
7053
|
-
case "success":
|
|
7054
|
-
return theme.palette.background.subtleSuccess;
|
|
7055
|
-
case "disabled":
|
|
7056
|
-
return theme.palette.background.inputDisabled;
|
|
7057
|
-
case "default":
|
|
7058
|
-
case "focused":
|
|
7059
|
-
case "hover":
|
|
7060
|
-
default:
|
|
7061
|
-
return theme.palette.background.inputOutlined;
|
|
7062
|
-
}
|
|
7063
|
-
};
|
|
7064
|
-
const getLabelColor = (state, theme) => {
|
|
7065
|
-
switch (state) {
|
|
7066
|
-
case "warning":
|
|
7067
|
-
return theme.palette.text.warning;
|
|
7068
|
-
case "success":
|
|
7069
|
-
return theme.palette.text.positive;
|
|
7070
|
-
case "error":
|
|
7071
|
-
return theme.palette.text.negative;
|
|
7072
|
-
default:
|
|
7073
|
-
return undefined;
|
|
7074
|
-
}
|
|
7075
|
-
};
|
|
7076
|
-
const getFieldSetBackgroundColor = (state, theme, variant) => {
|
|
7077
|
-
if (variant === "shaded" && state !== "disabled") {
|
|
7078
|
-
return `${theme.palette.background.inputShaded}${state === "error" ? " !important" : ""}`;
|
|
7079
|
-
}
|
|
7080
|
-
return getBackgroundColorFromState(state, theme);
|
|
7081
|
-
};
|
|
7082
|
-
const getBorderWidth$1 = size => {
|
|
7083
|
-
switch (size) {
|
|
7084
|
-
case "x-small":
|
|
7085
|
-
return "1px";
|
|
7086
|
-
case "small":
|
|
7087
|
-
return "1px";
|
|
7088
|
-
case "medium":
|
|
7089
|
-
return "1px";
|
|
7090
|
-
case "large":
|
|
7091
|
-
return "1px";
|
|
7092
|
-
case "x-large":
|
|
7093
|
-
return "1px";
|
|
7094
|
-
case "xx-large":
|
|
7095
|
-
return "2px";
|
|
7096
|
-
}
|
|
7097
|
-
};
|
|
7098
|
-
const getInputHeight = (size, theme) => {
|
|
7099
|
-
switch (size) {
|
|
7100
|
-
case "x-small":
|
|
7101
|
-
return theme.spacing(4);
|
|
7102
|
-
case "small":
|
|
7103
|
-
return theme.spacing(5);
|
|
7104
|
-
case "medium":
|
|
7105
|
-
return theme.spacing(7);
|
|
7106
|
-
case "large":
|
|
7107
|
-
return theme.spacing(8);
|
|
7108
|
-
case "x-large":
|
|
7109
|
-
return theme.spacing(9);
|
|
7110
|
-
case "xx-large":
|
|
7111
|
-
return theme.spacing(11);
|
|
7112
|
-
}
|
|
7113
|
-
};
|
|
7114
|
-
const getInputPaddingStyles = (size, theme) => {
|
|
7115
|
-
switch (size) {
|
|
7116
|
-
case "x-small":
|
|
7117
|
-
case "small":
|
|
7118
|
-
return {
|
|
7119
|
-
paddingLeft: theme.spacing(2),
|
|
7120
|
-
paddingRight: theme.spacing(2)
|
|
7121
|
-
};
|
|
7122
|
-
case "medium":
|
|
7123
|
-
return {
|
|
7124
|
-
paddingLeft: theme.spacing(3),
|
|
7125
|
-
paddingRight: theme.spacing(3)
|
|
7126
|
-
};
|
|
7127
|
-
case "large":
|
|
7128
|
-
case "x-large":
|
|
7129
|
-
case "xx-large":
|
|
7130
|
-
return {
|
|
7131
|
-
paddingLeft: theme.spacing(4),
|
|
7132
|
-
paddingRight: theme.spacing(4)
|
|
7133
|
-
};
|
|
7134
|
-
}
|
|
7135
|
-
};
|
|
7136
|
-
/**
|
|
7137
|
-
* Get the vertical padding style for multiline input
|
|
7138
|
-
* @param size The size of the input
|
|
7139
|
-
* @param theme Theme used by MUI
|
|
7140
|
-
*/
|
|
7141
|
-
const getMultilineVerticalPaddingStyles = (size, theme) => {
|
|
7142
|
-
switch (size) {
|
|
7143
|
-
case "x-small":
|
|
7144
|
-
return {
|
|
7145
|
-
paddingTop: 0,
|
|
7146
|
-
paddingBottom: 0
|
|
7147
|
-
};
|
|
7148
|
-
case "small":
|
|
7149
|
-
case "medium":
|
|
7150
|
-
return {
|
|
7151
|
-
paddingTop: theme.spacing(1),
|
|
7152
|
-
paddingBottom: theme.spacing(1)
|
|
7153
|
-
};
|
|
7154
|
-
case "large":
|
|
7155
|
-
return {
|
|
7156
|
-
paddingTop: theme.spacing(2),
|
|
7157
|
-
paddingBottom: theme.spacing(2)
|
|
7158
|
-
};
|
|
7159
|
-
case "x-large":
|
|
7160
|
-
return {
|
|
7161
|
-
paddingTop: theme.spacing(3),
|
|
7162
|
-
paddingBottom: theme.spacing(3)
|
|
7163
|
-
};
|
|
7164
|
-
case "xx-large":
|
|
7165
|
-
return {
|
|
7166
|
-
paddingTop: theme.spacing(4),
|
|
7167
|
-
paddingBottom: theme.spacing(4)
|
|
7168
|
-
};
|
|
7169
|
-
}
|
|
7170
|
-
};
|
|
7171
|
-
const typographyNameFromSizeMap = {
|
|
7172
|
-
"x-small": {
|
|
7173
|
-
label: "uiText12SemiBold",
|
|
7174
|
-
labelDiminished: "uiText12Regular",
|
|
7175
|
-
text: "uiText12Regular",
|
|
7176
|
-
textDiminished: "uiText12Regular",
|
|
7177
|
-
helperText: "uiText12Regular"
|
|
7178
|
-
},
|
|
7179
|
-
small: {
|
|
7180
|
-
label: "uiText12SemiBold",
|
|
7181
|
-
labelDiminished: "uiText12Regular",
|
|
7182
|
-
text: "uiText12Regular",
|
|
7183
|
-
textDiminished: "uiText12Regular",
|
|
7184
|
-
helperText: "uiText12Regular"
|
|
7185
|
-
},
|
|
7186
|
-
medium: {
|
|
7187
|
-
label: "uiText14SemiBold",
|
|
7188
|
-
labelDiminished: "uiText14Regular",
|
|
7189
|
-
text: "uiText14Regular",
|
|
7190
|
-
textDiminished: "uiText12Regular",
|
|
7191
|
-
helperText: "uiText12Regular"
|
|
7192
|
-
},
|
|
7193
|
-
large: {
|
|
7194
|
-
label: "uiText14SemiBold",
|
|
7195
|
-
labelDiminished: "uiText14Regular",
|
|
7196
|
-
text: "uiText14Regular",
|
|
7197
|
-
textDiminished: "uiText12Regular",
|
|
7198
|
-
helperText: "uiText12Regular"
|
|
7199
|
-
},
|
|
7200
|
-
"x-large": {
|
|
7201
|
-
label: "heading18SemiBold",
|
|
7202
|
-
labelDiminished: "paragraph18Regular",
|
|
7203
|
-
text: "paragraph18Regular",
|
|
7204
|
-
textDiminished: "uiText12Regular",
|
|
7205
|
-
helperText: "uiText12Regular"
|
|
7206
|
-
},
|
|
7207
|
-
"xx-large": {
|
|
7208
|
-
label: "hmiText20SemiBold",
|
|
7209
|
-
labelDiminished: "hmiText20Regular",
|
|
7210
|
-
text: "uiText18Regular",
|
|
7211
|
-
textDiminished: "uiText12Regular",
|
|
7212
|
-
helperText: "paragraph18Regular"
|
|
7213
|
-
}
|
|
7214
|
-
};
|
|
7215
|
-
const getTypography = (size, theme) => {
|
|
7216
|
-
return {
|
|
7217
|
-
label: theme.typography[typographyNameFromSizeMap[size].label],
|
|
7218
|
-
labelDiminished: theme.typography[typographyNameFromSizeMap[size].labelDiminished],
|
|
7219
|
-
text: theme.typography[typographyNameFromSizeMap[size].text],
|
|
7220
|
-
textDiminished: theme.typography[typographyNameFromSizeMap[size].textDiminished],
|
|
7221
|
-
helperText: theme.typography[typographyNameFromSizeMap[size].helperText]
|
|
7222
|
-
};
|
|
7223
|
-
};
|
|
7224
|
-
|
|
7225
7206
|
const VentionTextInput = _a => {
|
|
7226
7207
|
var {
|
|
7227
7208
|
state = "default",
|
package/package.json
CHANGED
|
@@ -12,6 +12,7 @@ export declare const getInputPaddingStyles: (size: Sizes, theme: Theme) => {
|
|
|
12
12
|
paddingLeft: string;
|
|
13
13
|
paddingRight: string;
|
|
14
14
|
};
|
|
15
|
+
export declare function getBorderRadius(): string;
|
|
15
16
|
/**
|
|
16
17
|
* Get the vertical padding style for multiline input
|
|
17
18
|
* @param size The size of the input
|
|
@@ -32,6 +32,5 @@ export interface VentionButtonProps extends Omit<ButtonProps, "size" | "variant"
|
|
|
32
32
|
loading?: boolean;
|
|
33
33
|
}
|
|
34
34
|
export declare function getButtonStylingPropertiesGivenProps(variant: VentionButtonProps["variant"] | "simple", size: VentionButtonProps["size"], theme: Theme): StylingProperties;
|
|
35
|
-
export declare function getButtonHeight(size: VentionButtonProps["size"], theme: Theme): string;
|
|
36
35
|
export declare function getButtonIconSize(size: VentionButtonProps["size"]): number;
|
|
37
36
|
export {};
|