@app-studio/web 0.3.13 → 0.3.16
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/TextArea/TextArea/TextArea.type.d.ts +1 -1
- package/dist/components/Layout/configs/Input.type.d.ts +1 -1
- package/dist/web.cjs.development.js +3 -3
- 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 +3 -3
- package/dist/web.esm.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
|
-
export declare type Variant = 'outline' | 'default' | '
|
|
2
|
+
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 = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
|
-
export declare type Variant = 'outline' | 'default' | '
|
|
2
|
+
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 = {
|
|
@@ -2538,9 +2538,9 @@ var InputVariants = {
|
|
|
2538
2538
|
},
|
|
2539
2539
|
default: {
|
|
2540
2540
|
borderWidth: 0,
|
|
2541
|
-
borderBottomWidth:
|
|
2541
|
+
borderBottomWidth: 1
|
|
2542
2542
|
},
|
|
2543
|
-
|
|
2543
|
+
none: {
|
|
2544
2544
|
border: 'none',
|
|
2545
2545
|
backgroundColor: 'transparent'
|
|
2546
2546
|
}
|
|
@@ -2600,7 +2600,7 @@ var FieldContent = function FieldContent(_ref) {
|
|
|
2600
2600
|
transition: "padding 0.2s ease",
|
|
2601
2601
|
justifyContent: "space-between",
|
|
2602
2602
|
fontSize: appStudio.Typography.fontSizes[size],
|
|
2603
|
-
filter
|
|
2603
|
+
// filter={isHovered ? 'brightness(1)':'brightness(0.97)'}
|
|
2604
2604
|
cursor: isDisabled ? 'not-allowed' : isReadOnly ? 'auto' : 'pointer'
|
|
2605
2605
|
}, isWithLabel ? PadddingWithLabel : PaddingWithoutLabel, shadow, Shapes[shape], InputVariants[variant], styles['box'], props), children);
|
|
2606
2606
|
};
|