ep-craft 0.1.3 → 0.1.5
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/button/index.d.ts +2 -5
- package/dist/components/button/index.js +4 -7
- package/dist/components/button/use-button-custom.d.ts +10 -0
- package/dist/index.css +1 -2
- package/package.json +1 -1
- package/theme-chalk/src/button.scss +190 -12
- package/theme-chalk/src/common/var.scss +28 -10
- package/dist/components/button/EpButton.vue.js +0 -171
- package/dist/components/button/EpButton2.vue.js +0 -4
- package/dist/components/button/button.js +0 -95
- package/dist/node_modules/@ctrl/tinycolor/dist/module/conversion.js +0 -134
- package/dist/node_modules/@ctrl/tinycolor/dist/module/css-color-names.js +0 -153
- package/dist/node_modules/@ctrl/tinycolor/dist/module/format-input.js +0 -77
- package/dist/node_modules/@ctrl/tinycolor/dist/module/index.js +0 -354
- package/dist/node_modules/@ctrl/tinycolor/dist/module/util.js +0 -32
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import type { Plugin } from 'vue';
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
import '../../../theme-chalk/src/button.scss';
|
|
5
|
-
export declare const EpButton: typeof EpButtonComponent & Plugin;
|
|
2
|
+
import { ElButton } from 'element-plus';
|
|
3
|
+
export declare const EpButton: typeof ElButton & Plugin;
|
|
6
4
|
export default EpButton;
|
|
7
|
-
export * from './button';
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import o from "
|
|
3
|
-
|
|
4
|
-
/* empty css */
|
|
5
|
-
import "@element-plus/icons-vue";
|
|
6
|
-
const f = t(o, "ep-button");
|
|
1
|
+
import { ElButton as t } from "element-plus";
|
|
2
|
+
import { withInstall as o } from "../../utils/with-install.js";
|
|
3
|
+
const n = Object.assign({}, t, { name: "EpButton" }), r = o(n, "ep-button");
|
|
7
4
|
export {
|
|
8
|
-
|
|
5
|
+
r as EpButton
|
|
9
6
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ComputedRef } from 'vue';
|
|
2
|
+
import type { ButtonProps } from './button';
|
|
3
|
+
interface UseButtonCustomStyleOptions {
|
|
4
|
+
props: ButtonProps;
|
|
5
|
+
plain: ComputedRef<boolean>;
|
|
6
|
+
text: ComputedRef<boolean>;
|
|
7
|
+
disabled: ComputedRef<boolean>;
|
|
8
|
+
}
|
|
9
|
+
export declare function useButtonCustomStyle({ props, plain, text, disabled, }: UseButtonCustomStyleOptions): ComputedRef<Record<string, string>>;
|
|
10
|
+
export {};
|