ep-craft 0.1.2 → 0.1.4
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/EpButton.vue.d.ts +7 -7
- package/dist/components/button/button.d.ts +4 -4
- package/dist/components/button/index.d.ts +2 -4
- package/dist/components/button/index.js +4 -6
- package/dist/index.css +1 -2
- package/dist/resolver.js +9 -12
- package/package.json +4 -2
- package/theme-chalk/src/affix.scss +7 -0
- package/theme-chalk/src/alert.scss +115 -0
- package/theme-chalk/src/anchor-link.scss +45 -0
- package/theme-chalk/src/anchor.scss +93 -0
- package/theme-chalk/src/aside.scss +8 -0
- package/theme-chalk/src/autocomplete.scss +95 -0
- package/theme-chalk/src/avatar-group.scss +25 -0
- package/theme-chalk/src/avatar.scss +55 -0
- package/theme-chalk/src/backtop.scss +29 -0
- package/theme-chalk/src/badge.scss +58 -0
- package/theme-chalk/src/base.scss +3 -0
- package/theme-chalk/src/breadcrumb-item.scss +58 -0
- package/theme-chalk/src/breadcrumb.scss +9 -0
- package/theme-chalk/src/button-group.scss +133 -0
- package/theme-chalk/src/button.scss +374 -0
- package/theme-chalk/src/calendar.scss +94 -0
- package/theme-chalk/src/card.scss +49 -0
- package/theme-chalk/src/carousel-item.scss +58 -0
- package/theme-chalk/src/carousel.scss +195 -0
- package/theme-chalk/src/cascader-panel.scss +150 -0
- package/theme-chalk/src/cascader.scss +289 -0
- package/theme-chalk/src/check-tag.scss +60 -0
- package/theme-chalk/src/checkbox-button.scss +142 -0
- package/theme-chalk/src/checkbox-group.scss +7 -0
- package/theme-chalk/src/checkbox.scss +300 -0
- package/theme-chalk/src/col.scss +56 -0
- package/theme-chalk/src/collapse-item.scss +72 -0
- package/theme-chalk/src/collapse-transition.scss +1 -0
- package/theme-chalk/src/collapse.scss +29 -0
- package/theme-chalk/src/color/index.scss +20 -0
- package/theme-chalk/src/color-picker-panel.scss +294 -0
- package/theme-chalk/src/color-picker.scss +165 -0
- package/theme-chalk/src/common/popup.scss +47 -0
- package/theme-chalk/src/common/transition.scss +125 -0
- package/theme-chalk/src/common/var.scss +1748 -0
- package/theme-chalk/src/config-provider.scss +0 -0
- package/theme-chalk/src/container.scss +14 -0
- package/theme-chalk/src/dark/css-vars.scss +45 -0
- package/theme-chalk/src/dark/var.scss +224 -0
- package/theme-chalk/src/date-picker/date-picker.scss +121 -0
- package/theme-chalk/src/date-picker/date-range-picker.scss +165 -0
- package/theme-chalk/src/date-picker/date-table.scss +164 -0
- package/theme-chalk/src/date-picker/month-table.scss +112 -0
- package/theme-chalk/src/date-picker/picker-panel.scss +152 -0
- package/theme-chalk/src/date-picker/picker.scss +217 -0
- package/theme-chalk/src/date-picker/time-picker.scss +90 -0
- package/theme-chalk/src/date-picker/time-range-picker.scss +33 -0
- package/theme-chalk/src/date-picker/time-spinner.scss +115 -0
- package/theme-chalk/src/date-picker/utils.scss +14 -0
- package/theme-chalk/src/date-picker/year-table.scss +108 -0
- package/theme-chalk/src/date-picker-panel.scss +34 -0
- package/theme-chalk/src/date-picker.scss +0 -0
- package/theme-chalk/src/descriptions-item.scss +77 -0
- package/theme-chalk/src/descriptions.scss +151 -0
- package/theme-chalk/src/dialog.scss +207 -0
- package/theme-chalk/src/display.scss +12 -0
- package/theme-chalk/src/divider.scss +48 -0
- package/theme-chalk/src/drawer.scss +251 -0
- package/theme-chalk/src/dropdown-item.scss +0 -0
- package/theme-chalk/src/dropdown-menu.scss +0 -0
- package/theme-chalk/src/dropdown.scss +208 -0
- package/theme-chalk/src/empty.scss +49 -0
- package/theme-chalk/src/footer.scss +12 -0
- package/theme-chalk/src/form-item.scss +246 -0
- package/theme-chalk/src/form.scss +28 -0
- package/theme-chalk/src/header.scss +12 -0
- package/theme-chalk/src/icon.scss +41 -0
- package/theme-chalk/src/image-viewer.scss +161 -0
- package/theme-chalk/src/image.scss +49 -0
- package/theme-chalk/src/index.scss +116 -0
- package/theme-chalk/src/infinite-scroll.scss +0 -0
- package/theme-chalk/src/input-number.scss +192 -0
- package/theme-chalk/src/input-otp.scss +191 -0
- package/theme-chalk/src/input-tag.scss +249 -0
- package/theme-chalk/src/input.scss +541 -0
- package/theme-chalk/src/link.scss +90 -0
- package/theme-chalk/src/loading.scss +104 -0
- package/theme-chalk/src/main.scss +14 -0
- package/theme-chalk/src/mention.scss +88 -0
- package/theme-chalk/src/menu-item-group.scss +0 -0
- package/theme-chalk/src/menu-item.scss +0 -0
- package/theme-chalk/src/menu.scss +376 -0
- package/theme-chalk/src/message-box.scss +220 -0
- package/theme-chalk/src/message.scss +123 -0
- package/theme-chalk/src/mixins/_button.scss +240 -0
- package/theme-chalk/src/mixins/_col.scss +41 -0
- package/theme-chalk/src/mixins/_var.scss +67 -0
- package/theme-chalk/src/mixins/config.scss +5 -0
- package/theme-chalk/src/mixins/function.scss +99 -0
- package/theme-chalk/src/mixins/mixins.scss +257 -0
- package/theme-chalk/src/mixins/utils.scss +39 -0
- package/theme-chalk/src/notification.scss +109 -0
- package/theme-chalk/src/option-group.scss +33 -0
- package/theme-chalk/src/option.scss +71 -0
- package/theme-chalk/src/overlay.scss +17 -0
- package/theme-chalk/src/page-header.scss +60 -0
- package/theme-chalk/src/pagination.scss +235 -0
- package/theme-chalk/src/popconfirm.scss +17 -0
- package/theme-chalk/src/popover.scss +61 -0
- package/theme-chalk/src/popper.scss +117 -0
- package/theme-chalk/src/progress.scss +179 -0
- package/theme-chalk/src/radio-button.scss +165 -0
- package/theme-chalk/src/radio-group.scss +9 -0
- package/theme-chalk/src/radio.scss +220 -0
- package/theme-chalk/src/rate.scss +121 -0
- package/theme-chalk/src/reset.scss +99 -0
- package/theme-chalk/src/result.scss +57 -0
- package/theme-chalk/src/row.scss +34 -0
- package/theme-chalk/src/scrollbar.scss +97 -0
- package/theme-chalk/src/segmented.scss +186 -0
- package/theme-chalk/src/select-dropdown-v2.scss +1 -0
- package/theme-chalk/src/select-dropdown.scss +57 -0
- package/theme-chalk/src/select-v2.scss +4 -0
- package/theme-chalk/src/select.scss +269 -0
- package/theme-chalk/src/skeleton-item.scss +83 -0
- package/theme-chalk/src/skeleton.scss +44 -0
- package/theme-chalk/src/slider.scss +212 -0
- package/theme-chalk/src/space.scss +20 -0
- package/theme-chalk/src/spinner.scss +43 -0
- package/theme-chalk/src/splitter-panel.scss +8 -0
- package/theme-chalk/src/splitter.scss +148 -0
- package/theme-chalk/src/statistic.scss +35 -0
- package/theme-chalk/src/step.scss +320 -0
- package/theme-chalk/src/steps.scss +22 -0
- package/theme-chalk/src/sub-menu.scss +0 -0
- package/theme-chalk/src/switch.scss +294 -0
- package/theme-chalk/src/tab-pane.scss +0 -0
- package/theme-chalk/src/table-column.scss +100 -0
- package/theme-chalk/src/table-v2.scss +239 -0
- package/theme-chalk/src/table.scss +698 -0
- package/theme-chalk/src/tabs.scss +699 -0
- package/theme-chalk/src/tag.scss +195 -0
- package/theme-chalk/src/text.scss +51 -0
- package/theme-chalk/src/time-picker.scss +5 -0
- package/theme-chalk/src/time-select.scss +37 -0
- package/theme-chalk/src/timeline-item.scss +135 -0
- package/theme-chalk/src/timeline.scss +101 -0
- package/theme-chalk/src/tooltip.scss +0 -0
- package/theme-chalk/src/tour.scss +187 -0
- package/theme-chalk/src/transfer.scss +201 -0
- package/theme-chalk/src/tree-select.scss +41 -0
- package/theme-chalk/src/tree.scss +134 -0
- package/theme-chalk/src/upload.scss +660 -0
- package/theme-chalk/src/var.scss +87 -0
- package/theme-chalk/src/virtual-list.scss +40 -0
- 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
|
@@ -8,8 +8,8 @@ type __VLS_Slots = {} & {
|
|
|
8
8
|
};
|
|
9
9
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
10
10
|
readonly size: {
|
|
11
|
-
readonly type: import("vue").PropType<"" | "large" | "default" | "small">;
|
|
12
|
-
readonly values: readonly ["", "large", "default", "small"];
|
|
11
|
+
readonly type: import("vue").PropType<"" | "large" | "default" | "small" | "mini">;
|
|
12
|
+
readonly values: readonly ["", "large", "default", "small", "mini"];
|
|
13
13
|
};
|
|
14
14
|
readonly disabled: {
|
|
15
15
|
readonly type: BooleanConstructor;
|
|
@@ -17,7 +17,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
17
17
|
};
|
|
18
18
|
readonly type: {
|
|
19
19
|
readonly type: import("vue").PropType<typeof import("./button").buttonTypes[number]>;
|
|
20
|
-
readonly values: readonly ["default", "primary", "success", "warning", "info", "danger", "text", ""];
|
|
20
|
+
readonly values: readonly ["default", "primary", "rePrimary", "success", "reSuccess", "warning", "reWarning", "info", "reInfo", "danger", "reDanger", "text", ""];
|
|
21
21
|
readonly default: "";
|
|
22
22
|
};
|
|
23
23
|
readonly icon: {
|
|
@@ -73,8 +73,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
73
73
|
click: (evt: MouseEvent) => void;
|
|
74
74
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
75
75
|
readonly size: {
|
|
76
|
-
readonly type: import("vue").PropType<"" | "large" | "default" | "small">;
|
|
77
|
-
readonly values: readonly ["", "large", "default", "small"];
|
|
76
|
+
readonly type: import("vue").PropType<"" | "large" | "default" | "small" | "mini">;
|
|
77
|
+
readonly values: readonly ["", "large", "default", "small", "mini"];
|
|
78
78
|
};
|
|
79
79
|
readonly disabled: {
|
|
80
80
|
readonly type: BooleanConstructor;
|
|
@@ -82,7 +82,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
82
82
|
};
|
|
83
83
|
readonly type: {
|
|
84
84
|
readonly type: import("vue").PropType<typeof import("./button").buttonTypes[number]>;
|
|
85
|
-
readonly values: readonly ["default", "primary", "success", "warning", "info", "danger", "text", ""];
|
|
85
|
+
readonly values: readonly ["default", "primary", "rePrimary", "success", "reSuccess", "warning", "reWarning", "info", "reInfo", "danger", "reDanger", "text", ""];
|
|
86
86
|
readonly default: "";
|
|
87
87
|
};
|
|
88
88
|
readonly icon: {
|
|
@@ -131,7 +131,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
131
131
|
}>> & Readonly<{
|
|
132
132
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
133
133
|
}>, {
|
|
134
|
-
readonly type: "" | "primary" | "success" | "warning" | "info" | "default" | "text" | "danger";
|
|
134
|
+
readonly type: "" | "primary" | "success" | "warning" | "info" | "default" | "text" | "danger" | "rePrimary" | "reSuccess" | "reWarning" | "reInfo" | "reDanger";
|
|
135
135
|
readonly dark: boolean;
|
|
136
136
|
readonly disabled: boolean;
|
|
137
137
|
readonly autofocus: boolean;
|
|
@@ -3,13 +3,13 @@ import type { ExtractPropTypes, PropType } from 'vue';
|
|
|
3
3
|
* EpButton 的 props / emits / 常量定义
|
|
4
4
|
* 从 element-plus 按钮源码 vendored 而来,可直接修改。
|
|
5
5
|
*/
|
|
6
|
-
export declare const buttonTypes: readonly ["default", "primary", "success", "warning", "info", "danger", "text", ""];
|
|
6
|
+
export declare const buttonTypes: readonly ["default", "primary", "rePrimary", "success", "reSuccess", "warning", "reWarning", "info", "reInfo", "danger", "reDanger", "text", ""];
|
|
7
7
|
export declare const buttonNativeTypes: readonly ["button", "submit", "reset"];
|
|
8
8
|
export declare const buttonProps: {
|
|
9
9
|
/** 按钮尺寸 */
|
|
10
10
|
readonly size: {
|
|
11
|
-
readonly type: PropType<"" | "large" | "default" | "small">;
|
|
12
|
-
readonly values: readonly ["", "large", "default", "small"];
|
|
11
|
+
readonly type: PropType<"" | "large" | "default" | "small" | "mini">;
|
|
12
|
+
readonly values: readonly ["", "large", "default", "small", "mini"];
|
|
13
13
|
};
|
|
14
14
|
/** 是否禁用 */
|
|
15
15
|
readonly disabled: {
|
|
@@ -19,7 +19,7 @@ export declare const buttonProps: {
|
|
|
19
19
|
/** 按钮类型 */
|
|
20
20
|
readonly type: {
|
|
21
21
|
readonly type: PropType<(typeof buttonTypes)[number]>;
|
|
22
|
-
readonly values: readonly ["default", "primary", "success", "warning", "info", "danger", "text", ""];
|
|
22
|
+
readonly values: readonly ["default", "primary", "rePrimary", "success", "reSuccess", "warning", "reWarning", "info", "reInfo", "danger", "reDanger", "text", ""];
|
|
23
23
|
readonly default: "";
|
|
24
24
|
};
|
|
25
25
|
/** 图标组件 */
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import type { Plugin } from 'vue';
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
export declare const EpButton: typeof EpButtonComponent & Plugin;
|
|
2
|
+
import { ElButton } from 'element-plus';
|
|
3
|
+
export declare const EpButton: typeof ElButton & Plugin;
|
|
5
4
|
export default EpButton;
|
|
6
|
-
export * from './button';
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import o from "
|
|
3
|
-
|
|
4
|
-
import "@element-plus/icons-vue";
|
|
5
|
-
const n = 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");
|
|
6
4
|
export {
|
|
7
|
-
|
|
5
|
+
r as EpButton
|
|
8
6
|
};
|