@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.
@@ -1,5 +1,5 @@
1
1
  import { CSSProperties } from 'react';
2
- export declare type Variant = 'outline' | 'default' | 'unStyled';
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' | 'unStyled';
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: 2
2541
+ borderBottomWidth: 1
2542
2542
  },
2543
- unStyled: {
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: isHovered ? 'brightness(0.97)' : 'brightness(1)',
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
  };