@fluid-topics/ft-select 0.2.3 → 0.2.7

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.
@@ -18,6 +18,8 @@ export interface FtSelectProperties {
18
18
  helper?: string;
19
19
  outlined?: boolean;
20
20
  disabled?: boolean;
21
+ error?: boolean;
22
+ fixedMenuPosition?: boolean;
21
23
  options?: Array<FtSelectOptionProperties>;
22
24
  selectedOption?: FtSelectOptionProperties;
23
25
  }
@@ -34,6 +36,7 @@ export declare const FtSelectCssVariables: {
34
36
  colorPrimary: FtCssVariable;
35
37
  borderRadiusS: FtCssVariable;
36
38
  elevation02: FtCssVariable;
39
+ colorError: FtCssVariable;
37
40
  };
38
41
  export declare class FtSelect extends FtLitElement implements FtSelectProperties {
39
42
  static elementDefinitions: ElementDefinitionsMap;
@@ -42,12 +45,15 @@ export declare class FtSelect extends FtLitElement implements FtSelectProperties
42
45
  helper: string;
43
46
  outlined: boolean;
44
47
  disabled: boolean;
48
+ error: boolean;
49
+ fixedMenuPosition: boolean;
45
50
  options: Array<FtSelectOptionProperties>;
46
51
  selectedOption?: FtSelectOptionProperties;
47
52
  private optionsDisplayed;
48
53
  private focusOptions;
49
54
  private container?;
50
- private mainPanel?;
55
+ private optionsMenu?;
56
+ private mainPanel;
51
57
  private firstOption?;
52
58
  private focusedOption?;
53
59
  private selectedOptionElement?;
@@ -56,7 +62,9 @@ export declare class FtSelect extends FtLitElement implements FtSelectProperties
56
62
  protected render(): import("lit-html").TemplateResult<1>;
57
63
  private renderOption;
58
64
  protected updated(props: PropertyValues): void;
65
+ private positionOptionsMenu;
59
66
  protected contentAvailableCallback(props: PropertyValues): void;
67
+ private get hasOptionsMenuOpen();
60
68
  private get hasOptions();
61
69
  private updateOptionsFromSlot;
62
70
  private onMainPanelKeyDown;