@app-studio/web 0.3.26 → 0.3.28
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.
|
@@ -9,6 +9,7 @@ var React__default = _interopDefault(React);
|
|
|
9
9
|
var appStudio = require('app-studio');
|
|
10
10
|
var reactRouterDom = require('react-router-dom');
|
|
11
11
|
var format = _interopDefault(require('date-fns/format'));
|
|
12
|
+
var Svg = require('src/components/Svg');
|
|
12
13
|
var zustand = require('zustand');
|
|
13
14
|
|
|
14
15
|
var useButtonState = function useButtonState() {
|
|
@@ -2546,8 +2547,8 @@ var InputVariants = {
|
|
|
2546
2547
|
}
|
|
2547
2548
|
};
|
|
2548
2549
|
var PadddingWithLabel = {
|
|
2549
|
-
paddingTop:
|
|
2550
|
-
paddingBottom:
|
|
2550
|
+
paddingTop: 14,
|
|
2551
|
+
paddingBottom: 0,
|
|
2551
2552
|
paddingLeft: 18,
|
|
2552
2553
|
paddingRight: 36
|
|
2553
2554
|
};
|
|
@@ -2636,9 +2637,9 @@ var FieldLabel = function FieldLabel(_ref) {
|
|
|
2636
2637
|
} : _ref$styles,
|
|
2637
2638
|
props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
|
|
2638
2639
|
return React__default.createElement(Label, Object.assign({
|
|
2639
|
-
top:
|
|
2640
|
+
top: 6,
|
|
2640
2641
|
zIndex: 1000,
|
|
2641
|
-
lineHeight:
|
|
2642
|
+
lineHeight: LabelSizes[size],
|
|
2642
2643
|
letterSpacing: 0.25,
|
|
2643
2644
|
whiteSpace: "noWrap",
|
|
2644
2645
|
position: "absolute",
|
|
@@ -3193,6 +3194,7 @@ var TextFieldView = function TextFieldView(_ref) {
|
|
|
3193
3194
|
}
|
|
3194
3195
|
},
|
|
3195
3196
|
fontSize: appStudio.Typography.fontSizes[size],
|
|
3197
|
+
lineHeight: appStudio.Typography.fontSizes[size],
|
|
3196
3198
|
backgroundColor: 'transparent',
|
|
3197
3199
|
color: isDisabled ? 'color.trueGray.600' : 'color.blueGray.700',
|
|
3198
3200
|
cursor: isDisabled ? 'not-allowed' : 'auto'
|
|
@@ -3298,8 +3300,14 @@ var TextField = TextFieldComponent;
|
|
|
3298
3300
|
var _excluded$n = ["name", "visibleIcon", "hiddenIcon", "isDisabled", "isVisible", "setIsVisible"];
|
|
3299
3301
|
var PasswordView = function PasswordView(_ref) {
|
|
3300
3302
|
var name = _ref.name,
|
|
3301
|
-
visibleIcon = _ref.visibleIcon,
|
|
3302
|
-
|
|
3303
|
+
_ref$visibleIcon = _ref.visibleIcon,
|
|
3304
|
+
visibleIcon = _ref$visibleIcon === void 0 ? React__default.createElement(Svg.OpenEyeSvg, {
|
|
3305
|
+
size: 14
|
|
3306
|
+
}) : _ref$visibleIcon,
|
|
3307
|
+
_ref$hiddenIcon = _ref.hiddenIcon,
|
|
3308
|
+
hiddenIcon = _ref$hiddenIcon === void 0 ? React__default.createElement(Svg.CloseEyeSvg, {
|
|
3309
|
+
size: 14
|
|
3310
|
+
}) : _ref$hiddenIcon,
|
|
3303
3311
|
_ref$isDisabled = _ref.isDisabled,
|
|
3304
3312
|
isDisabled = _ref$isDisabled === void 0 ? false : _ref$isDisabled,
|
|
3305
3313
|
_ref$isVisible = _ref.isVisible,
|