@fluid-topics/ft-search-saved-searches 1.0.43 → 1.0.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.
@@ -163,6 +163,10 @@ FtSearchSavedSearch.styles = css `
163
163
  margin-right: 0.4em;
164
164
  margin-left: 0.2em;
165
165
  }
166
+
167
+ #alertStatus {
168
+ color: ${FtSearchSavedSearchesCssVariables.color};
169
+ }
166
170
  `;
167
171
  __decorate([
168
172
  property()
@@ -1,4 +1,5 @@
1
1
  export declare const FtSearchSavedSearchesCssVariables: {
2
+ color: import("@fluid-topics/ft-wc-utils").FtCssVariable;
2
3
  activeButtonTextColor: import("@fluid-topics/ft-wc-utils").FtCssVariable;
3
4
  activeSearchBackgroundColor: import("@fluid-topics/ft-wc-utils").FtCssVariable;
4
5
  activeSearchBorderStyle: import("@fluid-topics/ft-wc-utils").FtCssVariable;
@@ -1,17 +1,18 @@
1
1
  var _a, _b, _c, _d;
2
2
  import { css } from "lit";
3
- import { designSystemVariables, FtCssVariableFactory } from "@fluid-topics/ft-wc-utils";
3
+ import { designSystemVariables, FtCssVariableFactory, setVariable } from "@fluid-topics/ft-wc-utils";
4
4
  import { FtCardCssVariables } from "@fluid-topics/ft-card";
5
5
  export const FtSearchSavedSearchesCssVariables = {
6
+ color: FtCssVariableFactory.extend("--ft-search-saved-searches-color", designSystemVariables.colorOnSurface),
6
7
  activeButtonTextColor: FtCssVariableFactory.extend("--ft-search-saved-searches-active-button-text-color", designSystemVariables.colorPrimary),
7
8
  activeSearchBackgroundColor: FtCssVariableFactory.extend("--ft-search-saved-searches-active-search-background-color", designSystemVariables.colorContent),
8
- activeSearchBorderStyle: FtCssVariableFactory.create("--ft-search-saved-searches-active-search-border-style", "UNKNOWN", (_a = FtCardCssVariables.selectedOutlineStyle.lastResortDefaultValue()) !== null && _a !== void 0 ? _a : "solid"),
9
+ activeSearchBorderStyle: FtCssVariableFactory.create("--ft-search-saved-searches-active-search-border-style", "BORDER-STYLE", (_a = FtCardCssVariables.selectedOutlineStyle.lastResortDefaultValue()) !== null && _a !== void 0 ? _a : "solid"),
9
10
  activeSearchBorderColor: FtCssVariableFactory.extend("--ft-search-saved-searches-active-search-border-color", designSystemVariables.colorPrimary),
10
11
  activeSearchBorderWidth: FtCssVariableFactory.create("--ft-search-saved-searches-active-search-border-width", "SIZE", (_b = FtCardCssVariables.selectedOutlineWidth.lastResortDefaultValue()) !== null && _b !== void 0 ? _b : "2px"),
11
12
  activeSearchBorderRadius: FtCssVariableFactory.extend("--ft-search-saved-searches-active-search-border-radius", designSystemVariables.borderRadiusM),
12
13
  inactiveButtonTextColor: FtCssVariableFactory.extend("--ft-search-saved-searches-inactive-button-text-color", designSystemVariables.colorPrimary),
13
14
  inactiveSearchBackgroundColor: FtCssVariableFactory.extend("--ft-search-saved-searches-inactive-search-background-color", designSystemVariables.colorContent),
14
- inactiveSearchBorderStyle: FtCssVariableFactory.create("--ft-search-saved-searches-inactive-search-border-style", "UNKNOWN", (_c = FtCardCssVariables.outlineStyle.lastResortDefaultValue()) !== null && _c !== void 0 ? _c : "solid"),
15
+ inactiveSearchBorderStyle: FtCssVariableFactory.create("--ft-search-saved-searches-inactive-search-border-style", "BORDER-STYLE", (_c = FtCardCssVariables.outlineStyle.lastResortDefaultValue()) !== null && _c !== void 0 ? _c : "solid"),
15
16
  inactiveSearchBorderColor: FtCssVariableFactory.extend("--ft-search-saved-searches-inactive-search-border-color", designSystemVariables.colorPrimary),
16
17
  inactiveSearchBorderWidth: FtCssVariableFactory.create("--ft-search-saved-searches-inactive-search-border-width", "SIZE", (_d = FtCardCssVariables.outlineWidth.lastResortDefaultValue()) !== null && _d !== void 0 ? _d : "0"),
17
18
  inactiveSearchBorderRadius: FtCssVariableFactory.extend("--ft-search-saved-searches-inactive-search-border-radius", designSystemVariables.borderRadiusM),
@@ -23,5 +24,8 @@ export const styles = css `
23
24
  flex-direction: column;
24
25
  gap: 24px;
25
26
  margin: 3px;
27
+
28
+ ${setVariable(FtCardCssVariables.colorOnSurfaceHigh, FtSearchSavedSearchesCssVariables.color)};
29
+ ${setVariable(FtCardCssVariables.colorOnSurfaceMedium, FtSearchSavedSearchesCssVariables.color)};
26
30
  }
27
31
  `;