@fluid-topics/ft-radio 2.0.15 → 2.0.17
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-group.js +1 -2
- package/build/ft-base-radio.js +1 -2
- package/build/ft-radio-group.js +1 -2
- package/build/ft-radio.js +1 -2
- package/build/ft-radio.light.js +2 -3
- package/build/ft-radio.min.js +87 -88
- package/build/ftds-radio-group.js +1 -2
- package/build/ftds-radio.js +1 -2
- package/build/ftds-radio.styles.js +3 -4
- package/package.json +5 -5
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
import { FtLitElement } from "@fluid-topics/ft-wc-utils";
|
|
8
8
|
import { property, queryAssignedElements, state } from "lit/decorators.js";
|
|
9
9
|
import { html } from "lit";
|
|
10
|
-
class FtBaseRadioGroup extends FtLitElement {
|
|
10
|
+
export class FtBaseRadioGroup extends FtLitElement {
|
|
11
11
|
constructor() {
|
|
12
12
|
super(...arguments);
|
|
13
13
|
this.name = "";
|
|
@@ -117,4 +117,3 @@ __decorate([
|
|
|
117
117
|
__decorate([
|
|
118
118
|
state()
|
|
119
119
|
], FtBaseRadioGroup.prototype, "currentSelectedIndex", void 0);
|
|
120
|
-
export { FtBaseRadioGroup };
|
package/build/ft-base-radio.js
CHANGED
|
@@ -14,7 +14,7 @@ export class FtRadioChangeEvent extends CustomEvent {
|
|
|
14
14
|
super("change", { detail: { value: value, checked: checked }, bubbles: true, composed: true });
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
class FtBaseRadio extends FtLitElement {
|
|
17
|
+
export class FtBaseRadio extends FtLitElement {
|
|
18
18
|
constructor() {
|
|
19
19
|
super(...arguments);
|
|
20
20
|
this.value = "";
|
|
@@ -130,4 +130,3 @@ __decorate([
|
|
|
130
130
|
__decorate([
|
|
131
131
|
query("input")
|
|
132
132
|
], FtBaseRadio.prototype, "input", void 0);
|
|
133
|
-
export { FtBaseRadio };
|
package/build/ft-radio-group.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { FtBaseRadioGroup } from "./ft-base-radio-group";
|
|
2
2
|
import { groupStyles } from "./ft-radio-group.styles";
|
|
3
3
|
export * from "./ft-base-radio-group";
|
|
4
|
-
class FtRadioGroup extends FtBaseRadioGroup {
|
|
4
|
+
export class FtRadioGroup extends FtBaseRadioGroup {
|
|
5
5
|
}
|
|
6
6
|
FtRadioGroup.styles = groupStyles;
|
|
7
|
-
export { FtRadioGroup };
|
package/build/ft-radio.js
CHANGED
|
@@ -3,7 +3,7 @@ import { classicStyles } from "./ft-radio.styles";
|
|
|
3
3
|
import { FtTypographyVariants } from "@fluid-topics/ft-typography/build/ft-typography.properties";
|
|
4
4
|
import { FtTypography } from "@fluid-topics/ft-typography";
|
|
5
5
|
export * from "./ft-base-radio";
|
|
6
|
-
class FtRadio extends FtBaseRadio {
|
|
6
|
+
export class FtRadio extends FtBaseRadio {
|
|
7
7
|
get typographyVariant() {
|
|
8
8
|
return FtTypographyVariants.body2;
|
|
9
9
|
}
|
|
@@ -13,4 +13,3 @@ FtRadio.elementDefinitions = {
|
|
|
13
13
|
"ft-or-ftds-typography": FtTypography,
|
|
14
14
|
};
|
|
15
15
|
FtRadio.styles = classicStyles;
|
|
16
|
-
export { FtRadio };
|
package/build/ft-radio.light.js
CHANGED
|
@@ -363,6 +363,8 @@ Also for action icons.`,t.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
363
363
|
`;var pe=class extends k{get typographyVariant(){return X.body2}};pe.elementDefinitions={...k.elementDefinitions,"ft-or-ftds-typography":N};pe.styles=no;var Be=g(I());var io=g(B()),y=g(I());var co=io.css`
|
|
364
364
|
* {
|
|
365
365
|
box-sizing: border-box;
|
|
366
|
+
display: inline-flex;
|
|
367
|
+
align-items: center;
|
|
366
368
|
--input-size: calc(${y.radio.circleSize} + 2 * (${y.radio.focusOutlineOffset} + ${y.radio.focusOutlineWidth}));
|
|
367
369
|
--input-margin: calc(-1 * ${y.radio.focusOutlineOffset} - ${y.radio.focusOutlineWidth});
|
|
368
370
|
}
|
|
@@ -370,9 +372,6 @@ Also for action icons.`,t.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
370
372
|
.ft-radio {
|
|
371
373
|
box-sizing: border-box;
|
|
372
374
|
color: ${y.radio.color};
|
|
373
|
-
|
|
374
|
-
display: inline-flex;
|
|
375
|
-
align-items: center;
|
|
376
375
|
gap: ${y.radio.horizontalGap};
|
|
377
376
|
}
|
|
378
377
|
|