toku-ui 2.5.0 → 2.5.1
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/dist/components/TSwitch/TSwitch.d.ts.map +1 -1
- package/dist/components/TTooltip/TTooltip.d.ts.map +1 -1
- package/dist/composables/tooltip.d.ts.map +1 -1
- package/dist/index.es.js +2 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TSwitch.d.ts","sourceRoot":"","sources":["../../../src/components/TSwitch/TSwitch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAUpC,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"TSwitch.d.ts","sourceRoot":"","sources":["../../../src/components/TSwitch/TSwitch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAUpC,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;iFAsElB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TTooltip.d.ts","sourceRoot":"","sources":["../../../src/components/TTooltip/TTooltip.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TTooltip.d.ts","sourceRoot":"","sources":["../../../src/components/TTooltip/TTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAapC,eAAO,MAAM,QAAQ;;;;;;;;;;;;iGAoCnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../src/composables/tooltip.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../src/composables/tooltip.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AAI3E,eAAO,MAAM,UAAU,YAAa,YAAY,aAAa,CAAC,SAAS,CAAC,CAAC;;;;;;;;;CAqCxE,CAAC"}
|
package/dist/index.es.js
CHANGED
|
@@ -7862,7 +7862,7 @@ const nb = {
|
|
|
7862
7862
|
const {
|
|
7863
7863
|
key: A
|
|
7864
7864
|
} = $;
|
|
7865
|
-
l.value.disabled || A !== "Enter" && A !== " "
|
|
7865
|
+
l.value.disabled || A !== "Enter" && A !== " " || f();
|
|
7866
7866
|
}, _ = Wb(), x = I(() => [_.value, `${_.value}--label-${l.value.labelPosition}`, {
|
|
7867
7867
|
[`${_.value}--checked`]: s.value,
|
|
7868
7868
|
[`${_.value}--disabled`]: l.value.disabled
|
|
@@ -7875,7 +7875,7 @@ const nb = {
|
|
|
7875
7875
|
"aria-labelledby": l.value.id,
|
|
7876
7876
|
onClick: p,
|
|
7877
7877
|
onKeydown: v,
|
|
7878
|
-
tabindex: 0
|
|
7878
|
+
tabindex: l.value.disabled ? void 0 : 0
|
|
7879
7879
|
}, [k("div", {
|
|
7880
7880
|
class: `${_.value}__switch`
|
|
7881
7881
|
}, null), l.value.label && k("label", {
|