@fluid-topics/ft-button 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-button.light.js +400 -179
- package/build/ft-button.min.js +409 -188
- package/build/ftds-button.styles.js +278 -57
- package/package.json +9 -9
|
@@ -88,101 +88,322 @@ export const designSystemStyles = [
|
|
|
88
88
|
border-radius: 50%;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
/** Primary styles **/
|
|
91
|
+
/** Brand Primary styles **/
|
|
92
92
|
|
|
93
|
-
.ft-button--primary {
|
|
94
|
-
${setVariable(FtLoaderCssVariables.color, button.
|
|
93
|
+
.ftds--family-brand.ft-button--primary {
|
|
94
|
+
${setVariable(FtLoaderCssVariables.color, button.primaryBrandIconColor)};
|
|
95
95
|
|
|
96
|
-
${setVariable(FtRippleCssVariables.color, button.
|
|
97
|
-
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceHover, button.
|
|
98
|
-
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceFocused, button.
|
|
99
|
-
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceSelected, button.
|
|
100
|
-
${setVariable(FtRippleCssVariables.opacityContentOnSurfacePressed, button.
|
|
96
|
+
${setVariable(FtRippleCssVariables.color, button.primaryBrandStateLayerColor)};
|
|
97
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceHover, button.primaryBrandHoverStateLayerOpacity)};
|
|
98
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceFocused, button.primaryBrandFocusStateLayerOpacity)};
|
|
99
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceSelected, button.primaryBrandActiveStateLayerOpacity)};
|
|
100
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfacePressed, button.primaryBrandActiveStateLayerOpacity)};
|
|
101
101
|
|
|
102
|
-
background-color: ${button.
|
|
103
|
-
color: ${button.
|
|
102
|
+
background-color: ${button.primaryBrandBackgroundColor};
|
|
103
|
+
color: ${button.primaryBrandColor};
|
|
104
104
|
border-style: none;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
.ft-button--primary[disabled] {
|
|
108
|
-
opacity: ${button.
|
|
107
|
+
.ftds--family-brand.ft-button--primary[disabled] {
|
|
108
|
+
opacity: ${button.primaryBrandDisabledComponentOpacity};
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
.ft-button--primary ft-icon {
|
|
112
|
-
color: ${button.
|
|
111
|
+
.ftds--family-brand.ft-button--primary ft-icon {
|
|
112
|
+
color: ${button.primaryBrandIconColor};
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
/** Secondary styles **/
|
|
115
|
+
/** Brand Secondary styles **/
|
|
116
116
|
|
|
117
|
-
.ft-button--secondary {
|
|
118
|
-
${setVariable(FtLoaderCssVariables.color, button.
|
|
117
|
+
.ftds--family-brand.ft-button--secondary {
|
|
118
|
+
${setVariable(FtLoaderCssVariables.color, button.secondaryBrandIconColor)};
|
|
119
119
|
|
|
120
|
-
${setVariable(FtRippleCssVariables.color, button.
|
|
121
|
-
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceHover, button.
|
|
122
|
-
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceFocused, button.
|
|
123
|
-
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceSelected, button.
|
|
124
|
-
${setVariable(FtRippleCssVariables.opacityContentOnSurfacePressed, button.
|
|
120
|
+
${setVariable(FtRippleCssVariables.color, button.secondaryBrandStateLayerColor)};
|
|
121
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceHover, button.secondaryBrandHoverStateLayerOpacity)};
|
|
122
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceFocused, button.secondaryBrandFocusStateLayerOpacity)};
|
|
123
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceSelected, button.secondaryBrandActiveStateLayerOpacity)};
|
|
124
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfacePressed, button.secondaryBrandActiveStateLayerOpacity)};
|
|
125
125
|
|
|
126
|
-
background-color: ${button.
|
|
127
|
-
color: ${button.
|
|
128
|
-
border-color: ${button.
|
|
126
|
+
background-color: ${button.secondaryBrandBackgroundColor};
|
|
127
|
+
color: ${button.secondaryBrandColor};
|
|
128
|
+
border-color: ${button.secondaryBrandBorderColor};
|
|
129
129
|
border-style: solid;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
.ft-button--secondary[disabled] {
|
|
133
|
-
opacity: ${button.
|
|
132
|
+
.ftds--family-brand.ft-button--secondary[disabled] {
|
|
133
|
+
opacity: ${button.secondaryBrandDisabledComponentOpacity};
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
.ft-button--secondary ft-icon {
|
|
137
|
-
color: ${button.
|
|
136
|
+
.ftds--family-brand.ft-button--secondary ft-icon {
|
|
137
|
+
color: ${button.secondaryBrandIconColor};
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
/** Tertiary styles **/
|
|
140
|
+
/** Brand Tertiary styles **/
|
|
141
141
|
|
|
142
|
-
.ft-button--tertiary {
|
|
143
|
-
${setVariable(FtLoaderCssVariables.color, button.
|
|
142
|
+
.ftds--family-brand.ft-button--tertiary {
|
|
143
|
+
${setVariable(FtLoaderCssVariables.color, button.tertiaryBrandIconColor)};
|
|
144
144
|
|
|
145
|
-
${setVariable(FtRippleCssVariables.color, button.
|
|
146
|
-
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceHover, button.
|
|
147
|
-
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceFocused, button.
|
|
148
|
-
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceSelected, button.
|
|
149
|
-
${setVariable(FtRippleCssVariables.opacityContentOnSurfacePressed, button.
|
|
145
|
+
${setVariable(FtRippleCssVariables.color, button.tertiaryBrandStateLayerColor)};
|
|
146
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceHover, button.tertiaryBrandHoverStateLayerOpacity)};
|
|
147
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceFocused, button.tertiaryBrandFocusStateLayerOpacity)};
|
|
148
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceSelected, button.tertiaryBrandActiveStateLayerOpacity)};
|
|
149
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfacePressed, button.tertiaryBrandActiveStateLayerOpacity)};
|
|
150
150
|
|
|
151
|
-
background-color: ${button.
|
|
152
|
-
color: ${button.
|
|
151
|
+
background-color: ${button.tertiaryBrandBackgroundColor};
|
|
152
|
+
color: ${button.tertiaryBrandColor};
|
|
153
153
|
border-style: none;
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
.ft-button--tertiary[disabled] {
|
|
157
|
-
opacity: ${button.
|
|
156
|
+
.ftds--family-brand.ft-button--tertiary[disabled] {
|
|
157
|
+
opacity: ${button.tertiaryBrandDisabledComponentOpacity};
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
.ft-button--tertiary ft-icon {
|
|
161
|
-
color: ${button.
|
|
160
|
+
.ftds--family-brand.ft-button--tertiary ft-icon {
|
|
161
|
+
color: ${button.tertiaryBrandIconColor};
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
/** Neutral styles **/
|
|
164
|
+
/** Neutral Secondary styles **/
|
|
165
165
|
|
|
166
|
-
.ftds--family-neutral {
|
|
167
|
-
${setVariable(FtLoaderCssVariables.color, button.
|
|
166
|
+
.ftds--family-neutral.ft-button--secondary {
|
|
167
|
+
${setVariable(FtLoaderCssVariables.color, button.secondaryNeutralIconColor)};
|
|
168
168
|
|
|
169
|
-
${setVariable(FtRippleCssVariables.backgroundColor, button.
|
|
170
|
-
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceHover, button.
|
|
171
|
-
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceFocused, button.
|
|
172
|
-
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceSelected, button.
|
|
173
|
-
${setVariable(FtRippleCssVariables.opacityContentOnSurfacePressed, button.
|
|
169
|
+
${setVariable(FtRippleCssVariables.backgroundColor, button.secondaryNeutralStateLayerColor)};
|
|
170
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceHover, button.secondaryNeutralHoverStateLayerOpacity)};
|
|
171
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceFocused, button.secondaryNeutralFocusStateLayerOpacity)};
|
|
172
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceSelected, button.secondaryNeutralActiveStateLayerOpacity)};
|
|
173
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfacePressed, button.secondaryNeutralActiveStateLayerOpacity)};
|
|
174
174
|
|
|
175
|
-
background-color: ${button.
|
|
176
|
-
color: ${button.
|
|
175
|
+
background-color: ${button.secondaryNeutralBackgroundColor};
|
|
176
|
+
color: ${button.secondaryNeutralColor};
|
|
177
|
+
border-color: ${button.secondaryNeutralBorderColor};
|
|
178
|
+
border-style: solid;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.ftds--family-neutral.ft-button--secondary[disabled] {
|
|
182
|
+
opacity: ${button.secondaryNeutralDisabledComponentOpacity};
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.ftds--family-neutral.ft-button--secondary ft-icon {
|
|
186
|
+
color: ${button.secondaryNeutralIconColor};
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
/** Neutral Tertiary styles **/
|
|
190
|
+
|
|
191
|
+
.ftds--family-neutral.ft-button--tertiary {
|
|
192
|
+
${setVariable(FtLoaderCssVariables.color, button.tertiaryNeutralIconColor)};
|
|
193
|
+
|
|
194
|
+
${setVariable(FtRippleCssVariables.backgroundColor, button.tertiaryNeutralStateLayerColor)};
|
|
195
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceHover, button.tertiaryNeutralHoverStateLayerOpacity)};
|
|
196
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceFocused, button.tertiaryNeutralFocusStateLayerOpacity)};
|
|
197
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceSelected, button.tertiaryNeutralActiveStateLayerOpacity)};
|
|
198
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfacePressed, button.tertiaryNeutralActiveStateLayerOpacity)};
|
|
199
|
+
|
|
200
|
+
background-color: ${button.tertiaryNeutralBackgroundColor};
|
|
201
|
+
color: ${button.tertiaryNeutralColor};
|
|
202
|
+
border-style: none;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.ftds--family-neutral.ft-button--tertiary[disabled] {
|
|
206
|
+
opacity: ${button.tertiaryNeutralDisabledComponentOpacity};
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.ftds--family-neutral.ft-button--tertiary ft-icon {
|
|
210
|
+
color: ${button.tertiaryNeutralIconColor};
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
/** Info Secondary styles **/
|
|
214
|
+
|
|
215
|
+
.ftds--family-info.ft-button--secondary {
|
|
216
|
+
${setVariable(FtLoaderCssVariables.color, button.secondaryInfoIconColor)};
|
|
217
|
+
|
|
218
|
+
${setVariable(FtRippleCssVariables.backgroundColor, button.secondaryInfoStateLayerColor)};
|
|
219
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceHover, button.secondaryInfoHoverStateLayerOpacity)};
|
|
220
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceFocused, button.secondaryInfoFocusStateLayerOpacity)};
|
|
221
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceSelected, button.secondaryInfoActiveStateLayerOpacity)};
|
|
222
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfacePressed, button.secondaryInfoActiveStateLayerOpacity)};
|
|
223
|
+
|
|
224
|
+
background-color: ${button.secondaryInfoBackgroundColor};
|
|
225
|
+
color: ${button.secondaryInfoColor};
|
|
226
|
+
border-color: ${button.secondaryInfoBorderColor};
|
|
227
|
+
border-style: solid;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.ftds--family-info.ft-button--secondary[disabled] {
|
|
231
|
+
opacity: ${button.secondaryInfoDisabledComponentOpacity};
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.ftds--family-info.ft-button--secondary ft-icon {
|
|
235
|
+
color: ${button.secondaryInfoIconColor};
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
/** Info Tertiary styles **/
|
|
239
|
+
|
|
240
|
+
.ftds--family-info.ft-button--tertiary {
|
|
241
|
+
${setVariable(FtLoaderCssVariables.color, button.tertiaryInfoIconColor)};
|
|
242
|
+
|
|
243
|
+
${setVariable(FtRippleCssVariables.backgroundColor, button.tertiaryInfoStateLayerColor)};
|
|
244
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceHover, button.tertiaryInfoHoverStateLayerOpacity)};
|
|
245
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceFocused, button.tertiaryInfoFocusStateLayerOpacity)};
|
|
246
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceSelected, button.tertiaryInfoActiveStateLayerOpacity)};
|
|
247
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfacePressed, button.tertiaryInfoActiveStateLayerOpacity)};
|
|
248
|
+
|
|
249
|
+
background-color: ${button.tertiaryInfoBackgroundColor};
|
|
250
|
+
color: ${button.tertiaryInfoColor};
|
|
251
|
+
border-style: none;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.ftds--family-info.ft-button--tertiary[disabled] {
|
|
255
|
+
opacity: ${button.tertiaryInfoDisabledComponentOpacity};
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.ftds--family-info.ft-button--tertiary ft-icon {
|
|
259
|
+
color: ${button.tertiaryInfoIconColor};
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
/** Success Secondary styles **/
|
|
263
|
+
|
|
264
|
+
.ftds--family-success.ft-button--secondary {
|
|
265
|
+
${setVariable(FtLoaderCssVariables.color, button.secondarySuccessIconColor)};
|
|
266
|
+
|
|
267
|
+
${setVariable(FtRippleCssVariables.backgroundColor, button.secondarySuccessStateLayerColor)};
|
|
268
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceHover, button.secondarySuccessHoverStateLayerOpacity)};
|
|
269
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceFocused, button.secondarySuccessFocusStateLayerOpacity)};
|
|
270
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceSelected, button.secondarySuccessActiveStateLayerOpacity)};
|
|
271
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfacePressed, button.secondarySuccessActiveStateLayerOpacity)};
|
|
272
|
+
|
|
273
|
+
background-color: ${button.secondarySuccessBackgroundColor};
|
|
274
|
+
color: ${button.secondarySuccessColor};
|
|
275
|
+
border-color: ${button.secondarySuccessBorderColor};
|
|
276
|
+
border-style: solid;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.ftds--family-success.ft-button--secondary[disabled] {
|
|
280
|
+
opacity: ${button.secondarySuccessDisabledComponentOpacity};
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.ftds--family-success.ft-button--secondary ft-icon {
|
|
284
|
+
color: ${button.secondarySuccessIconColor};
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
/** Success Tertiary styles **/
|
|
288
|
+
|
|
289
|
+
.ftds--family-success.ft-button--tertiary {
|
|
290
|
+
${setVariable(FtLoaderCssVariables.color, button.tertiarySuccessIconColor)};
|
|
291
|
+
|
|
292
|
+
${setVariable(FtRippleCssVariables.backgroundColor, button.tertiarySuccessStateLayerColor)};
|
|
293
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceHover, button.tertiarySuccessHoverStateLayerOpacity)};
|
|
294
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceFocused, button.tertiarySuccessFocusStateLayerOpacity)};
|
|
295
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceSelected, button.tertiarySuccessActiveStateLayerOpacity)};
|
|
296
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfacePressed, button.tertiarySuccessActiveStateLayerOpacity)};
|
|
297
|
+
|
|
298
|
+
background-color: ${button.tertiarySuccessBackgroundColor};
|
|
299
|
+
color: ${button.tertiarySuccessColor};
|
|
300
|
+
border-style: none;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.ftds--family-success.ft-button--tertiary[disabled] {
|
|
304
|
+
opacity: ${button.tertiarySuccessDisabledComponentOpacity};
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.ftds--family-success.ft-button--tertiary ft-icon {
|
|
308
|
+
color: ${button.tertiarySuccessIconColor};
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
/** Warning Secondary styles **/
|
|
312
|
+
|
|
313
|
+
.ftds--family-warning.ft-button--secondary {
|
|
314
|
+
${setVariable(FtLoaderCssVariables.color, button.secondaryWarningIconColor)};
|
|
315
|
+
|
|
316
|
+
${setVariable(FtRippleCssVariables.backgroundColor, button.secondaryWarningStateLayerColor)};
|
|
317
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceHover, button.secondaryWarningHoverStateLayerOpacity)};
|
|
318
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceFocused, button.secondaryWarningFocusStateLayerOpacity)};
|
|
319
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceSelected, button.secondaryWarningActiveStateLayerOpacity)};
|
|
320
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfacePressed, button.secondaryWarningActiveStateLayerOpacity)};
|
|
321
|
+
|
|
322
|
+
background-color: ${button.secondaryWarningBackgroundColor};
|
|
323
|
+
color: ${button.secondaryWarningColor};
|
|
324
|
+
border-color: ${button.secondaryWarningBorderColor};
|
|
325
|
+
border-style: solid;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.ftds--family-warning.ft-button--secondary[disabled] {
|
|
329
|
+
opacity: ${button.secondaryWarningDisabledComponentOpacity};
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.ftds--family-warning.ft-button--secondary ft-icon {
|
|
333
|
+
color: ${button.secondaryWarningIconColor};
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
/** Warning Tertiary styles **/
|
|
337
|
+
|
|
338
|
+
.ftds--family-warning.ft-button--tertiary {
|
|
339
|
+
${setVariable(FtLoaderCssVariables.color, button.tertiaryWarningIconColor)};
|
|
340
|
+
|
|
341
|
+
${setVariable(FtRippleCssVariables.backgroundColor, button.tertiaryWarningStateLayerColor)};
|
|
342
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceHover, button.tertiaryWarningHoverStateLayerOpacity)};
|
|
343
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceFocused, button.tertiaryWarningFocusStateLayerOpacity)};
|
|
344
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceSelected, button.tertiaryWarningActiveStateLayerOpacity)};
|
|
345
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfacePressed, button.tertiaryWarningActiveStateLayerOpacity)};
|
|
346
|
+
|
|
347
|
+
background-color: ${button.tertiaryWarningBackgroundColor};
|
|
348
|
+
color: ${button.tertiaryWarningColor};
|
|
349
|
+
border-style: none;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.ftds--family-warning.ft-button--tertiary[disabled] {
|
|
353
|
+
opacity: ${button.tertiaryWarningDisabledComponentOpacity};
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.ftds--family-warning.ft-button--tertiary ft-icon {
|
|
357
|
+
color: ${button.tertiaryWarningIconColor};
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
/** Error Secondary styles **/
|
|
361
|
+
|
|
362
|
+
.ftds--family-error.ft-button--secondary {
|
|
363
|
+
${setVariable(FtLoaderCssVariables.color, button.secondaryErrorIconColor)};
|
|
364
|
+
|
|
365
|
+
${setVariable(FtRippleCssVariables.backgroundColor, button.secondaryErrorStateLayerColor)};
|
|
366
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceHover, button.secondaryErrorHoverStateLayerOpacity)};
|
|
367
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceFocused, button.secondaryErrorFocusStateLayerOpacity)};
|
|
368
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceSelected, button.secondaryErrorActiveStateLayerOpacity)};
|
|
369
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfacePressed, button.secondaryErrorActiveStateLayerOpacity)};
|
|
370
|
+
|
|
371
|
+
background-color: ${button.secondaryErrorBackgroundColor};
|
|
372
|
+
color: ${button.secondaryErrorColor};
|
|
373
|
+
border-color: ${button.secondaryErrorBorderColor};
|
|
374
|
+
border-style: solid;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.ftds--family-error.ft-button--secondary[disabled] {
|
|
378
|
+
opacity: ${button.secondaryErrorDisabledComponentOpacity};
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.ftds--family-error.ft-button--secondary ft-icon {
|
|
382
|
+
color: ${button.secondaryErrorIconColor};
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
/** Error Tertiary styles **/
|
|
386
|
+
|
|
387
|
+
.ftds--family-error.ft-button--tertiary {
|
|
388
|
+
${setVariable(FtLoaderCssVariables.color, button.tertiaryErrorIconColor)};
|
|
389
|
+
|
|
390
|
+
${setVariable(FtRippleCssVariables.backgroundColor, button.tertiaryErrorStateLayerColor)};
|
|
391
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceHover, button.tertiaryErrorHoverStateLayerOpacity)};
|
|
392
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceFocused, button.tertiaryErrorFocusStateLayerOpacity)};
|
|
393
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfaceSelected, button.tertiaryErrorActiveStateLayerOpacity)};
|
|
394
|
+
${setVariable(FtRippleCssVariables.opacityContentOnSurfacePressed, button.tertiaryErrorActiveStateLayerOpacity)};
|
|
395
|
+
|
|
396
|
+
background-color: ${button.tertiaryErrorBackgroundColor};
|
|
397
|
+
color: ${button.tertiaryErrorColor};
|
|
177
398
|
border-style: none;
|
|
178
399
|
}
|
|
179
400
|
|
|
180
|
-
.ftds--family-
|
|
181
|
-
opacity: ${button.
|
|
401
|
+
.ftds--family-error.ft-button--tertiary[disabled] {
|
|
402
|
+
opacity: ${button.tertiaryErrorDisabledComponentOpacity};
|
|
182
403
|
}
|
|
183
404
|
|
|
184
|
-
.ftds--family-
|
|
185
|
-
color: ${button.
|
|
405
|
+
.ftds--family-error.ft-button--tertiary ft-icon {
|
|
406
|
+
color: ${button.tertiaryErrorIconColor};
|
|
186
407
|
}
|
|
187
408
|
|
|
188
409
|
/** Large styles **/
|
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.117",
|
|
4
4
|
"description": "A generic Fluid Topics tag",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,14 +19,14 @@
|
|
|
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-loader": "1.1.
|
|
25
|
-
"@fluid-topics/ft-ripple": "1.1.
|
|
26
|
-
"@fluid-topics/ft-tooltip": "1.1.
|
|
27
|
-
"@fluid-topics/ft-typography": "1.1.
|
|
28
|
-
"@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-loader": "1.1.117",
|
|
25
|
+
"@fluid-topics/ft-ripple": "1.1.117",
|
|
26
|
+
"@fluid-topics/ft-tooltip": "1.1.117",
|
|
27
|
+
"@fluid-topics/ft-typography": "1.1.117",
|
|
28
|
+
"@fluid-topics/ft-wc-utils": "1.1.117",
|
|
29
29
|
"lit": "3.1.0"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "061a8cebc72403790111ca8292208f4213b84312"
|
|
32
32
|
}
|