@loomhq/lens 10.23.1 → 10.24.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.
@@ -9,10 +9,10 @@ var __rest = (this && this.__rest) || function (s, e) {
9
9
  }
10
10
  return t;
11
11
  };
12
- import Icon from '../icon/icon';
13
12
  import React, { forwardRef } from 'react';
13
+ import { getColorValue, getTextSize, u } from '../../utilities';
14
+ import Icon from '../icon/icon';
14
15
  import styled from '@emotion/styled';
15
- import { u, getColorValue, getTextSize } from '../../utilities';
16
16
  const sizesStyles = {
17
17
  small: {
18
18
  height: u(4),
@@ -51,6 +51,12 @@ const InputField = styled.input `
51
51
 
52
52
  ${props => getTextSize(sizesStyles[props.inputSize].textSize)};
53
53
 
54
+ &::-webkit-search-decoration,
55
+ &::-webkit-search-results-button,
56
+ &::-webkit-search-results-decoration {
57
+ -webkit-appearance: none;
58
+ }
59
+
54
60
  &:hover {
55
61
  box-shadow: inset 0 0 0 var(--lns-formFieldBorderWidthFocus)
56
62
  var(--lns-color-blurple);
@@ -97,12 +103,16 @@ const TextInput = forwardRef((_a, ref) => {
97
103
  inputField)) : (inputField);
98
104
  });
99
105
  export const availableTypes = [
106
+ 'datetime-local',
100
107
  'email',
108
+ 'month',
101
109
  'number',
102
110
  'password',
103
111
  'search',
104
112
  'tel',
105
113
  'text',
114
+ 'time',
106
115
  'url',
116
+ 'week',
107
117
  ];
108
118
  export default TextInput;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loomhq/lens",
3
- "version": "10.23.1",
3
+ "version": "10.24.0",
4
4
  "scripts": {
5
5
  "dev": "next",
6
6
  "build:next": "next build",