@fluid-topics/ft-select 0.3.71 → 1.0.0-alpha.0
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-select.css.d.ts +0 -1
- package/build/ft-select.css.js +0 -1
- package/build/ft-select.d.ts +0 -1
- package/build/ft-select.js +5 -4
- package/build/ft-select.light.js +164 -164
- package/build/ft-select.min.js +170 -180
- package/build/ft-select.properties.d.ts +0 -1
- package/build/ft-select.properties.js +0 -1
- package/build/index.d.ts +0 -1
- package/build/index.js +0 -1
- package/package.json +8 -8
package/build/ft-select.css.d.ts
CHANGED
package/build/ft-select.css.js
CHANGED
package/build/ft-select.d.ts
CHANGED
package/build/ft-select.js
CHANGED
|
@@ -14,7 +14,7 @@ import { FtInputLabel } from "@fluid-topics/ft-input-label";
|
|
|
14
14
|
import { FtRipple } from "@fluid-topics/ft-ripple";
|
|
15
15
|
import { FtIcon } from "@fluid-topics/ft-icon";
|
|
16
16
|
import { styles } from "./ft-select.css";
|
|
17
|
-
|
|
17
|
+
class FtSelectOption extends FtLitElement {
|
|
18
18
|
constructor() {
|
|
19
19
|
super(...arguments);
|
|
20
20
|
this.label = "";
|
|
@@ -39,7 +39,8 @@ __decorate([
|
|
|
39
39
|
__decorate([
|
|
40
40
|
property({ type: Boolean, reflect: true })
|
|
41
41
|
], FtSelectOption.prototype, "selected", void 0);
|
|
42
|
-
export
|
|
42
|
+
export { FtSelectOption };
|
|
43
|
+
class FtSelect extends FtLitElement {
|
|
43
44
|
constructor() {
|
|
44
45
|
super(...arguments);
|
|
45
46
|
this.label = "";
|
|
@@ -94,7 +95,7 @@ export class FtSelect extends FtLitElement {
|
|
|
94
95
|
<ft-typography variant="body1" class="ft-select--selected-option">
|
|
95
96
|
${(_e = (_d = this.selectedOption) === null || _d === void 0 ? void 0 : _d.label) !== null && _e !== void 0 ? _e : ""}
|
|
96
97
|
</ft-typography>
|
|
97
|
-
<ft-icon
|
|
98
|
+
<ft-icon>${optionsDisplayed ? "thin_arrow_up" : "thin_arrow"}</ft-icon>
|
|
98
99
|
</div>
|
|
99
100
|
<div class="ft-select--options"
|
|
100
101
|
part="options"
|
|
@@ -310,4 +311,4 @@ __decorate([
|
|
|
310
311
|
__decorate([
|
|
311
312
|
query("slot")
|
|
312
313
|
], FtSelect.prototype, "optionsSlot", void 0);
|
|
313
|
-
|
|
314
|
+
export { FtSelect };
|