@fluid-topics/ft-select 1.2.10 → 1.2.11
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.
- package/build/ft-select.light.js +20 -19
- package/build/ft-select.min.js +43 -42
- package/build/ft-select.styles.d.ts +1 -1
- package/build/ft-select.styles.js +3 -2
- package/package.json +7 -7
|
@@ -8,7 +8,7 @@ export declare const FtSelectCssVariables: {
|
|
|
8
8
|
helperColor: import("@fluid-topics/ft-wc-utils").FtCssVariable;
|
|
9
9
|
optionsColor: import("@fluid-topics/ft-wc-utils").FtCssVariable;
|
|
10
10
|
optionsZIndex: import("@fluid-topics/ft-wc-utils").FtCssVariable;
|
|
11
|
-
|
|
11
|
+
backgroundColor: import("@fluid-topics/ft-wc-utils").FtCssVariable;
|
|
12
12
|
colorOnSurfaceDisabled: import("@fluid-topics/ft-wc-utils").FtCssVariable;
|
|
13
13
|
colorPrimary: import("@fluid-topics/ft-wc-utils").FtCssVariable;
|
|
14
14
|
borderRadiusS: import("@fluid-topics/ft-wc-utils").FtCssVariable;
|
|
@@ -14,7 +14,7 @@ export const FtSelectCssVariables = {
|
|
|
14
14
|
helperColor: FtCssVariableFactory.extend("--ft-select-helper-color", "", designSystemVariables.colorOnSurfaceMedium),
|
|
15
15
|
optionsColor: FtCssVariableFactory.extend("--ft-select-options-color", "", designSystemVariables.colorOnSurface),
|
|
16
16
|
optionsZIndex: FtCssVariableFactory.create("--ft-select-options-z-index", "", "NUMBER", "3"),
|
|
17
|
-
|
|
17
|
+
backgroundColor: FtCssVariableFactory.extend("--ft-select-background-color", "", designSystemVariables.colorSurface),
|
|
18
18
|
colorOnSurfaceDisabled: FtCssVariableFactory.external(designSystemVariables.colorOnSurfaceDisabled, "Design system"),
|
|
19
19
|
colorPrimary: FtCssVariableFactory.external(designSystemVariables.colorPrimary, "Design system"),
|
|
20
20
|
borderRadiusS: FtCssVariableFactory.external(designSystemVariables.borderRadiusS, "Design system"),
|
|
@@ -78,6 +78,7 @@ export const styles = css `
|
|
|
78
78
|
${setVariable(FtInputLabelCssVariables.raisedFontSize, FtSelectCssVariables.labelSize)};
|
|
79
79
|
${setVariable(FtInputLabelCssVariables.verticalSpacing, FtSelectCssVariables.verticalSpacing)};
|
|
80
80
|
${setVariable(FtInputLabelCssVariables.horizontalSpacing, FtSelectCssVariables.horizontalSpacing)};
|
|
81
|
+
${setVariable(FtInputLabelCssVariables.backgroundColor, FtSelectCssVariables.backgroundColor)};
|
|
81
82
|
${setVariable(FtInputLabelCssVariables.labelMaxWidth, `calc(100% - ${FtIconCssVariables.size} - 8px)`)};
|
|
82
83
|
}
|
|
83
84
|
|
|
@@ -131,7 +132,7 @@ export const styles = css `
|
|
|
131
132
|
position: absolute;
|
|
132
133
|
top: 100%;
|
|
133
134
|
color: ${FtSelectCssVariables.optionsColor};
|
|
134
|
-
background: ${FtSelectCssVariables.
|
|
135
|
+
background: ${FtSelectCssVariables.backgroundColor};
|
|
135
136
|
z-index: ${FtSelectCssVariables.optionsZIndex};
|
|
136
137
|
box-shadow: ${FtSelectCssVariables.elevation02};
|
|
137
138
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-select",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.11",
|
|
4
4
|
"description": "Value selector for a predefined list of choices",
|
|
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.
|
|
23
|
-
"@fluid-topics/ft-input-label": "1.2.
|
|
24
|
-
"@fluid-topics/ft-ripple": "1.2.
|
|
25
|
-
"@fluid-topics/ft-typography": "1.2.
|
|
26
|
-
"@fluid-topics/ft-wc-utils": "1.2.
|
|
22
|
+
"@fluid-topics/ft-icon": "1.2.11",
|
|
23
|
+
"@fluid-topics/ft-input-label": "1.2.11",
|
|
24
|
+
"@fluid-topics/ft-ripple": "1.2.11",
|
|
25
|
+
"@fluid-topics/ft-typography": "1.2.11",
|
|
26
|
+
"@fluid-topics/ft-wc-utils": "1.2.11",
|
|
27
27
|
"lit": "3.1.0"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "e064cf26299976a55c5adb3c602fed2dc076557b"
|
|
30
30
|
}
|