@fluid-topics/ft-button 1.2.1 → 1.2.3
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-base-button.d.ts +6 -0
- package/build/ft-base-button.js +37 -12
- package/build/ft-button.light.js +97 -84
- package/build/ft-button.min.js +213 -200
- package/build/ft-button.styles.js +5 -4
- package/build/ftds-button.styles.js +5 -4
- package/package.json +8 -8
|
@@ -38,25 +38,26 @@ export const classicStyles = [
|
|
|
38
38
|
pointer-events: none;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
button {
|
|
41
|
+
.ft-button {
|
|
42
42
|
box-shadow: 0px 0px 0px transparent;
|
|
43
43
|
border: 0px solid transparent;
|
|
44
44
|
text-shadow: 0px 0px 0px transparent;
|
|
45
45
|
font-size: ${FtButtonCssVariables.fontSize};
|
|
46
|
+
text-decoration: none;
|
|
46
47
|
}
|
|
47
48
|
|
|
48
|
-
button:hover {
|
|
49
|
+
.ft-button:hover {
|
|
49
50
|
box-shadow: 0px 0px 0px transparent;
|
|
50
51
|
border: 0px solid transparent;
|
|
51
52
|
text-shadow: 0px 0px 0px transparent;
|
|
52
53
|
}
|
|
53
54
|
|
|
54
|
-
button:active {
|
|
55
|
+
.ft-button:active {
|
|
55
56
|
outline: none;
|
|
56
57
|
border: none;
|
|
57
58
|
}
|
|
58
59
|
|
|
59
|
-
button:focus {
|
|
60
|
+
.ft-button:focus {
|
|
60
61
|
outline: 0;
|
|
61
62
|
}
|
|
62
63
|
|
|
@@ -16,22 +16,23 @@ export const designSystemStyles = [
|
|
|
16
16
|
|
|
17
17
|
/** Remove default button styles **/
|
|
18
18
|
|
|
19
|
-
button {
|
|
19
|
+
.ft-button {
|
|
20
20
|
box-shadow: 0 0 0 transparent;
|
|
21
21
|
border: 0 solid transparent;
|
|
22
22
|
text-shadow: 0 0 0 transparent;
|
|
23
|
+
text-decoration: none;
|
|
23
24
|
}
|
|
24
25
|
|
|
25
|
-
button:hover {
|
|
26
|
+
.ft-button:hover {
|
|
26
27
|
box-shadow: 0 0 0 transparent;
|
|
27
28
|
text-shadow: 0 0 0 transparent;
|
|
28
29
|
}
|
|
29
30
|
|
|
30
|
-
button:active {
|
|
31
|
+
.ft-button:active {
|
|
31
32
|
outline: none;
|
|
32
33
|
}
|
|
33
34
|
|
|
34
|
-
button:focus {
|
|
35
|
+
.ft-button:focus {
|
|
35
36
|
outline: 0;
|
|
36
37
|
}
|
|
37
38
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-button",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
4
4
|
"description": "A generic Fluid Topics tag",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@fluid-topics/design-system-variables": "0.1.5",
|
|
23
|
-
"@fluid-topics/ft-icon": "1.2.
|
|
24
|
-
"@fluid-topics/ft-loader": "1.2.
|
|
25
|
-
"@fluid-topics/ft-ripple": "1.2.
|
|
26
|
-
"@fluid-topics/ft-tooltip": "1.2.
|
|
27
|
-
"@fluid-topics/ft-typography": "1.2.
|
|
28
|
-
"@fluid-topics/ft-wc-utils": "1.2.
|
|
23
|
+
"@fluid-topics/ft-icon": "1.2.3",
|
|
24
|
+
"@fluid-topics/ft-loader": "1.2.3",
|
|
25
|
+
"@fluid-topics/ft-ripple": "1.2.3",
|
|
26
|
+
"@fluid-topics/ft-tooltip": "1.2.3",
|
|
27
|
+
"@fluid-topics/ft-typography": "1.2.3",
|
|
28
|
+
"@fluid-topics/ft-wc-utils": "1.2.3",
|
|
29
29
|
"lit": "3.1.0"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "31c1696257f82afca00cddf81033e8984f665c43"
|
|
32
32
|
}
|