@loomhq/lens 10.84.1 → 10.85.0

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.
@@ -16,11 +16,11 @@ declare type TextInputProps = {
16
16
  type?: 'date' | 'datetime-local' | 'email' | 'month' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'time' | 'url' | 'week';
17
17
  id?: string;
18
18
  hasError?: boolean;
19
- size?: 'small' | 'medium';
19
+ size?: 'small' | 'medium' | 'large';
20
20
  };
21
21
  declare type InputFieldProps = {
22
22
  icon?: React.ReactNode;
23
23
  hasError?: boolean;
24
- inputSize?: 'small' | 'medium';
24
+ inputSize?: 'small' | 'medium' | 'large';
25
25
  };
26
26
  export default TextInput;
@@ -30,6 +30,14 @@ const sizesStyles = {
30
30
  withIconPadding: u(5.5),
31
31
  textSize: 'medium',
32
32
  },
33
+ large: {
34
+ height: u(7),
35
+ width: u(6),
36
+ iconSize: 3,
37
+ padding: 'var(--lns-formFieldHorizontalPadding)',
38
+ withIconPadding: u(5.5),
39
+ textSize: 'large',
40
+ },
33
41
  };
34
42
  const InputField = styled.input `
35
43
  -webkit-appearance: none;
@@ -48,7 +56,7 @@ const InputField = styled.input `
48
56
  padding-right: ${props => props.icon
49
57
  ? sizesStyles[props.inputSize].withIconPadding
50
58
  : sizesStyles[props.inputSize].padding};
51
- border-radius: var(--lns-formFieldRadius);
59
+ border-radius: var(--lns-radius-full);
52
60
  box-shadow: inset 0 0 0
53
61
  ${props => props.hasError
54
62
  ? 'var(--lns-formFieldBorderWidthFocus) var(--lns-color-danger)'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loomhq/lens",
3
- "version": "10.84.1",
3
+ "version": "10.85.0",
4
4
  "scripts": {
5
5
  "dev": "next",
6
6
  "build:next": "next build",