@fluid-topics/ft-radio 1.3.45 → 1.3.46
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-radio.js +2 -4
- package/build/ft-radio.d.ts +2 -0
- package/build/ft-radio.js +5 -0
- package/build/ft-radio.light.js +165 -147
- package/build/ft-radio.min.js +129 -111
- package/build/ft-radio.styles.js +1 -1
- package/build/ftds-radio.d.ts +2 -0
- package/build/ftds-radio.js +6 -2
- package/build/ftds-radio.styles.js +1 -1
- package/package.json +5 -5
package/build/ft-base-radio.js
CHANGED
|
@@ -9,7 +9,6 @@ import { property, query } from "lit/decorators.js";
|
|
|
9
9
|
import { FtLitElement } from "@fluid-topics/ft-wc-utils";
|
|
10
10
|
import { classMap } from "lit/directives/class-map.js";
|
|
11
11
|
import { FtRipple } from "@fluid-topics/ft-ripple";
|
|
12
|
-
import { FtTypography } from "@fluid-topics/ft-typography";
|
|
13
12
|
export class FtRadioChangeEvent extends CustomEvent {
|
|
14
13
|
constructor(value, checked) {
|
|
15
14
|
super("change", { detail: { value: value, checked: checked }, bubbles: true, composed: true });
|
|
@@ -57,9 +56,9 @@ class FtBaseRadio extends FtLitElement {
|
|
|
57
56
|
>
|
|
58
57
|
</div>
|
|
59
58
|
<label for="radio-button" inert >
|
|
60
|
-
<ft-typography variant="${this.typographyVariant}">
|
|
59
|
+
<ft-or-ftds-typography variant="${this.typographyVariant}">
|
|
61
60
|
<slot></slot>
|
|
62
|
-
</ft-typography>
|
|
61
|
+
</ft-or-ftds-typography>
|
|
63
62
|
</label>
|
|
64
63
|
</div>
|
|
65
64
|
`;
|
|
@@ -106,7 +105,6 @@ class FtBaseRadio extends FtLitElement {
|
|
|
106
105
|
}
|
|
107
106
|
FtBaseRadio.elementDefinitions = {
|
|
108
107
|
"ft-ripple": FtRipple,
|
|
109
|
-
"ft-typography": FtTypography,
|
|
110
108
|
};
|
|
111
109
|
__decorate([
|
|
112
110
|
property()
|
package/build/ft-radio.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { FtBaseRadio, FtBaseRadioProperties } from "./ft-base-radio";
|
|
2
|
+
import { ElementDefinitionsMap } from "@fluid-topics/ft-wc-utils";
|
|
2
3
|
export * from "./ft-base-radio";
|
|
3
4
|
export declare class FtRadio extends FtBaseRadio implements FtBaseRadioProperties {
|
|
5
|
+
static elementDefinitions: ElementDefinitionsMap;
|
|
4
6
|
static styles: import("lit").CSSResult;
|
|
5
7
|
get typographyVariant(): string;
|
|
6
8
|
}
|
package/build/ft-radio.js
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
import { FtBaseRadio } from "./ft-base-radio";
|
|
2
2
|
import { classicStyles } from "./ft-radio.styles";
|
|
3
3
|
import { FtTypographyVariants } from "@fluid-topics/ft-typography/build/ft-typography.properties";
|
|
4
|
+
import { FtTypography } from "@fluid-topics/ft-typography";
|
|
4
5
|
export * from "./ft-base-radio";
|
|
5
6
|
class FtRadio extends FtBaseRadio {
|
|
6
7
|
get typographyVariant() {
|
|
7
8
|
return FtTypographyVariants.body2;
|
|
8
9
|
}
|
|
9
10
|
}
|
|
11
|
+
FtRadio.elementDefinitions = {
|
|
12
|
+
...FtBaseRadio.elementDefinitions,
|
|
13
|
+
"ft-or-ftds-typography": FtTypography,
|
|
14
|
+
};
|
|
10
15
|
FtRadio.styles = classicStyles;
|
|
11
16
|
export { FtRadio };
|