@kws3/ui 2.0.3 → 2.0.4
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/CHANGELOG.mdx +3 -0
- package/controls/ToggleButtons.svelte +7 -5
- package/package.json +2 -2
package/CHANGELOG.mdx
CHANGED
|
@@ -141,10 +141,12 @@ This property can be bound to, to fetch the current value, Default: `null`
|
|
|
141
141
|
export { klass as class };
|
|
142
142
|
|
|
143
143
|
function setValue(v) {
|
|
144
|
-
value
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
144
|
+
if (!disabled && value !== v) {
|
|
145
|
+
value = v;
|
|
146
|
+
/**
|
|
147
|
+
* Toggle button change event
|
|
148
|
+
*/
|
|
149
|
+
fire("change");
|
|
150
|
+
}
|
|
149
151
|
}
|
|
150
152
|
</script>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kws3/ui",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "UI components for use with Svelte v3 applications.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"svelte": "index.js",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"text-mask-core": "^5.1.2",
|
|
33
33
|
"tippy.js": "^6.3.1"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "499097fc9ed767630977388f4502c9a9e119f886"
|
|
36
36
|
}
|