toku-ui 0.2.0 → 0.3.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/TIconButton/TIconButton.d.ts +4 -2
- package/dist/components/TIconButton/TIconButton.d.ts.map +1 -1
- package/dist/components/TIconButton/TIconButton.styles.d.ts.map +1 -1
- package/dist/components/TIconButton/TIconButton.types.d.ts +2 -1
- package/dist/components/TIconButton/TIconButton.types.d.ts.map +1 -1
- package/dist/index.es.js +8 -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
|
@@ -2,14 +2,16 @@ import { PropType } from 'vue';
|
|
|
2
2
|
export declare const TIconButton: import("vue").DefineComponent<{
|
|
3
3
|
variant: PropType<"primary" | "secondary" | "tertiary">;
|
|
4
4
|
size: PropType<"medium" | "large" | "small">;
|
|
5
|
-
disabled: PropType<boolean>;
|
|
5
|
+
disabled: PropType<boolean | undefined>;
|
|
6
6
|
icon: PropType<string>;
|
|
7
7
|
type: PropType<"button" | "submit" | "reset" | undefined>;
|
|
8
|
+
rounded: PropType<boolean | undefined>;
|
|
8
9
|
}, () => JSX.Element, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "click"[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
9
10
|
variant: PropType<"primary" | "secondary" | "tertiary">;
|
|
10
11
|
size: PropType<"medium" | "large" | "small">;
|
|
11
|
-
disabled: PropType<boolean>;
|
|
12
|
+
disabled: PropType<boolean | undefined>;
|
|
12
13
|
icon: PropType<string>;
|
|
13
14
|
type: PropType<"button" | "submit" | "reset" | undefined>;
|
|
15
|
+
rounded: PropType<boolean | undefined>;
|
|
14
16
|
}>>, {}>;
|
|
15
17
|
//# sourceMappingURL=TIconButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TIconButton.d.ts","sourceRoot":"","sources":["../../../src/components/TIconButton/TIconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAA6B,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"TIconButton.d.ts","sourceRoot":"","sources":["../../../src/components/TIconButton/TIconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAA6B,MAAM,KAAK,CAAC;AAc1D,eAAO,MAAM,WAAW;;;;;;;;;;;;;;QA4CtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TIconButton.styles.d.ts","sourceRoot":"","sources":["../../../src/components/TIconButton/TIconButton.styles.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS;;;
|
|
1
|
+
{"version":3,"file":"TIconButton.styles.d.ts","sourceRoot":"","sources":["../../../src/components/TIconButton/TIconButton.styles.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS;;;CA6GrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TIconButton.types.d.ts","sourceRoot":"","sources":["../../../src/components/TIconButton/TIconButton.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAErD,MAAM,WAAW,gBAAiB,SAAQ,oBAAoB;IAC5D,OAAO,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;IAC9C,IAAI,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;CACnB"}
|
|
1
|
+
{"version":3,"file":"TIconButton.types.d.ts","sourceRoot":"","sources":["../../../src/components/TIconButton/TIconButton.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAErD,MAAM,WAAW,gBAAiB,SAAQ,oBAAoB;IAC5D,OAAO,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;IAC9C,IAAI,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB"}
|
package/dist/index.es.js
CHANGED
|
@@ -4931,6 +4931,9 @@ const w0 = (l, s) => m0(
|
|
|
4931
4931
|
width: "2rem",
|
|
4932
4932
|
lineHeight: "1.25rem",
|
|
4933
4933
|
fontSize: "0.875rem"
|
|
4934
|
+
},
|
|
4935
|
+
"&--rounded": {
|
|
4936
|
+
borderRadius: "50%"
|
|
4934
4937
|
}
|
|
4935
4938
|
})), u = X(() => _n({
|
|
4936
4939
|
margin: 0,
|
|
@@ -4952,7 +4955,6 @@ const w0 = (l, s) => m0(
|
|
|
4952
4955
|
}, F0 = {
|
|
4953
4956
|
variant: "primary",
|
|
4954
4957
|
size: "medium",
|
|
4955
|
-
disabled: !1,
|
|
4956
4958
|
icon: "academic-cap",
|
|
4957
4959
|
type: "button"
|
|
4958
4960
|
}, N0 = mn({
|
|
@@ -4962,7 +4964,8 @@ const w0 = (l, s) => m0(
|
|
|
4962
4964
|
size: String,
|
|
4963
4965
|
disabled: Boolean,
|
|
4964
4966
|
icon: String,
|
|
4965
|
-
type: String
|
|
4967
|
+
type: String,
|
|
4968
|
+
rounded: Boolean
|
|
4966
4969
|
},
|
|
4967
4970
|
emits: ["click"],
|
|
4968
4971
|
setup(l, {
|
|
@@ -4972,7 +4975,9 @@ const w0 = (l, s) => m0(
|
|
|
4972
4975
|
const g = X(() => Me.merge({}, F0, l, s)), {
|
|
4973
4976
|
baseClass: _,
|
|
4974
4977
|
iconClass: I
|
|
4975
|
-
} = E0(), x = ze(), W = X(() => [_.value, `${_.value}--${g.value.variant}`, `${_.value}--${g.value.size}
|
|
4978
|
+
} = E0(), x = ze(), W = X(() => [_.value, `${_.value}--${g.value.variant}`, `${_.value}--${g.value.size}`, {
|
|
4979
|
+
[`${_.value}--rounded`]: g.value.rounded
|
|
4980
|
+
}]), D = X(() => [I.value, `${I.value}--${g.value.variant}`, `${I.value}--${g.value.size}`]);
|
|
4976
4981
|
return () => K("button", Qi([{
|
|
4977
4982
|
class: W.value,
|
|
4978
4983
|
attrs: {
|