@fluid-topics/ft-radio 0.2.12 → 0.2.15
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 +15 -6
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -10,14 +10,23 @@ yarn add @fluid-topics/ft-radio
|
|
|
10
10
|
## Usage
|
|
11
11
|
|
|
12
12
|
```typescript
|
|
13
|
-
import {html} from "lit"
|
|
13
|
+
import { html } from "lit"
|
|
14
14
|
import "@fluid-topics/ft-radio"
|
|
15
15
|
|
|
16
16
|
function render() {
|
|
17
|
-
return html`
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
return html`
|
|
18
|
+
<ft-radio-group name=${ args.name }
|
|
19
|
+
@change=${ (e: CustomEvent) => console.log("ft-radio-group change to :", e.detail) } >
|
|
20
|
+
<ft-radio value="value 1" checked>
|
|
21
|
+
Value 1
|
|
22
|
+
</ft-radio>
|
|
23
|
+
<ft-radio value="value 2">
|
|
24
|
+
Value 2
|
|
25
|
+
</ft-radio>
|
|
26
|
+
<ft-radio value="value 3">
|
|
27
|
+
Value 3
|
|
28
|
+
</ft-radio>
|
|
29
|
+
</ft-radio-group>
|
|
30
|
+
`
|
|
22
31
|
}
|
|
23
32
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-radio",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.15",
|
|
4
4
|
"description": "A radio component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-ripple": "^0.2.
|
|
23
|
-
"@fluid-topics/ft-typography": "^0.2.
|
|
24
|
-
"@fluid-topics/ft-wc-utils": "^0.2.
|
|
22
|
+
"@fluid-topics/ft-ripple": "^0.2.15",
|
|
23
|
+
"@fluid-topics/ft-typography": "^0.2.15",
|
|
24
|
+
"@fluid-topics/ft-wc-utils": "^0.2.15",
|
|
25
25
|
"lit": "2.1.3"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "d8f4700bb2461618dc2d1786e0091360556e9e24"
|
|
28
28
|
}
|