toku-ui 0.23.3 → 0.24.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 +2 -0
- package/dist/components/TIconButton/TIconButton.d.ts.map +1 -1
- package/dist/components/TIconButton/TIconButton.styles.d.ts +5 -3
- package/dist/components/TIconButton/TIconButton.styles.d.ts.map +1 -1
- package/dist/components/TIconButton/TIconButton.types.d.ts +1 -0
- package/dist/components/TIconButton/TIconButton.types.d.ts.map +1 -1
- package/dist/index.es.js +1718 -1716
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +9 -9
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -7,6 +7,7 @@ export declare const TIconButton: import("vue").DefineComponent<{
|
|
|
7
7
|
type: PropType<"button" | "submit" | "reset" | undefined>;
|
|
8
8
|
rounded: PropType<boolean | undefined>;
|
|
9
9
|
loading: PropType<boolean | undefined>;
|
|
10
|
+
color: PropType<"primary" | "error" | "success" | "warning" | "info" | "in-process" | "in-process-dark" | undefined>;
|
|
10
11
|
}, () => JSX.Element, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "click"[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
11
12
|
variant: PropType<"primary" | "secondary" | "tertiary" | undefined>;
|
|
12
13
|
size: PropType<"large" | "medium" | "small" | undefined>;
|
|
@@ -15,5 +16,6 @@ export declare const TIconButton: import("vue").DefineComponent<{
|
|
|
15
16
|
type: PropType<"button" | "submit" | "reset" | undefined>;
|
|
16
17
|
rounded: PropType<boolean | undefined>;
|
|
17
18
|
loading: PropType<boolean | undefined>;
|
|
19
|
+
color: PropType<"primary" | "error" | "success" | "warning" | "info" | "in-process" | "in-process-dark" | undefined>;
|
|
18
20
|
}>>, {}>;
|
|
19
21
|
//# 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;AAe1D,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;QAgEtB,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { Ref, ComputedRef } from 'vue';
|
|
2
|
+
import { TIconButtonProps } from './TIconButton.types';
|
|
3
|
+
export declare const useStyles: (color: Ref<NonNullable<TIconButtonProps['color']>> | ComputedRef<NonNullable<TIconButtonProps['color']>>) => {
|
|
4
|
+
baseClass: ComputedRef<string>;
|
|
5
|
+
iconClass: ComputedRef<string>;
|
|
4
6
|
};
|
|
5
7
|
//# sourceMappingURL=TIconButton.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TIconButton.styles.d.ts","sourceRoot":"","sources":["../../../src/components/TIconButton/TIconButton.styles.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TIconButton.styles.d.ts","sourceRoot":"","sources":["../../../src/components/TIconButton/TIconButton.styles.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,WAAW,EAAY,MAAM,KAAK,CAAC;AAIjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAGvD,eAAO,MAAM,SAAS,UAEhB,IAAI,YAAY,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAC,GAC3C,YAAY,YAAY,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAC;;;CAwIxD,CAAC"}
|
|
@@ -6,5 +6,6 @@ export interface TIconButtonProps extends ButtonHTMLAttributes {
|
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
rounded?: boolean;
|
|
8
8
|
loading?: boolean;
|
|
9
|
+
color?: 'primary' | 'error' | 'success' | 'warning' | 'in-process' | 'in-process-dark' | 'info';
|
|
9
10
|
}
|
|
10
11
|
//# sourceMappingURL=TIconButton.types.d.ts.map
|
|
@@ -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,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;IAC/C,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;
|
|
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,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;IAC/C,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EACF,SAAS,GACT,OAAO,GACP,SAAS,GACT,SAAS,GACT,YAAY,GACZ,iBAAiB,GACjB,MAAM,CAAC;CACZ"}
|