@fluid-topics/ft-text-field 0.1.7 → 0.1.8
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/README.md +7 -8
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@ A text field input component.
|
|
|
3
3
|
## Install
|
|
4
4
|
|
|
5
5
|
```shell
|
|
6
|
-
npm install @fluid-topics/ft-
|
|
6
|
+
npm install @fluid-topics/ft-switch
|
|
7
7
|
yarn add @fluid-topics/ft-text-field
|
|
8
8
|
```
|
|
9
9
|
|
|
@@ -11,15 +11,14 @@ yarn add @fluid-topics/ft-text-field
|
|
|
11
11
|
|
|
12
12
|
```typescript
|
|
13
13
|
import {html} from "lit"
|
|
14
|
-
import "@fluid-topics/ft-
|
|
14
|
+
import "@fluid-topics/ft-switch"
|
|
15
|
+
import {FtSwitchChange} from "@fluid-topics/ft-switch";
|
|
15
16
|
|
|
16
17
|
function render() {
|
|
17
18
|
return html`
|
|
18
|
-
<ft-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
.dataList=${["Banana","Cucumber","Eggplant"]}>
|
|
23
|
-
</ft-text-field> `
|
|
19
|
+
<ft-switch @change=${(e: FtSwitchChange) => console.log("Value changed:", e.detail)}>
|
|
20
|
+
<ft-switch-option value="1">1</ft-switch-option>
|
|
21
|
+
<ft-switch-option value="2">2</ft-switch-option>
|
|
22
|
+
</ft-switch> `
|
|
24
23
|
}
|
|
25
24
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-text-field",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "A fluidtopics text field",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-input-label": "^0.1.
|
|
23
|
-
"@fluid-topics/ft-ripple": "^0.1.
|
|
24
|
-
"@fluid-topics/ft-typography": "^0.1.
|
|
25
|
-
"@fluid-topics/ft-wc-utils": "^0.1.
|
|
22
|
+
"@fluid-topics/ft-input-label": "^0.1.8",
|
|
23
|
+
"@fluid-topics/ft-ripple": "^0.1.8",
|
|
24
|
+
"@fluid-topics/ft-typography": "^0.1.8",
|
|
25
|
+
"@fluid-topics/ft-wc-utils": "^0.1.8",
|
|
26
26
|
"lit": "^2.0.2"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "45fdf008556920bbd5fcc2e766c273aed959178d"
|
|
29
29
|
}
|