@fluid-topics/ft-text-field 1.1.42 → 1.1.44

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.
@@ -5,6 +5,7 @@ export interface FtTextFieldProperties {
5
5
  outlined?: boolean;
6
6
  disabled?: boolean;
7
7
  error?: boolean;
8
+ fixedMenuPosition?: boolean;
8
9
  prefix?: string | null;
9
10
  icon?: string;
10
11
  passwordHiddenIcon?: string;
@@ -149,8 +149,6 @@ export const styles = css `
149
149
  display: none;
150
150
  flex-direction: column;
151
151
  position: absolute;
152
- left: 0;
153
- right: 0;
154
152
  z-index: ${FtTextFieldCssVariables.floatingZIndex};
155
153
  background: ${FtTextFieldCssVariables.colorSurface};
156
154
  border: 1px solid ${FtTextFieldCssVariables.colorOutline};
@@ -161,12 +159,8 @@ export const styles = css `
161
159
  overflow-y: auto;
162
160
  }
163
161
 
164
- .ft-text-field--suggestions:not(.ft-text-field--suggestions-on-top) {
165
- top: 100%;
166
- }
167
-
168
- .ft-text-field--suggestions.ft-text-field--suggestions-on-top {
169
- bottom: 100%;
162
+ .ft-text-field--fixed .ft-text-field--suggestions {
163
+ position: fixed;
170
164
  }
171
165
 
172
166
  .ft-text-field:not(.ft-text-field--hide-suggestions):focus-within .ft-text-field--suggestions {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-text-field",
3
- "version": "1.1.42",
3
+ "version": "1.1.44",
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.1.42",
23
- "@fluid-topics/ft-input-label": "1.1.42",
24
- "@fluid-topics/ft-ripple": "1.1.42",
25
- "@fluid-topics/ft-typography": "1.1.42",
26
- "@fluid-topics/ft-wc-utils": "1.1.42",
22
+ "@fluid-topics/ft-icon": "1.1.44",
23
+ "@fluid-topics/ft-input-label": "1.1.44",
24
+ "@fluid-topics/ft-ripple": "1.1.44",
25
+ "@fluid-topics/ft-typography": "1.1.44",
26
+ "@fluid-topics/ft-wc-utils": "1.1.44",
27
27
  "lit": "3.1.0"
28
28
  },
29
- "gitHead": "057e1248874a9a814a34e0bf75329f963744a5ff"
29
+ "gitHead": "338d6b90cd29912af999509fb4d399e13a93e54d"
30
30
  }