@fluid-topics/ft-text-field 1.2.27 → 1.2.29

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.
@@ -15,4 +15,5 @@ export interface FtTextFieldProperties {
15
15
  suggestionsHelper?: string;
16
16
  maxLength?: number;
17
17
  password?: boolean;
18
+ suggestionsProvider?: Function;
18
19
  }
@@ -96,6 +96,13 @@ export const styles = css `
96
96
  padding: calc(2 * ${FtTextFieldCssVariables.verticalSpacing}) 0;
97
97
  border: none;
98
98
  background: none;
99
+
100
+ &:-webkit-autofill,
101
+ &:-webkit-autofill:hover,
102
+ &:-webkit-autofill:focus {
103
+ -webkit-text-fill-color: ${FtTextFieldCssVariables.colorOnSurface};
104
+ transition: background-color 50000000s ease-in-out 100000s;
105
+ }
99
106
  }
100
107
 
101
108
  .ft-text-field--filled.ft-text-field--with-label .ft-text-field--input {
package/build/index.d.ts CHANGED
@@ -4,3 +4,4 @@ export * from "./ft-text-field";
4
4
  export * from "./ft-text-field-suggestion.styles";
5
5
  export * from "./ft-text-field-suggestion.properties";
6
6
  export * from "./ft-text-field-suggestion";
7
+ export * from "./TextFieldSuggestionProvider";
package/build/index.js CHANGED
@@ -7,5 +7,6 @@ export * from "./ft-text-field";
7
7
  export * from "./ft-text-field-suggestion.styles";
8
8
  export * from "./ft-text-field-suggestion.properties";
9
9
  export * from "./ft-text-field-suggestion";
10
+ export * from "./TextFieldSuggestionProvider";
10
11
  customElement("ft-text-field")(FtTextField);
11
12
  customElement("ft-text-field-suggestion")(FtTextFieldSuggestion);
@@ -0,0 +1,7 @@
1
+ import { FtIcons } from "@fluid-topics/ft-icon";
2
+ export interface FtTextFieldSuggestionDefinition {
3
+ value: string;
4
+ label: string;
5
+ icon?: FtIcons;
6
+ clickHandler?: (e: Event) => void;
7
+ }
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-text-field",
3
- "version": "1.2.27",
3
+ "version": "1.2.29",
4
4
  "description": "A fluidtopics text field",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,12 +19,12 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-icon": "1.2.27",
23
- "@fluid-topics/ft-input-label": "1.2.27",
24
- "@fluid-topics/ft-ripple": "1.2.27",
25
- "@fluid-topics/ft-typography": "1.2.27",
26
- "@fluid-topics/ft-wc-utils": "1.2.27",
22
+ "@fluid-topics/ft-icon": "1.2.29",
23
+ "@fluid-topics/ft-input-label": "1.2.29",
24
+ "@fluid-topics/ft-ripple": "1.2.29",
25
+ "@fluid-topics/ft-typography": "1.2.29",
26
+ "@fluid-topics/ft-wc-utils": "1.2.29",
27
27
  "lit": "3.1.0"
28
28
  },
29
- "gitHead": "69700a881ad4113b340ef0e6c44807e3d7c579ee"
29
+ "gitHead": "245caf9b8a13c25cd1caca091ed037aabc2846ab"
30
30
  }