@plaidev/karte-action-sdk 1.1.233-28694229.5b158b84 → 1.1.233-28694965.4ee0c515
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/hydrate/index.es.d.ts +2 -0
- package/dist/hydrate/index.es.js +13 -1
- package/dist/index.es.d.ts +2 -0
- package/dist/index.es.js +13 -1
- package/package.json +1 -1
@@ -2601,7 +2601,9 @@ type LayerTextProps = CommonProps & BorderProps & RadiusProps & BackgroundColorP
|
|
2601
2601
|
variant?: string;
|
2602
2602
|
size?: keyof typeof LAYER_TEXT_SIZE;
|
2603
2603
|
align?: Properties["textAlign"];
|
2604
|
+
fontSize?: Properties["fontSize"];
|
2604
2605
|
fontWeight?: Properties["fontWeight"];
|
2606
|
+
lineHeight?: Properties["lineHeight"];
|
2605
2607
|
color?: Properties["color"];
|
2606
2608
|
width?: Properties["width"];
|
2607
2609
|
};
|
package/dist/hydrate/index.es.js
CHANGED
@@ -14814,6 +14814,17 @@ function instance$2($$self, $$props, $$invalidate) {
|
|
14814
14814
|
}
|
14815
14815
|
};
|
14816
14816
|
|
14817
|
+
const getCssSize = () => {
|
14818
|
+
return {
|
14819
|
+
fontSize: props.fontSize
|
14820
|
+
? props.fontSize
|
14821
|
+
: VARIANTS.size[props.size ?? 'medium'].fontSize,
|
14822
|
+
lineHeight: props.lineHeight
|
14823
|
+
? props.lineHeight
|
14824
|
+
: VARIANTS.size[props.size ?? 'medium'].lineHeight
|
14825
|
+
};
|
14826
|
+
};
|
14827
|
+
|
14817
14828
|
$$self.$$set = $$props => {
|
14818
14829
|
if ('props' in $$props) $$invalidate(3, props = $$props.props);
|
14819
14830
|
if ('layerId' in $$props) $$invalidate(0, layerId = $$props.layerId);
|
@@ -14828,10 +14839,11 @@ function instance$2($$self, $$props, $$invalidate) {
|
|
14828
14839
|
$$invalidate(1, style = objToStyle({
|
14829
14840
|
position: props?.position ?? 'static',
|
14830
14841
|
fontWeight: props.fontWeight,
|
14842
|
+
fontSize: props.fontSize,
|
14831
14843
|
color: props.color,
|
14832
14844
|
textAlign: props.align,
|
14833
14845
|
width: props.width,
|
14834
|
-
...
|
14846
|
+
...getCssSize(),
|
14835
14847
|
...toCssRadius(props),
|
14836
14848
|
...toCssBackgroundColor(props),
|
14837
14849
|
...toCssCommon(props),
|
package/dist/index.es.d.ts
CHANGED
@@ -2601,7 +2601,9 @@ type LayerTextProps = CommonProps & BorderProps & RadiusProps & BackgroundColorP
|
|
2601
2601
|
variant?: string;
|
2602
2602
|
size?: keyof typeof LAYER_TEXT_SIZE;
|
2603
2603
|
align?: Properties["textAlign"];
|
2604
|
+
fontSize?: Properties["fontSize"];
|
2604
2605
|
fontWeight?: Properties["fontWeight"];
|
2606
|
+
lineHeight?: Properties["lineHeight"];
|
2605
2607
|
color?: Properties["color"];
|
2606
2608
|
width?: Properties["width"];
|
2607
2609
|
};
|
package/dist/index.es.js
CHANGED
@@ -13719,6 +13719,17 @@ function instance$2($$self, $$props, $$invalidate) {
|
|
13719
13719
|
}
|
13720
13720
|
};
|
13721
13721
|
|
13722
|
+
const getCssSize = () => {
|
13723
|
+
return {
|
13724
|
+
fontSize: props.fontSize
|
13725
|
+
? props.fontSize
|
13726
|
+
: VARIANTS.size[props.size ?? 'medium'].fontSize,
|
13727
|
+
lineHeight: props.lineHeight
|
13728
|
+
? props.lineHeight
|
13729
|
+
: VARIANTS.size[props.size ?? 'medium'].lineHeight
|
13730
|
+
};
|
13731
|
+
};
|
13732
|
+
|
13722
13733
|
$$self.$$set = $$props => {
|
13723
13734
|
if ('props' in $$props) $$invalidate(3, props = $$props.props);
|
13724
13735
|
if ('layerId' in $$props) $$invalidate(0, layerId = $$props.layerId);
|
@@ -13733,10 +13744,11 @@ function instance$2($$self, $$props, $$invalidate) {
|
|
13733
13744
|
$$invalidate(1, style = objToStyle({
|
13734
13745
|
position: props?.position ?? 'static',
|
13735
13746
|
fontWeight: props.fontWeight,
|
13747
|
+
fontSize: props.fontSize,
|
13736
13748
|
color: props.color,
|
13737
13749
|
textAlign: props.align,
|
13738
13750
|
width: props.width,
|
13739
|
-
...
|
13751
|
+
...getCssSize(),
|
13740
13752
|
...toCssRadius(props),
|
13741
13753
|
...toCssBackgroundColor(props),
|
13742
13754
|
...toCssCommon(props),
|