@loomhq/lens 11.6.0 → 11.7.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.
|
@@ -7,7 +7,7 @@ type TextButtonProps = {
|
|
|
7
7
|
icon?: React.ReactNode;
|
|
8
8
|
iconPosition?: 'left' | 'right';
|
|
9
9
|
children: React.ReactNode;
|
|
10
|
-
size?: 'small' | 'medium';
|
|
10
|
+
size?: 'small' | 'medium' | 'large';
|
|
11
11
|
htmlTag?: 'button' | 'a';
|
|
12
12
|
offsetSide?: 'left' | 'right';
|
|
13
13
|
href?: string;
|
package/dist/index.js
CHANGED
|
@@ -2494,6 +2494,10 @@ var sizeStyles = {
|
|
|
2494
2494
|
medium: {
|
|
2495
2495
|
size: u(4),
|
|
2496
2496
|
iconSize: 3
|
|
2497
|
+
},
|
|
2498
|
+
large: {
|
|
2499
|
+
size: u(5),
|
|
2500
|
+
iconSize: 4
|
|
2497
2501
|
}
|
|
2498
2502
|
};
|
|
2499
2503
|
var IconButtonBox = styled13.button`
|
|
@@ -2729,6 +2733,12 @@ var sizeStyles2 = {
|
|
|
2729
2733
|
iconSize: 3,
|
|
2730
2734
|
height: u(4),
|
|
2731
2735
|
xSpace: u(1.5)
|
|
2736
|
+
},
|
|
2737
|
+
large: {
|
|
2738
|
+
textSize: "large",
|
|
2739
|
+
iconSize: 4,
|
|
2740
|
+
height: u(5),
|
|
2741
|
+
xSpace: u(2)
|
|
2732
2742
|
}
|
|
2733
2743
|
};
|
|
2734
2744
|
var TextButtonWrapper = styled15.button`
|