@uzum-tech/ui 1.8.1 → 1.9.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/index.js +847 -249
- package/dist/index.prod.js +3 -3
- package/es/_internal/scrollbar/src/Scrollbar.d.ts +119 -17
- package/es/_internal/scrollbar/src/Scrollbar.js +121 -68
- package/es/_internal/scrollbar/src/styles/index.cssr.js +32 -15
- package/es/_internal/scrollbar/styles/common.d.ts +7 -0
- package/es/_internal/scrollbar/styles/common.js +7 -0
- package/es/_internal/scrollbar/styles/light.d.ts +8 -0
- package/es/_internal/scrollbar/styles/light.js +3 -5
- package/es/_internal/select-menu/src/SelectMenu.d.ts +57 -1
- package/es/_internal/select-menu/styles/light.d.ts +8 -0
- package/es/_internal/selection/src/Selection.d.ts +3 -1
- package/es/_internal/selection/src/Selection.js +3 -1
- package/es/_utils/css/index.d.ts +1 -0
- package/es/_utils/css/index.js +1 -0
- package/es/_utils/css/rtl-inset.d.ts +1 -0
- package/es/_utils/css/rtl-inset.js +5 -0
- package/es/_utils/index.d.ts +1 -1
- package/es/_utils/index.js +1 -1
- package/es/auto-complete/src/AutoComplete.d.ts +88 -0
- package/es/auto-complete/styles/light.d.ts +8 -0
- package/es/back-top/src/BackTop.d.ts +1 -1
- package/es/button/src/Button.d.ts +72 -0
- package/es/button/src/Button.js +13 -7
- package/es/button/src/styles/index.cssr.js +1 -2
- package/es/button/styles/light.d.ts +8 -0
- package/es/button/styles/light.js +7 -7
- package/es/calendar/src/Calendar.d.ts +80 -0
- package/es/calendar/styles/light.d.ts +8 -0
- package/es/cascader/src/Cascader.d.ts +168 -0
- package/es/cascader/src/CascaderMenu.d.ts +24 -0
- package/es/cascader/src/CascaderOption.d.ts +24 -0
- package/es/cascader/src/CascaderSelectMenu.d.ts +24 -0
- package/es/cascader/src/CascaderSubmenu.d.ts +25 -1
- package/es/cascader/styles/light.d.ts +16 -0
- package/es/chat/src/Chat.d.ts +175 -7
- package/es/chat/src/Chat.js +11 -12
- package/es/chat/src/ChatListItems.d.ts +192 -0
- package/es/chat/src/ChatListItems.js +4 -1
- package/es/chat/src/ChatMessages.d.ts +192 -0
- package/es/chat/src/styles/index.cssr.js +1 -3
- package/es/chat/styles/dark.d.ts +16 -0
- package/es/chat/styles/light.d.ts +16 -0
- package/es/color-picker/src/ColorInputUnit.d.ts +8 -0
- package/es/color-picker/src/ColorPicker.d.ts +72 -0
- package/es/color-picker/styles/light.d.ts +8 -0
- package/es/components.d.ts +2 -0
- package/es/components.js +2 -0
- package/es/data-table/src/DataTable.d.ts +240 -0
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +48 -0
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +48 -0
- package/es/data-table/src/TableParts/Body.d.ts +49 -1
- package/es/data-table/src/TableParts/Header.d.ts +48 -0
- package/es/data-table/src/interface.d.ts +96 -0
- package/es/data-table/styles/light.d.ts +32 -0
- package/es/date-picker/src/DatePicker.d.ts +339 -3
- package/es/date-picker/src/panel/date.d.ts +49 -1
- package/es/date-picker/src/panel/daterange.d.ts +50 -2
- package/es/date-picker/src/panel/datetime.d.ts +49 -1
- package/es/date-picker/src/panel/datetimerange.d.ts +50 -2
- package/es/date-picker/src/panel/panelMonth.d.ts +98 -2
- package/es/date-picker/src/panel/panelMonthContent.d.ts +49 -1
- package/es/date-picker/src/panel/panelYear.d.ts +98 -2
- package/es/date-picker/src/panel/panelYearContent.d.ts +49 -1
- package/es/date-picker/src/panel/use-calendar.d.ts +48 -0
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +48 -0
- package/es/date-picker/src/panel/use-panel-common.d.ts +48 -0
- package/es/date-picker/styles/light.d.ts +32 -0
- package/es/dialog/src/Dialog.d.ts +56 -0
- package/es/dialog/src/DialogProvider.d.ts +18 -2
- package/es/dialog/styles/light.d.ts +8 -0
- package/es/drawer/src/Drawer.d.ts +81 -1
- package/es/drawer/src/DrawerBodyWrapper.d.ts +9 -1
- package/es/drawer/src/DrawerContent.d.ts +8 -0
- package/es/drawer/styles/light.d.ts +8 -0
- package/es/dropdown/src/Dropdown.d.ts +1 -1
- package/es/dynamic-input/src/DynamicInput.d.ts +80 -0
- package/es/dynamic-input/src/InputPreset.d.ts +8 -0
- package/es/dynamic-input/src/PairPreset.d.ts +8 -0
- package/es/dynamic-input/styles/light.d.ts +8 -0
- package/es/dynamic-tags/src/DynamicTags.d.ts +80 -0
- package/es/dynamic-tags/styles/light.d.ts +8 -0
- package/es/infinite-scroll/index.d.ts +2 -0
- package/es/infinite-scroll/index.js +1 -0
- package/es/infinite-scroll/src/InfiniteScroll.d.ts +45 -0
- package/es/infinite-scroll/src/InfiniteScroll.js +78 -0
- package/es/input-number/src/InputNumber.d.ts +80 -0
- package/es/input-number/styles/light.d.ts +8 -0
- package/es/layout/src/Layout.d.ts +112 -0
- package/es/layout/src/LayoutContent.d.ts +56 -0
- package/es/layout/src/LayoutFooter.d.ts +72 -0
- package/es/layout/src/LayoutHeader.d.ts +48 -0
- package/es/layout/src/LayoutSider.d.ts +56 -0
- package/es/layout/styles/light.d.ts +8 -0
- package/es/legacy-transfer/src/Transfer.d.ts +160 -0
- package/es/legacy-transfer/src/TransferFilter.d.ts +16 -0
- package/es/legacy-transfer/src/TransferList.d.ts +17 -1
- package/es/legacy-transfer/src/TransferListItem.d.ts +16 -0
- package/es/legacy-transfer/styles/light.d.ts +16 -0
- package/es/log/src/Log.d.ts +80 -0
- package/es/log/styles/light.d.ts +8 -0
- package/es/mention/src/Mention.d.ts +88 -0
- package/es/mention/styles/light.d.ts +8 -0
- package/es/menu/src/Menu.d.ts +1 -1
- package/es/modal/src/BodyWrapper.d.ts +25 -1
- package/es/modal/src/Modal.d.ts +145 -1
- package/es/modal/styles/light.d.ts +16 -0
- package/es/notification/src/Notification.d.ts +5 -0
- package/es/notification/src/Notification.js +16 -6
- package/es/notification/src/NotificationContainer.d.ts +20 -0
- package/es/notification/src/NotificationProvider.d.ts +180 -0
- package/es/notification/src/styles/index.cssr.js +12 -8
- package/es/notification/styles/light.d.ts +32 -0
- package/es/notification/styles/light.js +9 -8
- package/es/pagination/src/Pagination.d.ts +176 -0
- package/es/pagination/styles/light.d.ts +16 -0
- package/es/popconfirm/src/Popconfirm.d.ts +80 -0
- package/es/popconfirm/styles/light.d.ts +8 -0
- package/es/popselect/src/Popselect.d.ts +88 -0
- package/es/popselect/src/PopselectPanel.d.ts +16 -0
- package/es/popselect/styles/light.d.ts +8 -0
- package/es/scrollbar/src/Scrollbar.d.ts +72 -0
- package/es/select/src/Select.d.ts +88 -0
- package/es/select/styles/light.d.ts +8 -0
- package/es/time-picker/src/Panel.d.ts +16 -0
- package/es/time-picker/src/TimePicker.d.ts +160 -0
- package/es/time-picker/styles/light.d.ts +16 -0
- package/es/transfer/src/Transfer.d.ts +160 -0
- package/es/transfer/src/TransferFilter.d.ts +16 -0
- package/es/transfer/src/TransferList.d.ts +17 -1
- package/es/transfer/src/TransferListItem.d.ts +16 -0
- package/es/transfer/styles/light.d.ts +16 -0
- package/es/tree/src/Tree.d.ts +82 -2
- package/es/tree/src/TreeNodeCheckbox.d.ts +8 -0
- package/es/tree/styles/light.d.ts +8 -0
- package/es/tree-select/src/TreeSelect.d.ts +89 -1
- package/es/tree-select/styles/light.d.ts +8 -0
- package/es/upload/src/Upload.d.ts +90 -0
- package/es/upload/src/Upload.js +2 -1
- package/es/upload/src/UploadFile.d.ts +9 -0
- package/es/upload/src/UploadProgress.d.ts +9 -0
- package/es/upload/src/styles/index.cssr.js +1 -0
- package/es/upload/src/useUploadActionsRender.js +5 -1
- package/es/upload/styles/light.d.ts +10 -0
- package/es/upload/styles/light.js +6 -5
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/es/virtual-list/index.d.ts +2 -0
- package/es/virtual-list/index.js +1 -0
- package/es/virtual-list/src/VirtualList.d.ts +146 -0
- package/es/virtual-list/src/VirtualList.js +103 -0
- package/lib/_internal/scrollbar/src/Scrollbar.d.ts +119 -17
- package/lib/_internal/scrollbar/src/Scrollbar.js +118 -65
- package/lib/_internal/scrollbar/src/styles/index.cssr.js +32 -15
- package/lib/_internal/scrollbar/styles/common.d.ts +7 -0
- package/lib/_internal/scrollbar/styles/common.js +10 -0
- package/lib/_internal/scrollbar/styles/light.d.ts +8 -0
- package/lib/_internal/scrollbar/styles/light.js +3 -5
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +57 -1
- package/lib/_internal/select-menu/styles/light.d.ts +8 -0
- package/lib/_internal/selection/src/Selection.d.ts +3 -1
- package/lib/_internal/selection/src/Selection.js +3 -1
- package/lib/_utils/css/index.d.ts +1 -0
- package/lib/_utils/css/index.js +3 -1
- package/lib/_utils/css/rtl-inset.d.ts +1 -0
- package/lib/_utils/css/rtl-inset.js +8 -0
- package/lib/_utils/index.d.ts +1 -1
- package/lib/_utils/index.js +2 -1
- package/lib/auto-complete/src/AutoComplete.d.ts +88 -0
- package/lib/auto-complete/styles/light.d.ts +8 -0
- package/lib/back-top/src/BackTop.d.ts +1 -1
- package/lib/button/src/Button.d.ts +72 -0
- package/lib/button/src/Button.js +13 -7
- package/lib/button/src/styles/index.cssr.js +1 -2
- package/lib/button/styles/light.d.ts +8 -0
- package/lib/button/styles/light.js +7 -7
- package/lib/calendar/src/Calendar.d.ts +80 -0
- package/lib/calendar/styles/light.d.ts +8 -0
- package/lib/cascader/src/Cascader.d.ts +168 -0
- package/lib/cascader/src/CascaderMenu.d.ts +24 -0
- package/lib/cascader/src/CascaderOption.d.ts +24 -0
- package/lib/cascader/src/CascaderSelectMenu.d.ts +24 -0
- package/lib/cascader/src/CascaderSubmenu.d.ts +25 -1
- package/lib/cascader/styles/light.d.ts +16 -0
- package/lib/chat/src/Chat.d.ts +175 -7
- package/lib/chat/src/Chat.js +11 -12
- package/lib/chat/src/ChatListItems.d.ts +192 -0
- package/lib/chat/src/ChatListItems.js +4 -1
- package/lib/chat/src/ChatMessages.d.ts +192 -0
- package/lib/chat/src/styles/index.cssr.js +1 -3
- package/lib/chat/styles/dark.d.ts +16 -0
- package/lib/chat/styles/light.d.ts +16 -0
- package/lib/color-picker/src/ColorInputUnit.d.ts +8 -0
- package/lib/color-picker/src/ColorPicker.d.ts +72 -0
- package/lib/color-picker/styles/light.d.ts +8 -0
- package/lib/components.d.ts +2 -0
- package/lib/components.js +2 -0
- package/lib/data-table/src/DataTable.d.ts +240 -0
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +48 -0
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +48 -0
- package/lib/data-table/src/TableParts/Body.d.ts +49 -1
- package/lib/data-table/src/TableParts/Header.d.ts +48 -0
- package/lib/data-table/src/interface.d.ts +96 -0
- package/lib/data-table/styles/light.d.ts +32 -0
- package/lib/date-picker/src/DatePicker.d.ts +339 -3
- package/lib/date-picker/src/panel/date.d.ts +49 -1
- package/lib/date-picker/src/panel/daterange.d.ts +50 -2
- package/lib/date-picker/src/panel/datetime.d.ts +49 -1
- package/lib/date-picker/src/panel/datetimerange.d.ts +50 -2
- package/lib/date-picker/src/panel/panelMonth.d.ts +98 -2
- package/lib/date-picker/src/panel/panelMonthContent.d.ts +49 -1
- package/lib/date-picker/src/panel/panelYear.d.ts +98 -2
- package/lib/date-picker/src/panel/panelYearContent.d.ts +49 -1
- package/lib/date-picker/src/panel/use-calendar.d.ts +48 -0
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +48 -0
- package/lib/date-picker/src/panel/use-panel-common.d.ts +48 -0
- package/lib/date-picker/styles/light.d.ts +32 -0
- package/lib/dialog/src/Dialog.d.ts +56 -0
- package/lib/dialog/src/DialogProvider.d.ts +18 -2
- package/lib/dialog/styles/light.d.ts +8 -0
- package/lib/drawer/src/Drawer.d.ts +81 -1
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +9 -1
- package/lib/drawer/src/DrawerContent.d.ts +8 -0
- package/lib/drawer/styles/light.d.ts +8 -0
- package/lib/dropdown/src/Dropdown.d.ts +1 -1
- package/lib/dynamic-input/src/DynamicInput.d.ts +80 -0
- package/lib/dynamic-input/src/InputPreset.d.ts +8 -0
- package/lib/dynamic-input/src/PairPreset.d.ts +8 -0
- package/lib/dynamic-input/styles/light.d.ts +8 -0
- package/lib/dynamic-tags/src/DynamicTags.d.ts +80 -0
- package/lib/dynamic-tags/styles/light.d.ts +8 -0
- package/lib/infinite-scroll/index.d.ts +2 -0
- package/lib/infinite-scroll/index.js +9 -0
- package/lib/infinite-scroll/src/InfiniteScroll.d.ts +45 -0
- package/lib/infinite-scroll/src/InfiniteScroll.js +81 -0
- package/lib/input-number/src/InputNumber.d.ts +80 -0
- package/lib/input-number/styles/light.d.ts +8 -0
- package/lib/layout/src/Layout.d.ts +112 -0
- package/lib/layout/src/LayoutContent.d.ts +56 -0
- package/lib/layout/src/LayoutFooter.d.ts +72 -0
- package/lib/layout/src/LayoutHeader.d.ts +48 -0
- package/lib/layout/src/LayoutSider.d.ts +56 -0
- package/lib/layout/styles/light.d.ts +8 -0
- package/lib/legacy-transfer/src/Transfer.d.ts +160 -0
- package/lib/legacy-transfer/src/TransferFilter.d.ts +16 -0
- package/lib/legacy-transfer/src/TransferList.d.ts +17 -1
- package/lib/legacy-transfer/src/TransferListItem.d.ts +16 -0
- package/lib/legacy-transfer/styles/light.d.ts +16 -0
- package/lib/log/src/Log.d.ts +80 -0
- package/lib/log/styles/light.d.ts +8 -0
- package/lib/mention/src/Mention.d.ts +88 -0
- package/lib/mention/styles/light.d.ts +8 -0
- package/lib/menu/src/Menu.d.ts +1 -1
- package/lib/modal/src/BodyWrapper.d.ts +25 -1
- package/lib/modal/src/Modal.d.ts +145 -1
- package/lib/modal/styles/light.d.ts +16 -0
- package/lib/notification/src/Notification.d.ts +5 -0
- package/lib/notification/src/Notification.js +14 -4
- package/lib/notification/src/NotificationContainer.d.ts +20 -0
- package/lib/notification/src/NotificationProvider.d.ts +180 -0
- package/lib/notification/src/styles/index.cssr.js +12 -8
- package/lib/notification/styles/light.d.ts +32 -0
- package/lib/notification/styles/light.js +9 -8
- package/lib/pagination/src/Pagination.d.ts +176 -0
- package/lib/pagination/styles/light.d.ts +16 -0
- package/lib/popconfirm/src/Popconfirm.d.ts +80 -0
- package/lib/popconfirm/styles/light.d.ts +8 -0
- package/lib/popselect/src/Popselect.d.ts +88 -0
- package/lib/popselect/src/PopselectPanel.d.ts +16 -0
- package/lib/popselect/styles/light.d.ts +8 -0
- package/lib/scrollbar/src/Scrollbar.d.ts +72 -0
- package/lib/select/src/Select.d.ts +88 -0
- package/lib/select/styles/light.d.ts +8 -0
- package/lib/time-picker/src/Panel.d.ts +16 -0
- package/lib/time-picker/src/TimePicker.d.ts +160 -0
- package/lib/time-picker/styles/light.d.ts +16 -0
- package/lib/transfer/src/Transfer.d.ts +160 -0
- package/lib/transfer/src/TransferFilter.d.ts +16 -0
- package/lib/transfer/src/TransferList.d.ts +17 -1
- package/lib/transfer/src/TransferListItem.d.ts +16 -0
- package/lib/transfer/styles/light.d.ts +16 -0
- package/lib/tree/src/Tree.d.ts +82 -2
- package/lib/tree/src/TreeNodeCheckbox.d.ts +8 -0
- package/lib/tree/styles/light.d.ts +8 -0
- package/lib/tree-select/src/TreeSelect.d.ts +89 -1
- package/lib/tree-select/styles/light.d.ts +8 -0
- package/lib/upload/src/Upload.d.ts +90 -0
- package/lib/upload/src/Upload.js +2 -1
- package/lib/upload/src/UploadFile.d.ts +9 -0
- package/lib/upload/src/UploadProgress.d.ts +9 -0
- package/lib/upload/src/styles/index.cssr.js +1 -0
- package/lib/upload/src/useUploadActionsRender.js +5 -1
- package/lib/upload/styles/light.d.ts +10 -0
- package/lib/upload/styles/light.js +6 -5
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/virtual-list/index.d.ts +2 -0
- package/lib/virtual-list/index.js +9 -0
- package/lib/virtual-list/src/VirtualList.d.ts +146 -0
- package/lib/virtual-list/src/VirtualList.js +106 -0
- package/package.json +2 -2
- package/volar.d.ts +1 -0
- package/web-types.json +33 -4
|
@@ -608,7 +608,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
608
608
|
singleElRef: import("vue").Ref<HTMLElement | null>;
|
|
609
609
|
patternInputWrapperRef: import("vue").Ref<HTMLElement | null>;
|
|
610
610
|
overflowRef: import("vue").Ref<{
|
|
611
|
-
sync: (
|
|
611
|
+
sync: (options: {
|
|
612
|
+
showAllItemsBeforeCalculate: boolean;
|
|
613
|
+
}) => void;
|
|
612
614
|
} | null>;
|
|
613
615
|
inputTagElRef: import("vue").Ref<HTMLElement | null>;
|
|
614
616
|
handleMouseDown: (e: MouseEvent) => void;
|
|
@@ -113,7 +113,9 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
113
113
|
if (patternInputEl) {
|
|
114
114
|
patternInputEl.style.width = `${patternInputMirrorEl.offsetWidth}px`;
|
|
115
115
|
if (props.maxTagCount !== 'responsive') {
|
|
116
|
-
(_a = overflowRef.value) === null || _a === void 0 ? void 0 : _a.sync(
|
|
116
|
+
(_a = overflowRef.value) === null || _a === void 0 ? void 0 : _a.sync({
|
|
117
|
+
showAllItemsBeforeCalculate: false
|
|
118
|
+
});
|
|
117
119
|
}
|
|
118
120
|
}
|
|
119
121
|
}
|
package/lib/_utils/css/index.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveSize = exports.color2Class = exports.formatLength = void 0;
|
|
3
|
+
exports.rtlInset = exports.resolveSize = exports.color2Class = exports.formatLength = void 0;
|
|
4
4
|
var format_length_1 = require("./format-length");
|
|
5
5
|
Object.defineProperty(exports, "formatLength", { enumerable: true, get: function () { return format_length_1.formatLength; } });
|
|
6
6
|
var color_to_class_1 = require("./color-to-class");
|
|
7
7
|
Object.defineProperty(exports, "color2Class", { enumerable: true, get: function () { return color_to_class_1.color2Class; } });
|
|
8
8
|
var normalize_size_1 = require("./normalize-size");
|
|
9
9
|
Object.defineProperty(exports, "resolveSize", { enumerable: true, get: function () { return normalize_size_1.resolveSize; } });
|
|
10
|
+
var rtl_inset_1 = require("./rtl-inset");
|
|
11
|
+
Object.defineProperty(exports, "rtlInset", { enumerable: true, get: function () { return rtl_inset_1.rtlInset; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function rtlInset(inset: string): string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.rtlInset = rtlInset;
|
|
4
|
+
const seemly_1 = require("seemly");
|
|
5
|
+
function rtlInset(inset) {
|
|
6
|
+
const { left, right, top, bottom } = (0, seemly_1.getPadding)(inset);
|
|
7
|
+
return `${top} ${left} ${bottom} ${right}`;
|
|
8
|
+
}
|
package/lib/_utils/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export { call, keep, omit, flatten, getSlot, getVNodeChildren, keysOf, render, g
|
|
|
2
2
|
export type { MaybeArray } from './vue';
|
|
3
3
|
export { warn, warnOnce, throwError, smallerSize, largerSize, getTitleAttribute, isArrayShallowEqual } from './uzum';
|
|
4
4
|
export type { ExtractPublicPropTypes, ExtractInternalPropTypes, Mutable } from './uzum';
|
|
5
|
-
export { formatLength, color2Class, resolveSize } from './css';
|
|
5
|
+
export { formatLength, color2Class, resolveSize, rtlInset } from './css';
|
|
6
6
|
export { createKey } from './cssr';
|
|
7
7
|
export { isJsdom } from './env/is-jsdom';
|
|
8
8
|
export { isBrowser } from './env/is-browser';
|
package/lib/_utils/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.createStylesWithSingleColor = exports.markEventEffectPerformed = exports.eventEffectNotPerformed = exports.isBrowser = exports.isJsdom = exports.createKey = exports.resolveSize = exports.color2Class = exports.formatLength = exports.isArrayShallowEqual = exports.getTitleAttribute = exports.largerSize = exports.smallerSize = exports.throwError = exports.warnOnce = exports.warn = exports.Wrapper = exports.resolveWrappedSlotWithProps = exports.isNodeVShowFalse = exports.mergeEventHandlers = exports.isSlotEmpty = exports.resolveWrappedSlot = exports.resolveSlotWithProps = exports.resolveSlot = exports.createInjectionKey = exports.createRefSetter = exports.createDataKey = exports.getFirstSlotVNode = exports.render = exports.keysOf = exports.getVNodeChildren = exports.getSlot = exports.flatten = exports.omit = exports.keep = exports.call = void 0;
|
|
17
|
+
exports.createStylesWithSingleColor = exports.markEventEffectPerformed = exports.eventEffectNotPerformed = exports.isBrowser = exports.isJsdom = exports.createKey = exports.rtlInset = exports.resolveSize = exports.color2Class = exports.formatLength = exports.isArrayShallowEqual = exports.getTitleAttribute = exports.largerSize = exports.smallerSize = exports.throwError = exports.warnOnce = exports.warn = exports.Wrapper = exports.resolveWrappedSlotWithProps = exports.isNodeVShowFalse = exports.mergeEventHandlers = exports.isSlotEmpty = exports.resolveWrappedSlot = exports.resolveSlotWithProps = exports.resolveSlot = exports.createInjectionKey = exports.createRefSetter = exports.createDataKey = exports.getFirstSlotVNode = exports.render = exports.keysOf = exports.getVNodeChildren = exports.getSlot = exports.flatten = exports.omit = exports.keep = exports.call = void 0;
|
|
18
18
|
var vue_1 = require("./vue");
|
|
19
19
|
Object.defineProperty(exports, "call", { enumerable: true, get: function () { return vue_1.call; } });
|
|
20
20
|
Object.defineProperty(exports, "keep", { enumerable: true, get: function () { return vue_1.keep; } });
|
|
@@ -48,6 +48,7 @@ var css_1 = require("./css");
|
|
|
48
48
|
Object.defineProperty(exports, "formatLength", { enumerable: true, get: function () { return css_1.formatLength; } });
|
|
49
49
|
Object.defineProperty(exports, "color2Class", { enumerable: true, get: function () { return css_1.color2Class; } });
|
|
50
50
|
Object.defineProperty(exports, "resolveSize", { enumerable: true, get: function () { return css_1.resolveSize; } });
|
|
51
|
+
Object.defineProperty(exports, "rtlInset", { enumerable: true, get: function () { return css_1.rtlInset; } });
|
|
51
52
|
var cssr_1 = require("./cssr");
|
|
52
53
|
Object.defineProperty(exports, "createKey", { enumerable: true, get: function () { return cssr_1.createKey; } });
|
|
53
54
|
var is_jsdom_1 = require("./env/is-jsdom");
|
|
@@ -100,8 +100,16 @@ export declare const autoCompleteProps: {
|
|
|
100
100
|
loadingColor: string;
|
|
101
101
|
}, {
|
|
102
102
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
103
|
+
height: string;
|
|
104
|
+
width: string;
|
|
105
|
+
borderRadius: string;
|
|
103
106
|
color: string;
|
|
104
107
|
colorHover: string;
|
|
108
|
+
railInsetHorizontalBottom: string;
|
|
109
|
+
railInsetHorizontalTop: string;
|
|
110
|
+
railInsetVerticalRight: string;
|
|
111
|
+
railInsetVerticalLeft: string;
|
|
112
|
+
railColor: string;
|
|
105
113
|
}, any>;
|
|
106
114
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
107
115
|
iconSizeSmall: string;
|
|
@@ -225,8 +233,16 @@ export declare const autoCompleteProps: {
|
|
|
225
233
|
loadingColor: string;
|
|
226
234
|
}, {
|
|
227
235
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
236
|
+
height: string;
|
|
237
|
+
width: string;
|
|
238
|
+
borderRadius: string;
|
|
228
239
|
color: string;
|
|
229
240
|
colorHover: string;
|
|
241
|
+
railInsetHorizontalBottom: string;
|
|
242
|
+
railInsetHorizontalTop: string;
|
|
243
|
+
railInsetVerticalRight: string;
|
|
244
|
+
railInsetVerticalLeft: string;
|
|
245
|
+
railColor: string;
|
|
230
246
|
}, any>;
|
|
231
247
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
232
248
|
iconSizeSmall: string;
|
|
@@ -350,8 +366,16 @@ export declare const autoCompleteProps: {
|
|
|
350
366
|
loadingColor: string;
|
|
351
367
|
}, {
|
|
352
368
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
369
|
+
height: string;
|
|
370
|
+
width: string;
|
|
371
|
+
borderRadius: string;
|
|
353
372
|
color: string;
|
|
354
373
|
colorHover: string;
|
|
374
|
+
railInsetHorizontalBottom: string;
|
|
375
|
+
railInsetHorizontalTop: string;
|
|
376
|
+
railInsetVerticalRight: string;
|
|
377
|
+
railInsetVerticalLeft: string;
|
|
378
|
+
railColor: string;
|
|
355
379
|
}, any>;
|
|
356
380
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
357
381
|
iconSizeSmall: string;
|
|
@@ -533,8 +557,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
533
557
|
loadingColor: string;
|
|
534
558
|
}, {
|
|
535
559
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
560
|
+
height: string;
|
|
561
|
+
width: string;
|
|
562
|
+
borderRadius: string;
|
|
536
563
|
color: string;
|
|
537
564
|
colorHover: string;
|
|
565
|
+
railInsetHorizontalBottom: string;
|
|
566
|
+
railInsetHorizontalTop: string;
|
|
567
|
+
railInsetVerticalRight: string;
|
|
568
|
+
railInsetVerticalLeft: string;
|
|
569
|
+
railColor: string;
|
|
538
570
|
}, any>;
|
|
539
571
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
540
572
|
iconSizeSmall: string;
|
|
@@ -658,8 +690,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
658
690
|
loadingColor: string;
|
|
659
691
|
}, {
|
|
660
692
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
693
|
+
height: string;
|
|
694
|
+
width: string;
|
|
695
|
+
borderRadius: string;
|
|
661
696
|
color: string;
|
|
662
697
|
colorHover: string;
|
|
698
|
+
railInsetHorizontalBottom: string;
|
|
699
|
+
railInsetHorizontalTop: string;
|
|
700
|
+
railInsetVerticalRight: string;
|
|
701
|
+
railInsetVerticalLeft: string;
|
|
702
|
+
railColor: string;
|
|
663
703
|
}, any>;
|
|
664
704
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
665
705
|
iconSizeSmall: string;
|
|
@@ -783,8 +823,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
783
823
|
loadingColor: string;
|
|
784
824
|
}, {
|
|
785
825
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
826
|
+
height: string;
|
|
827
|
+
width: string;
|
|
828
|
+
borderRadius: string;
|
|
786
829
|
color: string;
|
|
787
830
|
colorHover: string;
|
|
831
|
+
railInsetHorizontalBottom: string;
|
|
832
|
+
railInsetHorizontalTop: string;
|
|
833
|
+
railInsetVerticalRight: string;
|
|
834
|
+
railInsetVerticalLeft: string;
|
|
835
|
+
railColor: string;
|
|
788
836
|
}, any>;
|
|
789
837
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
790
838
|
iconSizeSmall: string;
|
|
@@ -952,8 +1000,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
952
1000
|
loadingColor: string;
|
|
953
1001
|
}, {
|
|
954
1002
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
1003
|
+
height: string;
|
|
1004
|
+
width: string;
|
|
1005
|
+
borderRadius: string;
|
|
955
1006
|
color: string;
|
|
956
1007
|
colorHover: string;
|
|
1008
|
+
railInsetHorizontalBottom: string;
|
|
1009
|
+
railInsetHorizontalTop: string;
|
|
1010
|
+
railInsetVerticalRight: string;
|
|
1011
|
+
railInsetVerticalLeft: string;
|
|
1012
|
+
railColor: string;
|
|
957
1013
|
}, any>;
|
|
958
1014
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
959
1015
|
iconSizeSmall: string;
|
|
@@ -1044,8 +1100,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1044
1100
|
InternalSelectMenu?: {
|
|
1045
1101
|
peers?: {
|
|
1046
1102
|
Scrollbar?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Scrollbar", {
|
|
1103
|
+
height: string;
|
|
1104
|
+
width: string;
|
|
1105
|
+
borderRadius: string;
|
|
1047
1106
|
color: string;
|
|
1048
1107
|
colorHover: string;
|
|
1108
|
+
railInsetHorizontalBottom: string;
|
|
1109
|
+
railInsetHorizontalTop: string;
|
|
1110
|
+
railInsetVerticalRight: string;
|
|
1111
|
+
railInsetVerticalLeft: string;
|
|
1112
|
+
railColor: string;
|
|
1049
1113
|
}, any>> | undefined;
|
|
1050
1114
|
Empty?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Empty", {
|
|
1051
1115
|
iconSizeSmall: string;
|
|
@@ -1177,8 +1241,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1177
1241
|
loadingColor: string;
|
|
1178
1242
|
}, {
|
|
1179
1243
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
1244
|
+
height: string;
|
|
1245
|
+
width: string;
|
|
1246
|
+
borderRadius: string;
|
|
1180
1247
|
color: string;
|
|
1181
1248
|
colorHover: string;
|
|
1249
|
+
railInsetHorizontalBottom: string;
|
|
1250
|
+
railInsetHorizontalTop: string;
|
|
1251
|
+
railInsetVerticalRight: string;
|
|
1252
|
+
railInsetVerticalLeft: string;
|
|
1253
|
+
railColor: string;
|
|
1182
1254
|
}, any>;
|
|
1183
1255
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
1184
1256
|
iconSizeSmall: string;
|
|
@@ -1302,8 +1374,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1302
1374
|
loadingColor: string;
|
|
1303
1375
|
}, {
|
|
1304
1376
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
1377
|
+
height: string;
|
|
1378
|
+
width: string;
|
|
1379
|
+
borderRadius: string;
|
|
1305
1380
|
color: string;
|
|
1306
1381
|
colorHover: string;
|
|
1382
|
+
railInsetHorizontalBottom: string;
|
|
1383
|
+
railInsetHorizontalTop: string;
|
|
1384
|
+
railInsetVerticalRight: string;
|
|
1385
|
+
railInsetVerticalLeft: string;
|
|
1386
|
+
railColor: string;
|
|
1307
1387
|
}, any>;
|
|
1308
1388
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
1309
1389
|
iconSizeSmall: string;
|
|
@@ -1427,8 +1507,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1427
1507
|
loadingColor: string;
|
|
1428
1508
|
}, {
|
|
1429
1509
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
1510
|
+
height: string;
|
|
1511
|
+
width: string;
|
|
1512
|
+
borderRadius: string;
|
|
1430
1513
|
color: string;
|
|
1431
1514
|
colorHover: string;
|
|
1515
|
+
railInsetHorizontalBottom: string;
|
|
1516
|
+
railInsetHorizontalTop: string;
|
|
1517
|
+
railInsetVerticalRight: string;
|
|
1518
|
+
railInsetVerticalLeft: string;
|
|
1519
|
+
railColor: string;
|
|
1432
1520
|
}, any>;
|
|
1433
1521
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
1434
1522
|
iconSizeSmall: string;
|
|
@@ -39,8 +39,16 @@ declare const autoCompleteLight: import("../../_mixins").Theme<"AutoComplete", {
|
|
|
39
39
|
loadingColor: string;
|
|
40
40
|
}, {
|
|
41
41
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
42
|
+
height: string;
|
|
43
|
+
width: string;
|
|
44
|
+
borderRadius: string;
|
|
42
45
|
color: string;
|
|
43
46
|
colorHover: string;
|
|
47
|
+
railInsetHorizontalBottom: string;
|
|
48
|
+
railInsetHorizontalTop: string;
|
|
49
|
+
railInsetVerticalRight: string;
|
|
50
|
+
railInsetVerticalLeft: string;
|
|
51
|
+
railColor: string;
|
|
44
52
|
}, any>;
|
|
45
53
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
46
54
|
iconSizeSmall: string;
|
|
@@ -250,8 +250,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
250
250
|
}, any>>>;
|
|
251
251
|
}>>, {
|
|
252
252
|
readonly right: string | number;
|
|
253
|
-
readonly to: string | HTMLElement;
|
|
254
253
|
readonly bottom: string | number;
|
|
254
|
+
readonly to: string | HTMLElement;
|
|
255
255
|
readonly show: boolean | undefined;
|
|
256
256
|
readonly 'onUpdate:show': Function;
|
|
257
257
|
readonly visibilityHeight: number;
|
|
@@ -73,16 +73,24 @@ export declare const buttonProps: {
|
|
|
73
73
|
colorSecondary: string;
|
|
74
74
|
colorSecondaryHover: string;
|
|
75
75
|
colorSecondaryPressed: string;
|
|
76
|
+
colorSecondaryFocus: string;
|
|
77
|
+
colorSecondaryDisabled: string;
|
|
78
|
+
textColorSecondaryDisabled: string;
|
|
76
79
|
waveColorSecondary: string;
|
|
77
80
|
colorTertiary: string;
|
|
78
81
|
colorTertiaryHover: string;
|
|
79
82
|
colorTertiaryPressed: string;
|
|
83
|
+
colorTertiaryFocus: string;
|
|
80
84
|
colorTertiaryDisalbed: string;
|
|
81
85
|
waveColorTertiary: string;
|
|
82
86
|
textColorTextTertiary: string;
|
|
87
|
+
rippleColorTertiary: string;
|
|
83
88
|
colorQuaternary: string;
|
|
84
89
|
colorQuaternaryHover: string;
|
|
85
90
|
colorQuaternaryPressed: string;
|
|
91
|
+
colorQuaternaryFocus: string;
|
|
92
|
+
rippleColorQuaternary: string;
|
|
93
|
+
waveColorQuaternary: string;
|
|
86
94
|
color: string;
|
|
87
95
|
colorHover: string;
|
|
88
96
|
colorPressed: string;
|
|
@@ -284,16 +292,24 @@ export declare const buttonProps: {
|
|
|
284
292
|
colorSecondary: string;
|
|
285
293
|
colorSecondaryHover: string;
|
|
286
294
|
colorSecondaryPressed: string;
|
|
295
|
+
colorSecondaryFocus: string;
|
|
296
|
+
colorSecondaryDisabled: string;
|
|
297
|
+
textColorSecondaryDisabled: string;
|
|
287
298
|
waveColorSecondary: string;
|
|
288
299
|
colorTertiary: string;
|
|
289
300
|
colorTertiaryHover: string;
|
|
290
301
|
colorTertiaryPressed: string;
|
|
302
|
+
colorTertiaryFocus: string;
|
|
291
303
|
colorTertiaryDisalbed: string;
|
|
292
304
|
waveColorTertiary: string;
|
|
293
305
|
textColorTextTertiary: string;
|
|
306
|
+
rippleColorTertiary: string;
|
|
294
307
|
colorQuaternary: string;
|
|
295
308
|
colorQuaternaryHover: string;
|
|
296
309
|
colorQuaternaryPressed: string;
|
|
310
|
+
colorQuaternaryFocus: string;
|
|
311
|
+
rippleColorQuaternary: string;
|
|
312
|
+
waveColorQuaternary: string;
|
|
297
313
|
color: string;
|
|
298
314
|
colorHover: string;
|
|
299
315
|
colorPressed: string;
|
|
@@ -495,16 +511,24 @@ export declare const buttonProps: {
|
|
|
495
511
|
colorSecondary: string;
|
|
496
512
|
colorSecondaryHover: string;
|
|
497
513
|
colorSecondaryPressed: string;
|
|
514
|
+
colorSecondaryFocus: string;
|
|
515
|
+
colorSecondaryDisabled: string;
|
|
516
|
+
textColorSecondaryDisabled: string;
|
|
498
517
|
waveColorSecondary: string;
|
|
499
518
|
colorTertiary: string;
|
|
500
519
|
colorTertiaryHover: string;
|
|
501
520
|
colorTertiaryPressed: string;
|
|
521
|
+
colorTertiaryFocus: string;
|
|
502
522
|
colorTertiaryDisalbed: string;
|
|
503
523
|
waveColorTertiary: string;
|
|
504
524
|
textColorTextTertiary: string;
|
|
525
|
+
rippleColorTertiary: string;
|
|
505
526
|
colorQuaternary: string;
|
|
506
527
|
colorQuaternaryHover: string;
|
|
507
528
|
colorQuaternaryPressed: string;
|
|
529
|
+
colorQuaternaryFocus: string;
|
|
530
|
+
rippleColorQuaternary: string;
|
|
531
|
+
waveColorQuaternary: string;
|
|
508
532
|
color: string;
|
|
509
533
|
colorHover: string;
|
|
510
534
|
colorPressed: string;
|
|
@@ -759,16 +783,24 @@ declare const Button: import("vue").DefineComponent<{
|
|
|
759
783
|
colorSecondary: string;
|
|
760
784
|
colorSecondaryHover: string;
|
|
761
785
|
colorSecondaryPressed: string;
|
|
786
|
+
colorSecondaryFocus: string;
|
|
787
|
+
colorSecondaryDisabled: string;
|
|
788
|
+
textColorSecondaryDisabled: string;
|
|
762
789
|
waveColorSecondary: string;
|
|
763
790
|
colorTertiary: string;
|
|
764
791
|
colorTertiaryHover: string;
|
|
765
792
|
colorTertiaryPressed: string;
|
|
793
|
+
colorTertiaryFocus: string;
|
|
766
794
|
colorTertiaryDisalbed: string;
|
|
767
795
|
waveColorTertiary: string;
|
|
768
796
|
textColorTextTertiary: string;
|
|
797
|
+
rippleColorTertiary: string;
|
|
769
798
|
colorQuaternary: string;
|
|
770
799
|
colorQuaternaryHover: string;
|
|
771
800
|
colorQuaternaryPressed: string;
|
|
801
|
+
colorQuaternaryFocus: string;
|
|
802
|
+
rippleColorQuaternary: string;
|
|
803
|
+
waveColorQuaternary: string;
|
|
772
804
|
color: string;
|
|
773
805
|
colorHover: string;
|
|
774
806
|
colorPressed: string;
|
|
@@ -970,16 +1002,24 @@ declare const Button: import("vue").DefineComponent<{
|
|
|
970
1002
|
colorSecondary: string;
|
|
971
1003
|
colorSecondaryHover: string;
|
|
972
1004
|
colorSecondaryPressed: string;
|
|
1005
|
+
colorSecondaryFocus: string;
|
|
1006
|
+
colorSecondaryDisabled: string;
|
|
1007
|
+
textColorSecondaryDisabled: string;
|
|
973
1008
|
waveColorSecondary: string;
|
|
974
1009
|
colorTertiary: string;
|
|
975
1010
|
colorTertiaryHover: string;
|
|
976
1011
|
colorTertiaryPressed: string;
|
|
1012
|
+
colorTertiaryFocus: string;
|
|
977
1013
|
colorTertiaryDisalbed: string;
|
|
978
1014
|
waveColorTertiary: string;
|
|
979
1015
|
textColorTextTertiary: string;
|
|
1016
|
+
rippleColorTertiary: string;
|
|
980
1017
|
colorQuaternary: string;
|
|
981
1018
|
colorQuaternaryHover: string;
|
|
982
1019
|
colorQuaternaryPressed: string;
|
|
1020
|
+
colorQuaternaryFocus: string;
|
|
1021
|
+
rippleColorQuaternary: string;
|
|
1022
|
+
waveColorQuaternary: string;
|
|
983
1023
|
color: string;
|
|
984
1024
|
colorHover: string;
|
|
985
1025
|
colorPressed: string;
|
|
@@ -1181,16 +1221,24 @@ declare const Button: import("vue").DefineComponent<{
|
|
|
1181
1221
|
colorSecondary: string;
|
|
1182
1222
|
colorSecondaryHover: string;
|
|
1183
1223
|
colorSecondaryPressed: string;
|
|
1224
|
+
colorSecondaryFocus: string;
|
|
1225
|
+
colorSecondaryDisabled: string;
|
|
1226
|
+
textColorSecondaryDisabled: string;
|
|
1184
1227
|
waveColorSecondary: string;
|
|
1185
1228
|
colorTertiary: string;
|
|
1186
1229
|
colorTertiaryHover: string;
|
|
1187
1230
|
colorTertiaryPressed: string;
|
|
1231
|
+
colorTertiaryFocus: string;
|
|
1188
1232
|
colorTertiaryDisalbed: string;
|
|
1189
1233
|
waveColorTertiary: string;
|
|
1190
1234
|
textColorTextTertiary: string;
|
|
1235
|
+
rippleColorTertiary: string;
|
|
1191
1236
|
colorQuaternary: string;
|
|
1192
1237
|
colorQuaternaryHover: string;
|
|
1193
1238
|
colorQuaternaryPressed: string;
|
|
1239
|
+
colorQuaternaryFocus: string;
|
|
1240
|
+
rippleColorQuaternary: string;
|
|
1241
|
+
waveColorQuaternary: string;
|
|
1194
1242
|
color: string;
|
|
1195
1243
|
colorHover: string;
|
|
1196
1244
|
colorPressed: string;
|
|
@@ -1503,16 +1551,24 @@ declare const Button: import("vue").DefineComponent<{
|
|
|
1503
1551
|
colorSecondary: string;
|
|
1504
1552
|
colorSecondaryHover: string;
|
|
1505
1553
|
colorSecondaryPressed: string;
|
|
1554
|
+
colorSecondaryFocus: string;
|
|
1555
|
+
colorSecondaryDisabled: string;
|
|
1556
|
+
textColorSecondaryDisabled: string;
|
|
1506
1557
|
waveColorSecondary: string;
|
|
1507
1558
|
colorTertiary: string;
|
|
1508
1559
|
colorTertiaryHover: string;
|
|
1509
1560
|
colorTertiaryPressed: string;
|
|
1561
|
+
colorTertiaryFocus: string;
|
|
1510
1562
|
colorTertiaryDisalbed: string;
|
|
1511
1563
|
waveColorTertiary: string;
|
|
1512
1564
|
textColorTextTertiary: string;
|
|
1565
|
+
rippleColorTertiary: string;
|
|
1513
1566
|
colorQuaternary: string;
|
|
1514
1567
|
colorQuaternaryHover: string;
|
|
1515
1568
|
colorQuaternaryPressed: string;
|
|
1569
|
+
colorQuaternaryFocus: string;
|
|
1570
|
+
rippleColorQuaternary: string;
|
|
1571
|
+
waveColorQuaternary: string;
|
|
1516
1572
|
color: string;
|
|
1517
1573
|
colorHover: string;
|
|
1518
1574
|
colorPressed: string;
|
|
@@ -1714,16 +1770,24 @@ declare const Button: import("vue").DefineComponent<{
|
|
|
1714
1770
|
colorSecondary: string;
|
|
1715
1771
|
colorSecondaryHover: string;
|
|
1716
1772
|
colorSecondaryPressed: string;
|
|
1773
|
+
colorSecondaryFocus: string;
|
|
1774
|
+
colorSecondaryDisabled: string;
|
|
1775
|
+
textColorSecondaryDisabled: string;
|
|
1717
1776
|
waveColorSecondary: string;
|
|
1718
1777
|
colorTertiary: string;
|
|
1719
1778
|
colorTertiaryHover: string;
|
|
1720
1779
|
colorTertiaryPressed: string;
|
|
1780
|
+
colorTertiaryFocus: string;
|
|
1721
1781
|
colorTertiaryDisalbed: string;
|
|
1722
1782
|
waveColorTertiary: string;
|
|
1723
1783
|
textColorTextTertiary: string;
|
|
1784
|
+
rippleColorTertiary: string;
|
|
1724
1785
|
colorQuaternary: string;
|
|
1725
1786
|
colorQuaternaryHover: string;
|
|
1726
1787
|
colorQuaternaryPressed: string;
|
|
1788
|
+
colorQuaternaryFocus: string;
|
|
1789
|
+
rippleColorQuaternary: string;
|
|
1790
|
+
waveColorQuaternary: string;
|
|
1727
1791
|
color: string;
|
|
1728
1792
|
colorHover: string;
|
|
1729
1793
|
colorPressed: string;
|
|
@@ -1925,16 +1989,24 @@ declare const Button: import("vue").DefineComponent<{
|
|
|
1925
1989
|
colorSecondary: string;
|
|
1926
1990
|
colorSecondaryHover: string;
|
|
1927
1991
|
colorSecondaryPressed: string;
|
|
1992
|
+
colorSecondaryFocus: string;
|
|
1993
|
+
colorSecondaryDisabled: string;
|
|
1994
|
+
textColorSecondaryDisabled: string;
|
|
1928
1995
|
waveColorSecondary: string;
|
|
1929
1996
|
colorTertiary: string;
|
|
1930
1997
|
colorTertiaryHover: string;
|
|
1931
1998
|
colorTertiaryPressed: string;
|
|
1999
|
+
colorTertiaryFocus: string;
|
|
1932
2000
|
colorTertiaryDisalbed: string;
|
|
1933
2001
|
waveColorTertiary: string;
|
|
1934
2002
|
textColorTextTertiary: string;
|
|
2003
|
+
rippleColorTertiary: string;
|
|
1935
2004
|
colorQuaternary: string;
|
|
1936
2005
|
colorQuaternaryHover: string;
|
|
1937
2006
|
colorQuaternaryPressed: string;
|
|
2007
|
+
colorQuaternaryFocus: string;
|
|
2008
|
+
rippleColorQuaternary: string;
|
|
2009
|
+
waveColorQuaternary: string;
|
|
1938
2010
|
color: string;
|
|
1939
2011
|
colorHover: string;
|
|
1940
2012
|
colorPressed: string;
|
package/lib/button/src/Button.js
CHANGED
|
@@ -139,6 +139,7 @@ const Button = (0, vue_1.defineComponent)({
|
|
|
139
139
|
const { inlineThemeDisabled, mergedClsPrefixRef, mergedRtlRef } = (0, _mixins_1.useConfig)(props);
|
|
140
140
|
const themeRef = (0, _mixins_1.useTheme)('Button', '-button', index_cssr_1.default, styles_1.buttonLight, props, mergedClsPrefixRef);
|
|
141
141
|
const rtlEnabledRef = (0, use_rtl_1.useRtl)('Button', mergedRtlRef, mergedClsPrefixRef);
|
|
142
|
+
// eslint-disable-next-line complexity
|
|
142
143
|
const cssVarsRef = (0, vue_1.computed)(() => {
|
|
143
144
|
const theme = themeRef.value;
|
|
144
145
|
const { common: { cubicBezierEaseInOut, cubicBezierEaseOut }, self } = theme;
|
|
@@ -187,7 +188,7 @@ const Button = (0, vue_1.defineComponent)({
|
|
|
187
188
|
: self[(0, _utils_1.createKey)('textColorTextPressed', mergedType)],
|
|
188
189
|
'--u-text-color-focus': propTextColor
|
|
189
190
|
? (0, index_1.createHoverColor)(propTextColor)
|
|
190
|
-
: self[(0, _utils_1.createKey)('
|
|
191
|
+
: self[(0, _utils_1.createKey)('textColorTextFocus', mergedType)],
|
|
191
192
|
'--u-text-color-disabled': propTextColor ||
|
|
192
193
|
self[(0, _utils_1.createKey)('textColorTextDisabled', mergedType)]
|
|
193
194
|
};
|
|
@@ -211,7 +212,7 @@ const Button = (0, vue_1.defineComponent)({
|
|
|
211
212
|
: self[(0, _utils_1.createKey)('textColorGhostPressed', mergedType)],
|
|
212
213
|
'--u-text-color-focus': mergedTextColor
|
|
213
214
|
? (0, index_1.createHoverColor)(mergedTextColor)
|
|
214
|
-
: self[(0, _utils_1.createKey)('
|
|
215
|
+
: self[(0, _utils_1.createKey)('textColorGhostFocus', mergedType)],
|
|
215
216
|
'--u-text-color-disabled': mergedTextColor ||
|
|
216
217
|
self[(0, _utils_1.createKey)('textColorGhostDisabled', mergedType)]
|
|
217
218
|
};
|
|
@@ -244,7 +245,7 @@ const Button = (0, vue_1.defineComponent)({
|
|
|
244
245
|
? (0, seemly_1.changeColor)(mergedTextColor, {
|
|
245
246
|
alpha: Number(self.colorOpacitySecondaryHover)
|
|
246
247
|
})
|
|
247
|
-
: self.
|
|
248
|
+
: self.colorSecondaryFocus,
|
|
248
249
|
'--u-color-focus-visible': isColoredType
|
|
249
250
|
? (0, seemly_1.changeColor)(mergedTextColor, {
|
|
250
251
|
alpha: +self.colorOpacitySecondaryFocus
|
|
@@ -256,7 +257,9 @@ const Button = (0, vue_1.defineComponent)({
|
|
|
256
257
|
'--u-text-color-hover': mergedTextColor,
|
|
257
258
|
'--u-text-color-pressed': mergedTextColor,
|
|
258
259
|
'--u-text-color-focus': mergedTextColor,
|
|
259
|
-
'--u-text-color-disabled':
|
|
260
|
+
'--u-text-color-disabled': isColoredType
|
|
261
|
+
? mergedTextColor
|
|
262
|
+
: self.textColorSecondaryDisabled
|
|
260
263
|
};
|
|
261
264
|
}
|
|
262
265
|
else if (tertiary || quaternary) {
|
|
@@ -266,7 +269,7 @@ const Button = (0, vue_1.defineComponent)({
|
|
|
266
269
|
? self.textColorTertiary
|
|
267
270
|
: self[(0, _utils_1.createKey)('color', mergedType)];
|
|
268
271
|
const mergedColor = color || typeColor;
|
|
269
|
-
colorProps['--u-
|
|
272
|
+
colorProps['--u-text-color'] = mergedColor;
|
|
270
273
|
colorProps['--u-text-color'] = mergedColor;
|
|
271
274
|
colorProps['--u-text-color-hover'] = mergedColor;
|
|
272
275
|
colorProps['--u-text-color-pressed'] = mergedColor;
|
|
@@ -276,7 +279,7 @@ const Button = (0, vue_1.defineComponent)({
|
|
|
276
279
|
colorProps['--u-color'] = self.colorTertiary;
|
|
277
280
|
colorProps['--u-color-hover'] = self.colorTertiaryHover;
|
|
278
281
|
colorProps['--u-color-pressed'] = self.colorTertiaryPressed;
|
|
279
|
-
colorProps['--u-color-focus'] = self.
|
|
282
|
+
colorProps['--u-color-focus'] = self.colorTertiaryFocus;
|
|
280
283
|
colorProps['--u-color-disabled'] = self.colorTertiaryDisalbed;
|
|
281
284
|
colorProps['--u-ripple-color'] = self.colorTertiary;
|
|
282
285
|
colorProps['--u-text-color'] = self.textColorTextTertiary;
|
|
@@ -285,13 +288,16 @@ const Button = (0, vue_1.defineComponent)({
|
|
|
285
288
|
colorProps['--u-text-color-focus'] = self.textColorTextTertiary;
|
|
286
289
|
colorProps['--u-text-color-disabled'] = self.textColorTextTertiary;
|
|
287
290
|
colorProps['--u-color-focus-visible'] = self.waveColorTertiary;
|
|
291
|
+
colorProps['--u-ripple-color'] = self.rippleColorTertiary;
|
|
288
292
|
}
|
|
289
293
|
else {
|
|
290
294
|
colorProps['--u-color'] = self.colorQuaternary;
|
|
291
295
|
colorProps['--u-color-hover'] = self.colorQuaternaryHover;
|
|
292
296
|
colorProps['--u-color-pressed'] = self.colorQuaternaryPressed;
|
|
293
|
-
colorProps['--u-color-focus'] = self.
|
|
297
|
+
colorProps['--u-color-focus'] = self.colorQuaternaryFocus;
|
|
294
298
|
colorProps['--u-color-disabled'] = self.colorQuaternary;
|
|
299
|
+
colorProps['--u-ripple-color'] = self.rippleColorQuaternary;
|
|
300
|
+
colorProps['--u-color-focus-visible'] = self.waveColorQuaternary;
|
|
295
301
|
}
|
|
296
302
|
}
|
|
297
303
|
else {
|
|
@@ -188,8 +188,7 @@ exports.default = (0, cssr_1.c)([(0, cssr_1.cB)('button', `
|
|
|
188
188
|
`), (0, cssr_1.cM)('dashed', [(0, cssr_1.cE)('border, state-border', {
|
|
189
189
|
borderStyle: 'dashed !important'
|
|
190
190
|
})]), (0, cssr_1.cM)('disabled', {
|
|
191
|
-
cursor: 'not-allowed'
|
|
192
|
-
opacity: 'var(--u-opacity-disabled)'
|
|
191
|
+
cursor: 'not-allowed'
|
|
193
192
|
})]), (0, cssr_1.c)('@keyframes button-wave-spread', {
|
|
194
193
|
from: {
|
|
195
194
|
boxShadow: '0 0 0.5px 0 var(--u-ripple-color)'
|
|
@@ -21,16 +21,24 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
21
21
|
colorSecondary: string;
|
|
22
22
|
colorSecondaryHover: string;
|
|
23
23
|
colorSecondaryPressed: string;
|
|
24
|
+
colorSecondaryFocus: string;
|
|
25
|
+
colorSecondaryDisabled: string;
|
|
26
|
+
textColorSecondaryDisabled: string;
|
|
24
27
|
waveColorSecondary: string;
|
|
25
28
|
colorTertiary: string;
|
|
26
29
|
colorTertiaryHover: string;
|
|
27
30
|
colorTertiaryPressed: string;
|
|
31
|
+
colorTertiaryFocus: string;
|
|
28
32
|
colorTertiaryDisalbed: string;
|
|
29
33
|
waveColorTertiary: string;
|
|
30
34
|
textColorTextTertiary: string;
|
|
35
|
+
rippleColorTertiary: string;
|
|
31
36
|
colorQuaternary: string;
|
|
32
37
|
colorQuaternaryHover: string;
|
|
33
38
|
colorQuaternaryPressed: string;
|
|
39
|
+
colorQuaternaryFocus: string;
|
|
40
|
+
rippleColorQuaternary: string;
|
|
41
|
+
waveColorQuaternary: string;
|
|
34
42
|
color: string;
|
|
35
43
|
colorHover: string;
|
|
36
44
|
colorPressed: string;
|