@fluid-topics/ft-button 0.3.69 → 0.3.71
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.css.js
CHANGED
|
@@ -71,7 +71,6 @@ export const styles = [
|
|
|
71
71
|
box-sizing: border-box;
|
|
72
72
|
border: none;
|
|
73
73
|
pointer-events: auto;
|
|
74
|
-
gap: ${FtButtonCssVariables.iconPadding};
|
|
75
74
|
|
|
76
75
|
--ft-button-internal-line-height: calc(${FtButtonCssVariables.fontSize} + 2px);
|
|
77
76
|
--ft-button-internal-color: ${FtButtonCssVariables.color};
|
|
@@ -134,10 +133,15 @@ export const styles = [
|
|
|
134
133
|
white-space: nowrap;
|
|
135
134
|
text-overflow: ellipsis;
|
|
136
135
|
display: block;
|
|
136
|
+
margin: 0 ${FtButtonCssVariables.iconPadding};
|
|
137
137
|
${setVariable(FtTypographyButtonCssVariables.fontSize, "1em")};
|
|
138
138
|
${setVariable(FtTypographyButtonCssVariables.lineHeight, "var(--ft-button-internal-content-height)")};
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
+
.ft-button--dense .ft-button--label {
|
|
142
|
+
margin: 0 ${FtButtonDenseCssVariables.iconPadding};
|
|
143
|
+
}
|
|
144
|
+
|
|
141
145
|
.ft-button--label[hidden] {
|
|
142
146
|
display: none;
|
|
143
147
|
}
|
package/build/ft-button.light.js
CHANGED
|
@@ -429,7 +429,6 @@ const J=Symbol.for(""),Q=t=>{if((null==t?void 0:t.r)===J)return null==t?void 0:t
|
|
|
429
429
|
box-sizing: border-box;
|
|
430
430
|
border: none;
|
|
431
431
|
pointer-events: auto;
|
|
432
|
-
gap: ${Pi.iconPadding};
|
|
433
432
|
|
|
434
433
|
--ft-button-internal-line-height: calc(${Pi.fontSize} + 2px);
|
|
435
434
|
--ft-button-internal-color: ${Pi.color};
|
|
@@ -492,10 +491,15 @@ const J=Symbol.for(""),Q=t=>{if((null==t?void 0:t.r)===J)return null==t?void 0:t
|
|
|
492
491
|
white-space: nowrap;
|
|
493
492
|
text-overflow: ellipsis;
|
|
494
493
|
display: block;
|
|
494
|
+
margin: 0 ${Pi.iconPadding};
|
|
495
495
|
${i.setVariable(li.fontSize,"1em")};
|
|
496
496
|
${i.setVariable(li.lineHeight,"var(--ft-button-internal-content-height)")};
|
|
497
497
|
}
|
|
498
498
|
|
|
499
|
+
.ft-button--dense .ft-button--label {
|
|
500
|
+
margin: 0 ${Hi.iconPadding};
|
|
501
|
+
}
|
|
502
|
+
|
|
499
503
|
.ft-button--label[hidden] {
|
|
500
504
|
display: none;
|
|
501
505
|
}
|
package/build/ft-button.min.js
CHANGED
|
@@ -557,7 +557,6 @@ class $i extends Et{constructor(t){if(super(t),this.it=q,t.type!==Nt)throw Error
|
|
|
557
557
|
box-sizing: border-box;
|
|
558
558
|
border: none;
|
|
559
559
|
pointer-events: auto;
|
|
560
|
-
gap: ${zi.iconPadding};
|
|
561
560
|
|
|
562
561
|
--ft-button-internal-line-height: calc(${zi.fontSize} + 2px);
|
|
563
562
|
--ft-button-internal-color: ${zi.color};
|
|
@@ -620,10 +619,15 @@ class $i extends Et{constructor(t){if(super(t),this.it=q,t.type!==Nt)throw Error
|
|
|
620
619
|
white-space: nowrap;
|
|
621
620
|
text-overflow: ellipsis;
|
|
622
621
|
display: block;
|
|
622
|
+
margin: 0 ${zi.iconPadding};
|
|
623
623
|
${yt(Xe.fontSize,"1em")};
|
|
624
624
|
${yt(Xe.lineHeight,"var(--ft-button-internal-content-height)")};
|
|
625
625
|
}
|
|
626
626
|
|
|
627
|
+
.ft-button--dense .ft-button--label {
|
|
628
|
+
margin: 0 ${Bi.iconPadding};
|
|
629
|
+
}
|
|
630
|
+
|
|
627
631
|
.ft-button--label[hidden] {
|
|
628
632
|
display: none;
|
|
629
633
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-button",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.71",
|
|
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": "0.3.
|
|
23
|
-
"@fluid-topics/ft-loader": "0.3.
|
|
24
|
-
"@fluid-topics/ft-ripple": "0.3.
|
|
25
|
-
"@fluid-topics/ft-tooltip": "0.3.
|
|
26
|
-
"@fluid-topics/ft-typography": "0.3.
|
|
27
|
-
"@fluid-topics/ft-wc-utils": "0.3.
|
|
22
|
+
"@fluid-topics/ft-icon": "0.3.71",
|
|
23
|
+
"@fluid-topics/ft-loader": "0.3.71",
|
|
24
|
+
"@fluid-topics/ft-ripple": "0.3.71",
|
|
25
|
+
"@fluid-topics/ft-tooltip": "0.3.71",
|
|
26
|
+
"@fluid-topics/ft-typography": "0.3.71",
|
|
27
|
+
"@fluid-topics/ft-wc-utils": "0.3.71",
|
|
28
28
|
"lit": "2.2.8"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "aeaa883cc0e3596e6cc75d282aa99de3c603f6a2"
|
|
31
31
|
}
|