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.
@@ -1,7 +1,4 @@
1
1
  import type { Plugin } from 'vue';
2
- import EpButtonComponent from './EpButton.vue';
3
- import '../../../theme-chalk/src/base.scss';
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 { withInstall as t } from "../../utils/with-install.js";
2
- import o from "./EpButton.vue.js";
3
- /* empty css */
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
- f as EpButton
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 {};