@app-studio/web 0.8.77 → 0.8.78
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/components/Form/Label/Label/Label.type.d.ts +1 -1
- package/dist/components/Form/TextArea/TextArea/TextArea.type.d.ts +4 -2
- package/dist/components/Input/Input.type.d.ts +2 -1
- package/dist/components/OTPInput/OTPInput/OTPInput.type.d.ts +1 -2
- package/dist/web.cjs.development.js +42 -163
- package/dist/web.cjs.development.js.map +1 -1
- package/dist/web.cjs.production.min.js +1 -1
- package/dist/web.cjs.production.min.js.map +1 -1
- package/dist/web.esm.js +43 -164
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +42 -163
- package/dist/web.umd.development.js.map +1 -1
- package/dist/web.umd.production.min.js +1 -1
- package/dist/web.umd.production.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare type TextWeights = 'hairline' | 'thin' | 'light' | 'normal' | 'medium' | 'semiBold' | 'bold' | 'extraBold' | 'black';
|
|
2
|
-
export declare type Sizes = 'xs' | 'sm' | 'md' | 'lg' | 'xl'
|
|
2
|
+
export declare type Sizes = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3
3
|
export declare type Headings = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
@@ -3,9 +3,11 @@ export declare type Variant = 'outline' | 'default' | 'none';
|
|
|
3
3
|
export declare type Shape = 'default' | 'sharp' | 'rounded';
|
|
4
4
|
export declare type Size = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
5
5
|
export declare type TextAreaStyles = {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
warper?: ViewProps;
|
|
7
|
+
container?: ViewProps;
|
|
8
8
|
label?: ViewProps;
|
|
9
9
|
helperText?: ViewProps;
|
|
10
10
|
field?: ViewProps;
|
|
11
|
+
content?: ViewProps;
|
|
12
|
+
textarea?: ViewProps;
|
|
11
13
|
};
|
|
@@ -3,10 +3,11 @@ export declare type Variant = 'outline' | 'default' | 'none';
|
|
|
3
3
|
export declare type Shape = 'default' | 'sharp' | 'rounded' | 'pillShaped';
|
|
4
4
|
export declare type Size = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
5
5
|
export declare type TextFieldStyles = {
|
|
6
|
-
box?: ViewProps;
|
|
7
6
|
text?: ViewProps;
|
|
8
7
|
label?: ViewProps;
|
|
8
|
+
error?: ViewProps;
|
|
9
9
|
helperText?: ViewProps;
|
|
10
|
+
container?: ViewProps;
|
|
10
11
|
};
|
|
11
12
|
export declare type Wrap = 'wrap' | 'nowrap' | 'wrap-reverse';
|
|
12
13
|
export declare type Justify = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
@@ -7,9 +7,8 @@ export declare type OTPInputType = 'text' | 'password' | 'number';
|
|
|
7
7
|
* Styles for different parts of the OTP input component
|
|
8
8
|
*/
|
|
9
9
|
export declare type OTPInputStyles = {
|
|
10
|
-
container?: ViewProps;
|
|
11
10
|
input?: ViewProps;
|
|
12
|
-
|
|
11
|
+
container?: ViewProps;
|
|
13
12
|
text?: ViewProps;
|
|
14
13
|
label?: ViewProps;
|
|
15
14
|
helperText?: ViewProps;
|
|
@@ -470,12 +470,7 @@ var FontSizes = {
|
|
|
470
470
|
sm: '14px',
|
|
471
471
|
md: '16px',
|
|
472
472
|
lg: '18px',
|
|
473
|
-
xl: '20px'
|
|
474
|
-
'2xl': '24px',
|
|
475
|
-
'3xl': '30px',
|
|
476
|
-
'4xl': '36px',
|
|
477
|
-
'5xl': '48px',
|
|
478
|
-
'6xl': '60px'
|
|
473
|
+
xl: '20px'
|
|
479
474
|
};
|
|
480
475
|
/**
|
|
481
476
|
* Line heights following typography guidelines
|
|
@@ -485,12 +480,7 @@ var LineHeights = {
|
|
|
485
480
|
sm: '20px',
|
|
486
481
|
md: '24px',
|
|
487
482
|
lg: '28px',
|
|
488
|
-
xl: '28px'
|
|
489
|
-
'2xl': '32px',
|
|
490
|
-
'3xl': '36px',
|
|
491
|
-
'4xl': '40px',
|
|
492
|
-
'5xl': '60px',
|
|
493
|
-
'6xl': '72px'
|
|
483
|
+
xl: '28px'
|
|
494
484
|
};
|
|
495
485
|
/**
|
|
496
486
|
* Font weights following typography guidelines
|
|
@@ -731,9 +721,12 @@ var IconWrapper = _ref => {
|
|
|
731
721
|
};
|
|
732
722
|
// Utility function to handle fill and stroke based on 'filled' prop
|
|
733
723
|
var getSvgProps = (filled, color, strokeWidth) => {
|
|
724
|
+
var {
|
|
725
|
+
getColor
|
|
726
|
+
} = appStudio.useTheme();
|
|
734
727
|
return {
|
|
735
|
-
fill: filled ? color : 'none',
|
|
736
|
-
stroke: filled ? 'none' : color,
|
|
728
|
+
fill: filled ? getColor(color) : 'none',
|
|
729
|
+
stroke: filled ? 'none' : getColor(color),
|
|
737
730
|
strokeWidth,
|
|
738
731
|
strokeLinecap: 'round',
|
|
739
732
|
strokeLinejoin: 'round'
|
|
@@ -1199,7 +1192,7 @@ var InfoIcon = _ref19 => {
|
|
|
1199
1192
|
var {
|
|
1200
1193
|
widthHeight = 24,
|
|
1201
1194
|
color = 'currentColor',
|
|
1202
|
-
filled =
|
|
1195
|
+
filled = true,
|
|
1203
1196
|
strokeWidth = 1
|
|
1204
1197
|
} = _ref19,
|
|
1205
1198
|
props = _objectWithoutPropertiesLoose(_ref19, _excluded19);
|
|
@@ -2943,7 +2936,7 @@ var AlertView = _ref => {
|
|
|
2943
2936
|
borderStyle: "solid",
|
|
2944
2937
|
borderColor: Themes[variant].container.borderColor,
|
|
2945
2938
|
backgroundColor: Themes[variant].container.backgroundColor,
|
|
2946
|
-
boxShadow: Themes[variant].container.
|
|
2939
|
+
boxShadow: Themes[variant].container.containerShadow,
|
|
2947
2940
|
// Animation
|
|
2948
2941
|
transition: "all 0.2s ease"
|
|
2949
2942
|
}, views == null ? void 0 : views.container), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
@@ -3377,12 +3370,7 @@ var IconSizes = {
|
|
|
3377
3370
|
sm: 14,
|
|
3378
3371
|
md: 16,
|
|
3379
3372
|
lg: 18,
|
|
3380
|
-
xl: 20
|
|
3381
|
-
'2xl': 24,
|
|
3382
|
-
'3xl': 30,
|
|
3383
|
-
'4xl': 36,
|
|
3384
|
-
'5xl': 48,
|
|
3385
|
-
'6xl': 64
|
|
3373
|
+
xl: 20
|
|
3386
3374
|
};
|
|
3387
3375
|
|
|
3388
3376
|
var _excluded$6 = ["children", "to", "iconSize", "underline", "isHovered", "isExternal", "views", "setIsHovered"];
|
|
@@ -3634,12 +3622,7 @@ var DefaultSizes = {
|
|
|
3634
3622
|
sm: 18,
|
|
3635
3623
|
md: 22,
|
|
3636
3624
|
lg: 26,
|
|
3637
|
-
xl: 30
|
|
3638
|
-
'2xl': 40,
|
|
3639
|
-
'3xl': 50,
|
|
3640
|
-
'4xl': 60,
|
|
3641
|
-
'5xl': 70,
|
|
3642
|
-
'6xl': 80
|
|
3625
|
+
xl: 30
|
|
3643
3626
|
};
|
|
3644
3627
|
// Specifies a mapping of spinning speed labels to numerical millisecond values, determining the speed of the Loader component's animation cycles.
|
|
3645
3628
|
var DefaultSpeeds = {
|
|
@@ -6280,9 +6263,9 @@ var FieldContainer = _ref => {
|
|
|
6280
6263
|
gap: 8,
|
|
6281
6264
|
position: "relative",
|
|
6282
6265
|
width: "100%"
|
|
6283
|
-
}, props), children, !error && helperText && (/*#__PURE__*/React__default.createElement(HelperText, Object.assign({
|
|
6266
|
+
}, props, views == null ? void 0 : views.container), children, !error && helperText && (/*#__PURE__*/React__default.createElement(HelperText, Object.assign({
|
|
6284
6267
|
marginTop: 4
|
|
6285
|
-
}, views), helperText)), error && (/*#__PURE__*/React__default.createElement(Text, {
|
|
6268
|
+
}, views == null ? void 0 : views.helperText), helperText)), error && (/*#__PURE__*/React__default.createElement(Text, Object.assign({
|
|
6286
6269
|
size: "xs",
|
|
6287
6270
|
marginTop: 4,
|
|
6288
6271
|
marginHorizontal: 0,
|
|
@@ -6290,7 +6273,7 @@ var FieldContainer = _ref => {
|
|
|
6290
6273
|
,
|
|
6291
6274
|
color: "color.red.500",
|
|
6292
6275
|
transition: "all 0.2s ease"
|
|
6293
|
-
}, error)));
|
|
6276
|
+
}, views == null ? void 0 : views.error), error)));
|
|
6294
6277
|
};
|
|
6295
6278
|
|
|
6296
6279
|
/**
|
|
@@ -7069,26 +7052,6 @@ var KnobSizes = {
|
|
|
7069
7052
|
xl: {
|
|
7070
7053
|
height: '28px',
|
|
7071
7054
|
width: '28px'
|
|
7072
|
-
},
|
|
7073
|
-
'2xl': {
|
|
7074
|
-
height: '32px',
|
|
7075
|
-
width: '32px'
|
|
7076
|
-
},
|
|
7077
|
-
'3xl': {
|
|
7078
|
-
height: '36px',
|
|
7079
|
-
width: '36px'
|
|
7080
|
-
},
|
|
7081
|
-
'4xl': {
|
|
7082
|
-
height: '40px',
|
|
7083
|
-
width: '40px'
|
|
7084
|
-
},
|
|
7085
|
-
'5xl': {
|
|
7086
|
-
height: '44px',
|
|
7087
|
-
width: '44px'
|
|
7088
|
-
},
|
|
7089
|
-
'6xl': {
|
|
7090
|
-
height: '48px',
|
|
7091
|
-
width: '48px'
|
|
7092
7055
|
}
|
|
7093
7056
|
};
|
|
7094
7057
|
/**
|
|
@@ -7115,26 +7078,6 @@ var SliderSizes = {
|
|
|
7115
7078
|
xl: {
|
|
7116
7079
|
height: '40px',
|
|
7117
7080
|
width: '72px'
|
|
7118
|
-
},
|
|
7119
|
-
'2xl': {
|
|
7120
|
-
height: '44px',
|
|
7121
|
-
width: '80px'
|
|
7122
|
-
},
|
|
7123
|
-
'3xl': {
|
|
7124
|
-
height: '48px',
|
|
7125
|
-
width: '88px'
|
|
7126
|
-
},
|
|
7127
|
-
'4xl': {
|
|
7128
|
-
height: '52px',
|
|
7129
|
-
width: '96px'
|
|
7130
|
-
},
|
|
7131
|
-
'5xl': {
|
|
7132
|
-
height: '56px',
|
|
7133
|
-
width: '104px'
|
|
7134
|
-
},
|
|
7135
|
-
'6xl': {
|
|
7136
|
-
height: '60px',
|
|
7137
|
-
width: '112px'
|
|
7138
7081
|
}
|
|
7139
7082
|
};
|
|
7140
7083
|
/**
|
|
@@ -7161,26 +7104,6 @@ var SliderPadding = {
|
|
|
7161
7104
|
xl: {
|
|
7162
7105
|
paddingVertical: 4,
|
|
7163
7106
|
paddingHorizontal: 4
|
|
7164
|
-
},
|
|
7165
|
-
'2xl': {
|
|
7166
|
-
paddingVertical: 4,
|
|
7167
|
-
paddingHorizontal: 4
|
|
7168
|
-
},
|
|
7169
|
-
'3xl': {
|
|
7170
|
-
paddingVertical: 4,
|
|
7171
|
-
paddingHorizontal: 4
|
|
7172
|
-
},
|
|
7173
|
-
'4xl': {
|
|
7174
|
-
paddingVertical: 4,
|
|
7175
|
-
paddingHorizontal: 4
|
|
7176
|
-
},
|
|
7177
|
-
'5xl': {
|
|
7178
|
-
paddingVertical: 4,
|
|
7179
|
-
paddingHorizontal: 4
|
|
7180
|
-
},
|
|
7181
|
-
'6xl': {
|
|
7182
|
-
paddingVertical: 4,
|
|
7183
|
-
paddingHorizontal: 4
|
|
7184
7107
|
}
|
|
7185
7108
|
};
|
|
7186
7109
|
/**
|
|
@@ -7393,11 +7316,8 @@ var TextAreaView = _ref => {
|
|
|
7393
7316
|
setIsFocused = () => {},
|
|
7394
7317
|
setIsHovered = () => {},
|
|
7395
7318
|
views = {
|
|
7396
|
-
box: {},
|
|
7397
|
-
text: {},
|
|
7398
7319
|
label: {},
|
|
7399
|
-
helperText: {}
|
|
7400
|
-
field: {}
|
|
7320
|
+
helperText: {}
|
|
7401
7321
|
}
|
|
7402
7322
|
} = _ref,
|
|
7403
7323
|
props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
|
|
@@ -7408,11 +7328,11 @@ var TextAreaView = _ref => {
|
|
|
7408
7328
|
var fieldStyles = Object.assign({
|
|
7409
7329
|
// Layout properties
|
|
7410
7330
|
margin: 0,
|
|
7411
|
-
paddingVertical:
|
|
7412
|
-
paddingHorizontal:
|
|
7331
|
+
paddingVertical: 2,
|
|
7332
|
+
paddingHorizontal: 2,
|
|
7413
7333
|
width: '100%',
|
|
7414
|
-
|
|
7415
|
-
|
|
7334
|
+
maxHeight: 'calc(100vh - 100px)',
|
|
7335
|
+
height: 'calc(5em)',
|
|
7416
7336
|
border: 'none',
|
|
7417
7337
|
resize: 'vertical',
|
|
7418
7338
|
// Focus state
|
|
@@ -7423,7 +7343,7 @@ var TextAreaView = _ref => {
|
|
|
7423
7343
|
},
|
|
7424
7344
|
// Typography properties
|
|
7425
7345
|
fontSize: appStudio.Typography.fontSizes[size],
|
|
7426
|
-
lineHeight:
|
|
7346
|
+
lineHeight: appStudio.Typography.fontSizes[size] * 1.5,
|
|
7427
7347
|
letterSpacing: '-0.01em',
|
|
7428
7348
|
// Visual properties
|
|
7429
7349
|
backgroundColor: 'transparent',
|
|
@@ -7431,11 +7351,7 @@ var TextAreaView = _ref => {
|
|
|
7431
7351
|
// State properties
|
|
7432
7352
|
cursor: isDisabled ? 'not-allowed' : 'text',
|
|
7433
7353
|
// Animation
|
|
7434
|
-
transition: 'all 0.2s ease'
|
|
7435
|
-
// Dark mode support
|
|
7436
|
-
'@media (prefers-color-scheme: dark)': {
|
|
7437
|
-
color: isDisabled ? 'color.gray.600' : 'color.gray.100'
|
|
7438
|
-
}
|
|
7354
|
+
transition: 'all 0.2s ease'
|
|
7439
7355
|
}, views['field']);
|
|
7440
7356
|
var handleHover = () => setIsHovered(!isHovered);
|
|
7441
7357
|
var handleFocus = () => {
|
|
@@ -7457,11 +7373,11 @@ var TextAreaView = _ref => {
|
|
|
7457
7373
|
if (onChange) onChange(event.target.value);
|
|
7458
7374
|
}
|
|
7459
7375
|
};
|
|
7460
|
-
return /*#__PURE__*/React__default.createElement(FieldContainer, {
|
|
7376
|
+
return /*#__PURE__*/React__default.createElement(FieldContainer, Object.assign({
|
|
7461
7377
|
helperText: helperText,
|
|
7462
7378
|
error: error,
|
|
7463
7379
|
views: views
|
|
7464
|
-
}, /*#__PURE__*/React__default.createElement(FieldContent, {
|
|
7380
|
+
}, props), /*#__PURE__*/React__default.createElement(FieldContent, Object.assign({
|
|
7465
7381
|
label: label,
|
|
7466
7382
|
size: size,
|
|
7467
7383
|
error: error,
|
|
@@ -7478,11 +7394,11 @@ var TextAreaView = _ref => {
|
|
|
7478
7394
|
showLabel: showLabel,
|
|
7479
7395
|
onMouseEnter: handleHover,
|
|
7480
7396
|
onMouseLeave: handleHover
|
|
7481
|
-
}, /*#__PURE__*/React__default.createElement(FieldWrapper, null, showLabel && (/*#__PURE__*/React__default.createElement(FieldLabel, Object.assign({
|
|
7397
|
+
}, views == null ? void 0 : views.content), /*#__PURE__*/React__default.createElement(FieldWrapper, Object.assign({}, views == null ? void 0 : views.warper), showLabel && (/*#__PURE__*/React__default.createElement(FieldLabel, Object.assign({
|
|
7482
7398
|
htmlFor: id,
|
|
7483
7399
|
color: 'theme.primary',
|
|
7484
7400
|
error: error
|
|
7485
|
-
}, views), label)), /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
|
|
7401
|
+
}, views == null ? void 0 : views.label), label)), /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
|
|
7486
7402
|
as: "textarea",
|
|
7487
7403
|
id: id,
|
|
7488
7404
|
name: name,
|
|
@@ -7497,10 +7413,10 @@ var TextAreaView = _ref => {
|
|
|
7497
7413
|
onBlur: handleBlur,
|
|
7498
7414
|
onFocus: handleFocus,
|
|
7499
7415
|
multiline: isMultiline
|
|
7500
|
-
}, fieldStyles,
|
|
7416
|
+
}, fieldStyles, {
|
|
7501
7417
|
onChange: handleChange,
|
|
7502
7418
|
onChangeText: handleChange
|
|
7503
|
-
})))));
|
|
7419
|
+
}, views == null ? void 0 : views.textarea)))));
|
|
7504
7420
|
};
|
|
7505
7421
|
|
|
7506
7422
|
// Defines the TextAreaComponent as a functional component that accepts TextAreaProps for type safety and structure.
|
|
@@ -7568,7 +7484,7 @@ var TextFieldView = _ref => {
|
|
|
7568
7484
|
onChangeText,
|
|
7569
7485
|
shadow = {},
|
|
7570
7486
|
views = {
|
|
7571
|
-
|
|
7487
|
+
container: {},
|
|
7572
7488
|
field: {},
|
|
7573
7489
|
label: {},
|
|
7574
7490
|
helperText: {},
|
|
@@ -7768,26 +7684,6 @@ var Sizes = {
|
|
|
7768
7684
|
xl: {
|
|
7769
7685
|
height: '32px',
|
|
7770
7686
|
width: '32px'
|
|
7771
|
-
},
|
|
7772
|
-
'2xl': {
|
|
7773
|
-
height: '36px',
|
|
7774
|
-
width: '36px'
|
|
7775
|
-
},
|
|
7776
|
-
'3xl': {
|
|
7777
|
-
height: '40px',
|
|
7778
|
-
width: '40px'
|
|
7779
|
-
},
|
|
7780
|
-
'4xl': {
|
|
7781
|
-
height: '44px',
|
|
7782
|
-
width: '44px'
|
|
7783
|
-
},
|
|
7784
|
-
'5xl': {
|
|
7785
|
-
height: '48px',
|
|
7786
|
-
width: '48px'
|
|
7787
|
-
},
|
|
7788
|
-
'6xl': {
|
|
7789
|
-
height: '52px',
|
|
7790
|
-
width: '52px'
|
|
7791
7687
|
}
|
|
7792
7688
|
};
|
|
7793
7689
|
/**
|
|
@@ -7799,12 +7695,7 @@ var IconSizes$3 = {
|
|
|
7799
7695
|
sm: 14,
|
|
7800
7696
|
md: 16,
|
|
7801
7697
|
lg: 20,
|
|
7802
|
-
xl: 24
|
|
7803
|
-
'2xl': 28,
|
|
7804
|
-
'3xl': 32,
|
|
7805
|
-
'4xl': 36,
|
|
7806
|
-
'5xl': 40,
|
|
7807
|
-
'6xl': 44
|
|
7698
|
+
xl: 24
|
|
7808
7699
|
};
|
|
7809
7700
|
/**
|
|
7810
7701
|
* Variant styles for the Checkbox component
|
|
@@ -9600,8 +9491,7 @@ var CountryPickerView = _ref5 => {
|
|
|
9600
9491
|
icon: {},
|
|
9601
9492
|
label: {},
|
|
9602
9493
|
dropDown: {},
|
|
9603
|
-
helperText: {}
|
|
9604
|
-
box: {}
|
|
9494
|
+
helperText: {}
|
|
9605
9495
|
},
|
|
9606
9496
|
themeMode: elementMode
|
|
9607
9497
|
} = _ref5,
|
|
@@ -9749,7 +9639,7 @@ var DatePickerView = _ref => {
|
|
|
9749
9639
|
variant = 'default',
|
|
9750
9640
|
shape = 'default',
|
|
9751
9641
|
views = {
|
|
9752
|
-
|
|
9642
|
+
container: {},
|
|
9753
9643
|
label: {},
|
|
9754
9644
|
helperText: {},
|
|
9755
9645
|
text: {},
|
|
@@ -10032,7 +9922,7 @@ var ComboBoxView = _ref => {
|
|
|
10032
9922
|
widthHeight: 12
|
|
10033
9923
|
}),
|
|
10034
9924
|
views: {
|
|
10035
|
-
|
|
9925
|
+
container: Object.assign({
|
|
10036
9926
|
width: '100%',
|
|
10037
9927
|
padding: '6px 12px',
|
|
10038
9928
|
borderBottom: filteredItems.length > 0 ? '1px solid #ccc' : '1px solid transparent'
|
|
@@ -10402,14 +10292,7 @@ var OTPInputView = _ref => {
|
|
|
10402
10292
|
length = 6,
|
|
10403
10293
|
helperText,
|
|
10404
10294
|
placeholder = '',
|
|
10405
|
-
views = {
|
|
10406
|
-
container: {},
|
|
10407
|
-
input: {},
|
|
10408
|
-
box: {},
|
|
10409
|
-
text: {},
|
|
10410
|
-
label: {},
|
|
10411
|
-
helperText: {}
|
|
10412
|
-
},
|
|
10295
|
+
views = {},
|
|
10413
10296
|
size = 'md',
|
|
10414
10297
|
shape = 'rounded',
|
|
10415
10298
|
variant = 'outline',
|
|
@@ -10515,7 +10398,7 @@ var OTPInputView = _ref => {
|
|
|
10515
10398
|
width: "100%",
|
|
10516
10399
|
position: "relative",
|
|
10517
10400
|
height: size === 'xs' ? '32px' : size === 'sm' ? '36px' : size === 'md' ? '40px' : size === 'lg' ? '48px' : '56px'
|
|
10518
|
-
}, views.
|
|
10401
|
+
}, views.container), slot.char ? (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
10519
10402
|
textAlign: "center",
|
|
10520
10403
|
fontSize: size === 'xs' ? '14px' : size === 'sm' ? '16px' : size === 'md' ? '18px' : size === 'lg' ? '20px' : '24px',
|
|
10521
10404
|
fontWeight: "medium"
|
|
@@ -12283,23 +12166,19 @@ var OverlayAlignments = {
|
|
|
12283
12166
|
},
|
|
12284
12167
|
top: {
|
|
12285
12168
|
justifyContent: 'center',
|
|
12286
|
-
alignItems: 'flex-start'
|
|
12287
|
-
paddingTop: '64px'
|
|
12169
|
+
alignItems: 'flex-start'
|
|
12288
12170
|
},
|
|
12289
12171
|
right: {
|
|
12290
12172
|
justifyContent: 'flex-end',
|
|
12291
|
-
alignItems: 'center'
|
|
12292
|
-
paddingRight: '32px'
|
|
12173
|
+
alignItems: 'center'
|
|
12293
12174
|
},
|
|
12294
12175
|
bottom: {
|
|
12295
12176
|
justifyContent: 'center',
|
|
12296
|
-
alignItems: 'flex-end'
|
|
12297
|
-
paddingBottom: '64px'
|
|
12177
|
+
alignItems: 'flex-end'
|
|
12298
12178
|
},
|
|
12299
12179
|
left: {
|
|
12300
12180
|
justifyContent: 'flex-start',
|
|
12301
|
-
alignItems: 'center'
|
|
12302
|
-
paddingLeft: '32px'
|
|
12181
|
+
alignItems: 'center'
|
|
12303
12182
|
}
|
|
12304
12183
|
};
|
|
12305
12184
|
/**
|
|
@@ -15202,7 +15081,7 @@ var SeparatorView = _ref => {
|
|
|
15202
15081
|
variant = 'solid',
|
|
15203
15082
|
thickness = 'thin',
|
|
15204
15083
|
color,
|
|
15205
|
-
spacing = '
|
|
15084
|
+
spacing = '0px',
|
|
15206
15085
|
label,
|
|
15207
15086
|
decorative = false,
|
|
15208
15087
|
views
|
|
@@ -15227,7 +15106,7 @@ var SeparatorView = _ref => {
|
|
|
15227
15106
|
alignItems: "center",
|
|
15228
15107
|
justifyContent: "center",
|
|
15229
15108
|
width: "100%",
|
|
15230
|
-
|
|
15109
|
+
padding: spacing
|
|
15231
15110
|
}, ariaProps, props), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
15232
15111
|
height: "0px",
|
|
15233
15112
|
flexGrow: 1,
|
|
@@ -15250,7 +15129,7 @@ var SeparatorView = _ref => {
|
|
|
15250
15129
|
borderTopWidth: borderWidth,
|
|
15251
15130
|
borderTopStyle: borderStyle,
|
|
15252
15131
|
borderTopColor: separatorColor,
|
|
15253
|
-
|
|
15132
|
+
padding: spacing
|
|
15254
15133
|
}, DefaultSeparatorStyles.container, ariaProps, views == null ? void 0 : views.container, props));
|
|
15255
15134
|
}
|
|
15256
15135
|
// For vertical separator
|
|
@@ -15260,7 +15139,7 @@ var SeparatorView = _ref => {
|
|
|
15260
15139
|
borderLeftWidth: borderWidth,
|
|
15261
15140
|
borderLeftStyle: borderStyle,
|
|
15262
15141
|
borderLeftColor: separatorColor,
|
|
15263
|
-
|
|
15142
|
+
padding: spacing
|
|
15264
15143
|
}, DefaultSeparatorStyles.container, ariaProps, views == null ? void 0 : views.container, props));
|
|
15265
15144
|
};
|
|
15266
15145
|
|