@fluid-topics/ft-text-field 1.2.46 → 1.2.49

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.
@@ -14,7 +14,7 @@ import { FtTypography, FtTypographyBody1 } from "@fluid-topics/ft-typography";
14
14
  import { FtInputLabel } from "@fluid-topics/ft-input-label";
15
15
  import { FtRipple } from "@fluid-topics/ft-ripple";
16
16
  import { FtIcon, FtIcons } from "@fluid-topics/ft-icon";
17
- import { FtTextFieldCssVariables, styles } from "./ft-text-field.styles";
17
+ import { styles } from "./ft-text-field.styles";
18
18
  import { FtTextFieldSuggestion } from "./ft-text-field-suggestion";
19
19
  class FtTextField extends toFtFormComponent(FtLitElement, "textbox") {
20
20
  constructor() {
@@ -316,7 +316,7 @@ class FtTextField extends toFtFormComponent(FtLitElement, "textbox") {
316
316
  setSuggestionPosition() {
317
317
  this.suggestionsContainer.style.width = this.mainPanel.getBoundingClientRect().width + "px";
318
318
  const fallbackPlacements = ["bottom", "top"];
319
- computeOffsetAutoPosition(this.mainPanel, this.suggestionsContainer, "bottom", fallbackPlacements, "fixed", FtTextFieldCssVariables.suggestSize.name, 0)
319
+ computeOffsetAutoPosition(this.mainPanel, this.suggestionsContainer, "bottom", fallbackPlacements, "fixed", "--ft-text-field-internal-suggest-size", 0)
320
320
  .then(({ x, y }) => {
321
321
  this.suggestionsContainer.style.left = `${x}px`;
322
322
  this.suggestionsContainer.style.top = `${y}px`;