toku-ui 0.10.0 → 0.10.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/TIcon/TIcon.d.ts +2 -2
- package/dist/components/TIcon/TIcon.d.ts.map +1 -1
- package/dist/components/TIcon/TIcon.types.d.ts +1 -1
- package/dist/components/TIcon/TIcon.types.d.ts.map +1 -1
- package/dist/index.es.js +4 -1
- 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
|
@@ -5,7 +5,7 @@ export declare const TIcon: import("vue").DefineComponent<{
|
|
|
5
5
|
required: true;
|
|
6
6
|
};
|
|
7
7
|
color: PropType<string | undefined>;
|
|
8
|
-
size: PropType<"large" | "medium" | "small" | undefined>;
|
|
8
|
+
size: PropType<"large" | "medium" | "small" | "miniature" | "extra-small" | "extra-large" | undefined>;
|
|
9
9
|
variant: PropType<"outline" | "solid" | undefined>;
|
|
10
10
|
}, () => JSX.Element, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
11
11
|
icon: {
|
|
@@ -13,7 +13,7 @@ export declare const TIcon: import("vue").DefineComponent<{
|
|
|
13
13
|
required: true;
|
|
14
14
|
};
|
|
15
15
|
color: PropType<string | undefined>;
|
|
16
|
-
size: PropType<"large" | "medium" | "small" | undefined>;
|
|
16
|
+
size: PropType<"large" | "medium" | "small" | "miniature" | "extra-small" | "extra-large" | undefined>;
|
|
17
17
|
variant: PropType<"outline" | "solid" | undefined>;
|
|
18
18
|
}>>, {}>;
|
|
19
19
|
//# sourceMappingURL=TIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TIcon.d.ts","sourceRoot":"","sources":["../../../src/components/TIcon/TIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAA6B,MAAM,KAAK,CAAC;AAY1D,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"TIcon.d.ts","sourceRoot":"","sources":["../../../src/components/TIcon/TIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAA6B,MAAM,KAAK,CAAC;AAY1D,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;QA8ChB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export interface TIconProps {
|
|
2
2
|
icon: string;
|
|
3
3
|
color?: string;
|
|
4
|
-
size?: 'small' | 'medium' | 'large';
|
|
4
|
+
size?: 'miniature' | 'extra-small' | 'small' | 'medium' | 'large' | 'extra-large';
|
|
5
5
|
variant?: 'outline' | 'solid';
|
|
6
6
|
}
|
|
7
7
|
//# sourceMappingURL=TIcon.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TIcon.types.d.ts","sourceRoot":"","sources":["../../../src/components/TIcon/TIcon.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"TIcon.types.d.ts","sourceRoot":"","sources":["../../../src/components/TIcon/TIcon.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EACD,WAAW,GACX,aAAa,GACb,OAAO,GACP,QAAQ,GACR,OAAO,GACP,aAAa,CAAC;IAClB,OAAO,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;CAC/B"}
|
package/dist/index.es.js
CHANGED
|
@@ -5595,9 +5595,12 @@ const ji = {
|
|
|
5595
5595
|
attrs: s
|
|
5596
5596
|
}) {
|
|
5597
5597
|
const a = E(() => ie.merge({}, U0, l, s)), p = ue(), g = E(() => ie.get(p.value.colors, a.value.color) || a.value.color), w = E(() => `${p.value.iconSet}:${a.value.icon}${a.value.variant === "solid" ? "-solid" : ""}`), x = {
|
|
5598
|
+
miniature: "0.375em",
|
|
5599
|
+
"extra-small": "0.625em",
|
|
5598
5600
|
small: "1em",
|
|
5599
5601
|
medium: "1.25em",
|
|
5600
|
-
large: "1.5em"
|
|
5602
|
+
large: "1.5em",
|
|
5603
|
+
"extra-large": "1.75em"
|
|
5601
5604
|
}, I = E(() => x[a.value.size]);
|
|
5602
5605
|
return () => z(Je, {
|
|
5603
5606
|
attrs: {
|