@fluid-topics/ft-chip 1.1.115 → 1.1.117
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.d.ts +1 -0
- package/build/ft-chip.js +7 -2
- package/build/ft-chip.light.js +467 -245
- package/build/ft-chip.min.js +494 -272
- package/build/ft-chip.styles.d.ts +1 -1
- package/build/ft-chip.styles.js +5 -4
- package/package.json +7 -7
|
@@ -7,7 +7,7 @@ export declare const FtChipCssVariables: {
|
|
|
7
7
|
rippleColor: import("@fluid-topics/ft-wc-utils").FtCssVariable;
|
|
8
8
|
horizontalPadding: import("@fluid-topics/ft-wc-utils").FtCssVariable;
|
|
9
9
|
verticalPadding: import("@fluid-topics/ft-wc-utils").FtCssVariable;
|
|
10
|
-
|
|
10
|
+
borderColor: import("@fluid-topics/ft-wc-utils").FtCssVariable;
|
|
11
11
|
opacityDisabled: import("@fluid-topics/ft-wc-utils").FtCssVariable;
|
|
12
12
|
};
|
|
13
13
|
export declare const FtChipHighlightedCssVariables: {
|
package/build/ft-chip.styles.js
CHANGED
|
@@ -14,7 +14,7 @@ export const FtChipCssVariables = {
|
|
|
14
14
|
rippleColor: FtCssVariableFactory.extend("--ft-chip-ripple-color", "", chipColor),
|
|
15
15
|
horizontalPadding: FtCssVariableFactory.create("--ft-chip-horizontal-padding", "", "SIZE", "6px"),
|
|
16
16
|
verticalPadding: FtCssVariableFactory.create("--ft-chip-vertical-padding", "", "SIZE", "6px"),
|
|
17
|
-
|
|
17
|
+
borderColor: FtCssVariableFactory.extend("--ft-chip-border-color", "", designSystemVariables.colorOutline),
|
|
18
18
|
opacityDisabled: FtCssVariableFactory.external(designSystemVariables.colorOpacityDisabled, "Design system"),
|
|
19
19
|
};
|
|
20
20
|
const chipHighlightedColor = FtCssVariableFactory.extend("--ft-chip-highlighted-color", "", FtCssVariableFactory.extend("--ft-chip-color", "", designSystemVariables.colorOnPrimary));
|
|
@@ -54,7 +54,7 @@ export const styles = [
|
|
|
54
54
|
--ft-chip-internal-icon-padding: 3px;
|
|
55
55
|
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${FtChipCssVariables.iconSize});
|
|
56
56
|
|
|
57
|
-
border: 1px solid ${FtChipCssVariables.
|
|
57
|
+
border: 1px solid ${FtChipCssVariables.borderColor};
|
|
58
58
|
color: ${FtChipCssVariables.color};
|
|
59
59
|
${setVariable(FtRippleCssVariables.color, FtChipCssVariables.rippleColor)};
|
|
60
60
|
border-radius: var(${unsafeCSS(FtChipCssVariables.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
|
|
@@ -95,11 +95,12 @@ export const styles = [
|
|
|
95
95
|
|
|
96
96
|
.ft-chip--clickable {
|
|
97
97
|
cursor: pointer;
|
|
98
|
-
|
|
98
|
+
overflow: hidden
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
.ft-chip:focus {
|
|
102
|
-
outline:
|
|
102
|
+
outline: 2px solid var(--ft-color-primary, #2196F3);
|
|
103
|
+
outline-offset: 2px;
|
|
103
104
|
}
|
|
104
105
|
|
|
105
106
|
.ft-chip--icon-container {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-chip",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.117",
|
|
4
4
|
"description": "A generic Fluid Topics chip",
|
|
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/design-system-variables": "0.
|
|
23
|
-
"@fluid-topics/ft-icon": "1.1.
|
|
24
|
-
"@fluid-topics/ft-ripple": "1.1.
|
|
25
|
-
"@fluid-topics/ft-typography": "1.1.
|
|
26
|
-
"@fluid-topics/ft-wc-utils": "1.1.
|
|
22
|
+
"@fluid-topics/design-system-variables": "0.1.2",
|
|
23
|
+
"@fluid-topics/ft-icon": "1.1.117",
|
|
24
|
+
"@fluid-topics/ft-ripple": "1.1.117",
|
|
25
|
+
"@fluid-topics/ft-typography": "1.1.117",
|
|
26
|
+
"@fluid-topics/ft-wc-utils": "1.1.117",
|
|
27
27
|
"lit": "3.1.0"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "061a8cebc72403790111ca8292208f4213b84312"
|
|
30
30
|
}
|