@fluid-topics/ft-chip 1.0.58 → 1.0.60
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-chip.css.js +12 -12
- package/build/ft-chip.light.js +451 -226
- package/build/ft-chip.min.js +486 -261
- package/package.json +6 -6
package/build/ft-chip.css.js
CHANGED
|
@@ -4,27 +4,27 @@ import { FtRippleCssVariables } from "@fluid-topics/ft-ripple/build/ft-ripple.cs
|
|
|
4
4
|
import { FtTypographyBody2CssVariables } from "@fluid-topics/ft-typography/build/ft-typography.css";
|
|
5
5
|
import { FtIconCssVariables } from "@fluid-topics/ft-icon/build/ft-icon.css";
|
|
6
6
|
import { FtButtonCssVariables } from "@fluid-topics/ft-button";
|
|
7
|
-
const chipColor = FtCssVariableFactory.extend("--ft-chip-color", designSystemVariables.colorOnSurface);
|
|
7
|
+
const chipColor = FtCssVariableFactory.extend("--ft-chip-color", "", designSystemVariables.colorOnSurface);
|
|
8
8
|
export const FtChipCssVariables = {
|
|
9
|
-
backgroundColor: FtCssVariableFactory.extend("--ft-chip-background-color", designSystemVariables.colorSurface),
|
|
9
|
+
backgroundColor: FtCssVariableFactory.extend("--ft-chip-background-color", "", designSystemVariables.colorSurface),
|
|
10
10
|
color: chipColor,
|
|
11
|
-
fontSize: FtCssVariableFactory.extend("--ft-chip-font-size", FtTypographyBody2CssVariables.fontSize),
|
|
12
|
-
iconSize: FtCssVariableFactory.create("--ft-chip-icon-size", "SIZE", "18px"),
|
|
13
|
-
rippleColor: FtCssVariableFactory.extend("--ft-chip-ripple-color", chipColor),
|
|
14
|
-
horizontalPadding: FtCssVariableFactory.create("--ft-chip-horizontal-padding", "SIZE", "6px"),
|
|
15
|
-
verticalPadding: FtCssVariableFactory.create("--ft-chip-vertical-padding", "SIZE", "6px"),
|
|
11
|
+
fontSize: FtCssVariableFactory.extend("--ft-chip-font-size", "", FtTypographyBody2CssVariables.fontSize),
|
|
12
|
+
iconSize: FtCssVariableFactory.create("--ft-chip-icon-size", "", "SIZE", "18px"),
|
|
13
|
+
rippleColor: FtCssVariableFactory.extend("--ft-chip-ripple-color", "", chipColor),
|
|
14
|
+
horizontalPadding: FtCssVariableFactory.create("--ft-chip-horizontal-padding", "", "SIZE", "6px"),
|
|
15
|
+
verticalPadding: FtCssVariableFactory.create("--ft-chip-vertical-padding", "", "SIZE", "6px"),
|
|
16
16
|
colorOutline: FtCssVariableFactory.external(designSystemVariables.colorOutline, "Design system"),
|
|
17
17
|
opacityDisabled: FtCssVariableFactory.external(designSystemVariables.colorOpacityDisabled, "Design system"),
|
|
18
18
|
};
|
|
19
|
-
const chipHighlightedColor = FtCssVariableFactory.extend("--ft-chip-highlighted-color", FtCssVariableFactory.extend("--ft-chip-color", designSystemVariables.colorOnPrimary));
|
|
19
|
+
const chipHighlightedColor = FtCssVariableFactory.extend("--ft-chip-highlighted-color", "", FtCssVariableFactory.extend("--ft-chip-color", "", designSystemVariables.colorOnPrimary));
|
|
20
20
|
export const FtChipHighlightedCssVariables = {
|
|
21
|
-
backgroundColor: FtCssVariableFactory.extend("--ft-chip-highlighted-background-color", FtCssVariableFactory.extend("--ft-chip-background-color", designSystemVariables.colorPrimary)),
|
|
21
|
+
backgroundColor: FtCssVariableFactory.extend("--ft-chip-highlighted-background-color", "", FtCssVariableFactory.extend("--ft-chip-background-color", "", designSystemVariables.colorPrimary)),
|
|
22
22
|
color: chipHighlightedColor,
|
|
23
|
-
rippleColor: FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color", chipHighlightedColor),
|
|
23
|
+
rippleColor: FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color", "", chipHighlightedColor),
|
|
24
24
|
};
|
|
25
25
|
export const FtChipDenseCssVariables = {
|
|
26
|
-
horizontalPadding: FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding", "SIZE", "4px"),
|
|
27
|
-
verticalPadding: FtCssVariableFactory.create("--ft-chip-dense-vertical-padding", "SIZE", "4px"),
|
|
26
|
+
horizontalPadding: FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding", "", "SIZE", "4px"),
|
|
27
|
+
verticalPadding: FtCssVariableFactory.create("--ft-chip-dense-vertical-padding", "", "SIZE", "4px"),
|
|
28
28
|
};
|
|
29
29
|
// language=CSS
|
|
30
30
|
export const styles = [
|