@fluid-topics/ft-button 1.1.84 → 1.1.86
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 +3 -3
- package/build/ft-base-button.js +6 -0
- package/build/ft-button.light.js +191 -165
- package/build/ft-button.min.js +197 -171
- package/build/ftds-button.d.ts +8 -3
- package/build/ftds-button.js +19 -13
- package/build/ftds-button.styles.js +37 -11
- package/package.json +9 -9
|
@@ -15,7 +15,7 @@ export interface FtBaseButtonProperties {
|
|
|
15
15
|
forceTooltip?: boolean;
|
|
16
16
|
}
|
|
17
17
|
declare const FtBaseButton_base: import("@fluid-topics/ft-wc-utils").FtFormComponentType<typeof FtLitElement>;
|
|
18
|
-
export declare
|
|
18
|
+
export declare class FtBaseButton extends FtBaseButton_base implements FtBaseButtonProperties {
|
|
19
19
|
static elementDefinitions: ElementDefinitionsMap;
|
|
20
20
|
role: string;
|
|
21
21
|
type: "button" | "submit" | "reset";
|
|
@@ -30,8 +30,8 @@ export declare abstract class FtBaseButton extends FtBaseButton_base implements
|
|
|
30
30
|
forceTooltip: boolean;
|
|
31
31
|
private button?;
|
|
32
32
|
private slottedContent?;
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
get buttonClasses(): ClassInfo;
|
|
34
|
+
get typographyVariant(): string;
|
|
35
35
|
constructor();
|
|
36
36
|
protected render(): HTMLTemplateResult;
|
|
37
37
|
private addTooltipIfNeeded;
|
package/build/ft-base-button.js
CHANGED
|
@@ -14,6 +14,12 @@ import { html } from "lit";
|
|
|
14
14
|
import { classMap } from "lit/directives/class-map.js";
|
|
15
15
|
import { property, query } from "lit/decorators.js";
|
|
16
16
|
class FtBaseButton extends toFtFormComponent(FtLitElement, "button") {
|
|
17
|
+
get buttonClasses() {
|
|
18
|
+
return {};
|
|
19
|
+
}
|
|
20
|
+
get typographyVariant() {
|
|
21
|
+
return "";
|
|
22
|
+
}
|
|
17
23
|
constructor() {
|
|
18
24
|
super();
|
|
19
25
|
this.role = "button";
|