toku-ui 2.5.0 → 2.6.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/dist/components/TSwitch/TSwitch.d.ts.map +1 -1
- package/dist/components/TTag/TTag.d.ts +2 -2
- package/dist/components/TTag/TTag.stories.d.ts.map +1 -1
- package/dist/components/TTag/TTag.styles.d.ts.map +1 -1
- package/dist/components/TTag/TTag.types.d.ts +1 -1
- package/dist/components/TTag/TTag.types.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 +12 -3
- 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,9 +1,9 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
2
|
export declare const TTag: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
size: PropType<"medium" | "small" | "miniature" | undefined>;
|
|
4
|
-
variant: PropType<"error" | "success" | "in-process" | "default" | undefined>;
|
|
4
|
+
variant: PropType<"error" | "success" | "in-process" | "toku" | "default" | undefined>;
|
|
5
5
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
6
6
|
size: PropType<"medium" | "small" | "miniature" | undefined>;
|
|
7
|
-
variant: PropType<"error" | "success" | "in-process" | "default" | undefined>;
|
|
7
|
+
variant: PropType<"error" | "success" | "in-process" | "toku" | "default" | undefined>;
|
|
8
8
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
9
9
|
//# sourceMappingURL=TTag.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TTag.stories.d.ts","sourceRoot":"","sources":["../../../src/components/TTag/TTag.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CAiBC,CAAC;AAE9B,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,UAAU,EAAE,KAQxB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"TTag.stories.d.ts","sourceRoot":"","sources":["../../../src/components/TTag/TTag.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CAiBC,CAAC;AAE9B,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,UAAU,EAAE,KAQxB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAsClB,CAAC;AASF,eAAO,MAAM,OAAO,EAAE,KAarB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TTag.styles.d.ts","sourceRoot":"","sources":["../../../src/components/TTag/TTag.styles.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"TTag.styles.d.ts","sourceRoot":"","sources":["../../../src/components/TTag/TTag.styles.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS,yCAqGrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TTag.types.d.ts","sourceRoot":"","sources":["../../../src/components/TTag/TTag.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACxB,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,WAAW,CAAC;IACxC,OAAO,CAAC,EAAE,SAAS,GAAG,YAAY,GAAG,OAAO,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"TTag.types.d.ts","sourceRoot":"","sources":["../../../src/components/TTag/TTag.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACxB,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,WAAW,CAAC;IACxC,OAAO,CAAC,EAAE,SAAS,GAAG,YAAY,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;CACnE"}
|
|
@@ -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", {
|
|
@@ -8148,8 +8148,13 @@ const nb = {
|
|
|
8148
8148
|
justifyContent: "center",
|
|
8149
8149
|
textAlign: "center",
|
|
8150
8150
|
position: "relative",
|
|
8151
|
+
"&--large": { maxWidth: "9.5rem", width: "100%" },
|
|
8151
8152
|
"&--medium": { maxWidth: "8rem", width: "100%" },
|
|
8152
|
-
"&--small": {
|
|
8153
|
+
"&--small": {
|
|
8154
|
+
maxWidth: "6.813rem",
|
|
8155
|
+
width: "100%",
|
|
8156
|
+
padding: "0rem 0.5rem"
|
|
8157
|
+
},
|
|
8153
8158
|
"&--miniature": {
|
|
8154
8159
|
width: "1rem",
|
|
8155
8160
|
height: "1rem"
|
|
@@ -8158,6 +8163,10 @@ const nb = {
|
|
|
8158
8163
|
fontWeight: r.value.typography.fontWeight.semibold,
|
|
8159
8164
|
fontSize: "1rem"
|
|
8160
8165
|
},
|
|
8166
|
+
"&__text--large": {
|
|
8167
|
+
fontSize: "0.75rem",
|
|
8168
|
+
lineHeight: "1.125rem"
|
|
8169
|
+
},
|
|
8161
8170
|
"&__text--medium": {
|
|
8162
8171
|
fontSize: "0.75rem",
|
|
8163
8172
|
lineHeight: "1.125rem"
|