@fluid-topics/ft-button 1.1.42 → 1.1.43
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-button.light.js +51 -51
- package/build/ft-button.min.js +259 -259
- package/build/ftds-button.styles.js +20 -20
- package/package.json +8 -8
|
@@ -89,10 +89,10 @@ export const designSystemStyles = [
|
|
|
89
89
|
${setVariable(FtLoaderCssVariables.color, button.primaryIconColor)};
|
|
90
90
|
|
|
91
91
|
${setVariable(FtRippleCssVariables.color, button.primaryStateLayerColor)};
|
|
92
|
-
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceHover, button.
|
|
93
|
-
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceFocused, button.
|
|
94
|
-
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceSelected, button.
|
|
95
|
-
${setVariable(FtRippleCssVariables.opacityContentOnSurfacePressed, button.
|
|
92
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceHover, button.primaryHoverStateLayerOpacity)};
|
|
93
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceFocused, button.primaryFocusStateLayerOpacity)};
|
|
94
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceSelected, button.primaryActiveStateLayerOpacity)};
|
|
95
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfacePressed, button.primaryActiveStateLayerOpacity)};
|
|
96
96
|
|
|
97
97
|
background-color: ${button.primaryBackgroundColor};
|
|
98
98
|
color: ${button.primaryColor};
|
|
@@ -100,7 +100,7 @@ export const designSystemStyles = [
|
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
.ft-button--primary[disabled] {
|
|
103
|
-
opacity: ${button.
|
|
103
|
+
opacity: ${button.primaryDisabledComponentOpacity};
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
.ft-button--primary ft-icon {
|
|
@@ -113,10 +113,10 @@ export const designSystemStyles = [
|
|
|
113
113
|
${setVariable(FtLoaderCssVariables.color, button.secondaryIconColor)};
|
|
114
114
|
|
|
115
115
|
${setVariable(FtRippleCssVariables.color, button.secondaryStateLayerColor)};
|
|
116
|
-
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceHover, button.
|
|
117
|
-
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceFocused, button.
|
|
118
|
-
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceSelected, button.
|
|
119
|
-
${setVariable(FtRippleCssVariables.opacityContentOnSurfacePressed, button.
|
|
116
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceHover, button.secondaryHoverStateLayerOpacity)};
|
|
117
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceFocused, button.secondaryFocusStateLayerOpacity)};
|
|
118
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceSelected, button.secondaryActiveStateLayerOpacity)};
|
|
119
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfacePressed, button.secondaryActiveStateLayerOpacity)};
|
|
120
120
|
|
|
121
121
|
background-color: ${button.secondaryBackgroundColor};
|
|
122
122
|
color: ${button.secondaryColor};
|
|
@@ -125,7 +125,7 @@ export const designSystemStyles = [
|
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
.ft-button--secondary[disabled] {
|
|
128
|
-
opacity: ${button.
|
|
128
|
+
opacity: ${button.secondaryDisabledComponentOpacity};
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
.ft-button--secondary ft-icon {
|
|
@@ -138,10 +138,10 @@ export const designSystemStyles = [
|
|
|
138
138
|
${setVariable(FtLoaderCssVariables.color, button.tertiaryIconColor)};
|
|
139
139
|
|
|
140
140
|
${setVariable(FtRippleCssVariables.color, button.tertiaryStateLayerColor)};
|
|
141
|
-
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceHover, button.
|
|
142
|
-
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceFocused, button.
|
|
143
|
-
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceSelected, button.
|
|
144
|
-
${setVariable(FtRippleCssVariables.opacityContentOnSurfacePressed, button.
|
|
141
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceHover, button.tertiaryHoverStateLayerOpacity)};
|
|
142
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceFocused, button.tertiaryFocusStateLayerOpacity)};
|
|
143
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceSelected, button.tertiaryActiveStateLayerOpacity)};
|
|
144
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfacePressed, button.tertiaryActiveStateLayerOpacity)};
|
|
145
145
|
|
|
146
146
|
background-color: ${button.tertiaryBackgroundColor};
|
|
147
147
|
color: ${button.tertiaryColor};
|
|
@@ -149,7 +149,7 @@ export const designSystemStyles = [
|
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
.ft-button--tertiary[disabled] {
|
|
152
|
-
opacity: ${button.
|
|
152
|
+
opacity: ${button.tertiaryDisabledComponentOpacity};
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
.ft-button--tertiary ft-icon {
|
|
@@ -162,10 +162,10 @@ export const designSystemStyles = [
|
|
|
162
162
|
${setVariable(FtLoaderCssVariables.color, button.neutralIconColor)};
|
|
163
163
|
|
|
164
164
|
${setVariable(FtRippleCssVariables.backgroundColor, button.neutralStateLayerColor)};
|
|
165
|
-
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceHover, button.
|
|
166
|
-
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceFocused, button.
|
|
167
|
-
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceSelected, button.
|
|
168
|
-
${setVariable(FtRippleCssVariables.opacityContentOnSurfacePressed, button.
|
|
165
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceHover, button.neutralHoverStateLayerOpacity)};
|
|
166
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceFocused, button.neutralFocusStateLayerOpacity)};
|
|
167
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceSelected, button.neutralActiveStateLayerOpacity)};
|
|
168
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfacePressed, button.neutralActiveStateLayerOpacity)};
|
|
169
169
|
|
|
170
170
|
background-color: ${button.neutralBackgroundColor};
|
|
171
171
|
color: ${button.neutralColor};
|
|
@@ -173,7 +173,7 @@ export const designSystemStyles = [
|
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
.ft-button--neutral[disabled] {
|
|
176
|
-
opacity: ${button.
|
|
176
|
+
opacity: ${button.neutralDisabledComponentOpacity};
|
|
177
177
|
}
|
|
178
178
|
|
|
179
179
|
.ft-button--neutral ft-icon {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-button",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.43",
|
|
4
4
|
"description": "A generic Fluid Topics tag",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,13 +19,13 @@
|
|
|
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.1.
|
|
23
|
-
"@fluid-topics/ft-loader": "1.1.
|
|
24
|
-
"@fluid-topics/ft-ripple": "1.1.
|
|
25
|
-
"@fluid-topics/ft-tooltip": "1.1.
|
|
26
|
-
"@fluid-topics/ft-typography": "1.1.
|
|
27
|
-
"@fluid-topics/ft-wc-utils": "1.1.
|
|
22
|
+
"@fluid-topics/ft-icon": "1.1.43",
|
|
23
|
+
"@fluid-topics/ft-loader": "1.1.43",
|
|
24
|
+
"@fluid-topics/ft-ripple": "1.1.43",
|
|
25
|
+
"@fluid-topics/ft-tooltip": "1.1.43",
|
|
26
|
+
"@fluid-topics/ft-typography": "1.1.43",
|
|
27
|
+
"@fluid-topics/ft-wc-utils": "1.1.43",
|
|
28
28
|
"lit": "3.1.0"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "c6f6bcb506f87c05a46c67d364abc285eec41894"
|
|
31
31
|
}
|