naive-ui 2.21.0 → 2.21.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/es/_internal/scrollbar/src/ScrollBar.d.ts +1 -0
- package/es/_internal/scrollbar/src/ScrollBar.js +9 -4
- package/es/_internal/select-menu/src/SelectMenu.d.ts +1 -0
- package/es/_internal/selection/src/Selection.d.ts +1 -0
- package/es/_styles/common/dark.js +2 -1
- package/es/_styles/common/light.d.ts +1 -0
- package/es/_styles/common/light.js +1 -1
- package/es/alert/src/Alert.d.ts +1 -0
- package/es/auto-complete/src/AutoComplete.d.ts +1 -0
- package/es/auto-complete/src/AutoComplete.js +4 -1
- package/es/button/src/Button.d.ts +27 -27
- package/es/button/src/Button.js +4 -4
- package/es/button/styles/dark.js +3 -3
- package/es/button/styles/light.d.ts +3 -3
- package/es/button/styles/light.js +1 -1
- package/es/calendar/src/Calendar.d.ts +32 -30
- package/es/calendar/styles/light.d.ts +3 -3
- package/es/card/src/Card.d.ts +1 -0
- package/es/cascader/src/Cascader.d.ts +1 -0
- package/es/cascader/src/CascaderOption.d.ts +1 -0
- package/es/cascader/src/CascaderSelectMenu.d.ts +1 -0
- package/es/cascader/src/CascaderSubmenu.d.ts +1 -0
- package/es/checkbox/src/Checkbox.d.ts +1 -0
- package/es/collapse/src/Collapse.d.ts +1 -0
- package/es/color-picker/src/ColorInputUnit.d.ts +4 -3
- package/es/color-picker/src/ColorPicker.d.ts +27 -27
- package/es/color-picker/styles/light.d.ts +3 -3
- package/es/config-provider/src/ConfigProvider.d.ts +3 -0
- package/es/data-table/src/DataTable.d.ts +31 -30
- package/es/data-table/src/DataTable.js +2 -3
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +4 -3
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +5 -4
- package/es/data-table/src/TableParts/Body.d.ts +4 -3
- package/es/data-table/src/TableParts/Body.js +20 -20
- package/es/data-table/src/TableParts/Cell.d.ts +8 -6
- package/es/data-table/src/TableParts/Header.d.ts +4 -3
- package/es/data-table/src/styles/index.cssr.js +7 -11
- package/es/data-table/src/use-table-data.js +4 -3
- package/es/data-table/styles/light.d.ts +3 -3
- package/es/data-table/styles/light.js +4 -4
- package/es/date-picker/src/DatePicker.d.ts +65 -64
- package/es/date-picker/src/DatePicker.js +15 -11
- package/es/date-picker/src/panel/date.d.ts +12 -10
- package/es/date-picker/src/panel/daterange.d.ts +13 -11
- package/es/date-picker/src/panel/datetime.d.ts +12 -10
- package/es/date-picker/src/panel/datetimerange.d.ts +13 -11
- package/es/date-picker/src/panel/month.d.ts +12 -10
- package/es/date-picker/src/panel/use-calendar.d.ts +12 -10
- package/es/date-picker/src/panel/use-calendar.js +2 -0
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +13 -11
- package/es/date-picker/src/panel/use-dual-calendar.js +4 -0
- package/es/date-picker/src/panel/use-panel-common.d.ts +11 -9
- package/es/date-picker/styles/light.d.ts +6 -6
- package/es/dialog/src/Dialog.d.ts +22 -21
- package/es/dialog/src/styles/index.cssr.js +1 -0
- package/es/dialog/styles/light.d.ts +3 -3
- package/es/drawer/src/Drawer.d.ts +1 -0
- package/es/drawer/src/DrawerBodyWrapper.d.ts +1 -0
- package/es/drawer/src/DrawerContent.d.ts +1 -0
- package/es/dropdown/src/Dropdown.d.ts +6 -5
- package/es/dropdown/src/DropdownGroupHeader.js +3 -3
- package/es/dropdown/src/DropdownOption.js +6 -5
- package/es/dropdown/src/utils.d.ts +0 -1
- package/es/dropdown/src/utils.js +0 -10
- package/es/dynamic-input/src/DynamicInput.d.ts +31 -30
- package/es/dynamic-input/src/InputPreset.d.ts +4 -3
- package/es/dynamic-input/src/PairPreset.d.ts +4 -3
- package/es/dynamic-input/styles/light.d.ts +3 -3
- package/es/dynamic-tags/src/DynamicTags.d.ts +31 -30
- package/es/dynamic-tags/styles/light.d.ts +3 -3
- package/es/element/index.d.ts +1 -0
- package/es/element/index.js +1 -0
- package/es/ellipsis/src/Ellipsis.d.ts +1 -0
- package/es/form/src/interface.d.ts +5 -4
- package/es/image/src/Image.d.ts +25 -16
- package/es/image/src/Image.js +33 -5
- package/es/image/src/ImageGroup.js +2 -2
- package/es/image/src/ImagePreview.d.ts +1 -0
- package/es/image/src/ImagePreview.js +51 -4
- package/es/image/src/interface.d.ts +6 -0
- package/es/image/src/interface.js +1 -0
- package/es/image/src/styles/index.cssr.js +4 -3
- package/es/input/src/Input.d.ts +1 -0
- package/es/input/src/styles/input.cssr.js +2 -1
- package/es/input-number/src/InputNumber.d.ts +65 -30
- package/es/input-number/src/InputNumber.js +26 -7
- package/es/input-number/src/utils.d.ts +1 -0
- package/es/input-number/src/utils.js +4 -0
- package/es/input-number/styles/light.d.ts +3 -3
- package/es/layout/src/Layout.d.ts +2 -0
- package/es/layout/src/LayoutContent.d.ts +1 -0
- package/es/layout/src/LayoutSider.d.ts +1 -0
- package/es/locales/common/deDE.js +2 -0
- package/es/locales/common/enUS.d.ts +1 -0
- package/es/locales/common/enUS.js +1 -0
- package/es/locales/common/idID.d.ts +1 -0
- package/es/locales/common/idID.js +2 -0
- package/es/locales/common/jaJP.js +2 -0
- package/es/locales/common/nbNO.js +2 -0
- package/es/locales/common/ruRU.js +2 -0
- package/es/locales/common/ukUA.js +2 -0
- package/es/locales/common/zhCN.js +1 -0
- package/es/log/src/Log.d.ts +7 -25
- package/es/log/src/Log.js +2 -11
- package/es/log/src/LogLine.d.ts +1 -0
- package/es/log/src/LogLine.js +12 -10
- package/es/mention/src/Mention.d.ts +1 -0
- package/es/menu/src/Menu.d.ts +1 -0
- package/es/menu/src/MenuOption.d.ts +1 -0
- package/es/modal/src/BodyWrapper.d.ts +7 -6
- package/es/modal/src/Modal.d.ts +37 -37
- package/es/modal/styles/light.d.ts +3 -3
- package/es/notification/src/NotificationContainer.d.ts +8 -0
- package/es/notification/src/NotificationContainer.js +7 -2
- package/es/notification/src/NotificationProvider.d.ts +17 -0
- package/es/notification/src/NotificationProvider.js +38 -3
- package/es/notification/src/styles/index.cssr.d.ts +2 -1
- package/es/notification/src/styles/index.cssr.js +41 -12
- package/es/pagination/src/Pagination.d.ts +1 -0
- package/es/popconfirm/src/Popconfirm.d.ts +36 -35
- package/es/popconfirm/styles/light.d.ts +3 -3
- package/es/popover/src/Popover.d.ts +6 -6
- package/es/popover/src/Popover.js +2 -5
- package/es/popover/src/PopoverBody.d.ts +5 -5
- package/es/popover/src/PopoverBody.js +2 -1
- package/es/popover/src/styles/index.cssr.js +0 -1
- package/es/popselect/src/Popselect.d.ts +6 -5
- package/es/popselect/src/PopselectPanel.d.ts +1 -0
- package/es/select/src/Select.d.ts +1 -0
- package/es/slider/src/Slider.d.ts +1 -0
- package/es/slider/src/Slider.js +70 -54
- package/es/switch/src/Switch.d.ts +16 -1
- package/es/switch/src/Switch.js +17 -4
- package/es/switch/src/styles/index.cssr.js +1 -1
- package/es/table/styles/light.js +2 -2
- package/es/theme-editor/src/ThemeEditor.d.ts +1 -0
- package/es/theme-editor/src/ThemeEditor.js +9 -2
- package/es/time-picker/src/Panel.d.ts +4 -3
- package/es/time-picker/src/TimePicker.d.ts +31 -30
- package/es/time-picker/styles/light.d.ts +3 -3
- package/es/tooltip/src/Tooltip.d.ts +6 -5
- package/es/transfer/src/Transfer.d.ts +31 -30
- package/es/transfer/src/TransferFilter.d.ts +4 -3
- package/es/transfer/src/TransferList.d.ts +4 -3
- package/es/transfer/src/TransferListItem.d.ts +4 -3
- package/es/transfer/styles/light.d.ts +3 -3
- package/es/tree/src/Tree.d.ts +9 -4
- package/es/tree/src/Tree.js +32 -6
- package/es/tree/src/TreeNodeCheckbox.d.ts +1 -0
- package/es/tree-select/src/TreeSelect.d.ts +1 -0
- package/es/upload/index.d.ts +1 -2
- package/es/upload/src/Upload.d.ts +49 -39
- package/es/upload/src/Upload.js +102 -39
- package/es/upload/src/UploadFile.d.ts +5 -4
- package/es/upload/src/UploadFileList.js +4 -2
- package/es/upload/src/UploadProgress.d.ts +4 -3
- package/es/upload/src/interface.d.ts +15 -1
- package/es/upload/src/styles/index.cssr.js +2 -3
- package/es/upload/styles/light.d.ts +3 -3
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/_internal/scrollbar/src/ScrollBar.d.ts +1 -0
- package/lib/_internal/scrollbar/src/ScrollBar.js +9 -4
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +1 -0
- package/lib/_internal/selection/src/Selection.d.ts +1 -0
- package/lib/_styles/common/dark.js +2 -1
- package/lib/_styles/common/light.d.ts +1 -0
- package/lib/_styles/common/light.js +1 -1
- package/lib/alert/src/Alert.d.ts +1 -0
- package/lib/auto-complete/src/AutoComplete.d.ts +1 -0
- package/lib/auto-complete/src/AutoComplete.js +4 -1
- package/lib/button/src/Button.d.ts +27 -27
- package/lib/button/src/Button.js +4 -4
- package/lib/button/styles/dark.js +3 -3
- package/lib/button/styles/light.d.ts +3 -3
- package/lib/button/styles/light.js +1 -1
- package/lib/calendar/src/Calendar.d.ts +32 -30
- package/lib/calendar/styles/light.d.ts +3 -3
- package/lib/card/src/Card.d.ts +1 -0
- package/lib/cascader/src/Cascader.d.ts +1 -0
- package/lib/cascader/src/CascaderOption.d.ts +1 -0
- package/lib/cascader/src/CascaderSelectMenu.d.ts +1 -0
- package/lib/cascader/src/CascaderSubmenu.d.ts +1 -0
- package/lib/checkbox/src/Checkbox.d.ts +1 -0
- package/lib/collapse/src/Collapse.d.ts +1 -0
- package/lib/color-picker/src/ColorInputUnit.d.ts +4 -3
- package/lib/color-picker/src/ColorPicker.d.ts +27 -27
- package/lib/color-picker/styles/light.d.ts +3 -3
- package/lib/config-provider/src/ConfigProvider.d.ts +3 -0
- package/lib/data-table/src/DataTable.d.ts +31 -30
- package/lib/data-table/src/DataTable.js +2 -3
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +4 -3
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +5 -4
- package/lib/data-table/src/TableParts/Body.d.ts +4 -3
- package/lib/data-table/src/TableParts/Body.js +20 -20
- package/lib/data-table/src/TableParts/Cell.d.ts +8 -6
- package/lib/data-table/src/TableParts/Header.d.ts +4 -3
- package/lib/data-table/src/styles/index.cssr.js +7 -11
- package/lib/data-table/src/use-table-data.js +4 -3
- package/lib/data-table/styles/light.d.ts +3 -3
- package/lib/data-table/styles/light.js +4 -4
- package/lib/date-picker/src/DatePicker.d.ts +65 -64
- package/lib/date-picker/src/DatePicker.js +15 -11
- package/lib/date-picker/src/panel/date.d.ts +12 -10
- package/lib/date-picker/src/panel/daterange.d.ts +13 -11
- package/lib/date-picker/src/panel/datetime.d.ts +12 -10
- package/lib/date-picker/src/panel/datetimerange.d.ts +13 -11
- package/lib/date-picker/src/panel/month.d.ts +12 -10
- package/lib/date-picker/src/panel/use-calendar.d.ts +12 -10
- package/lib/date-picker/src/panel/use-calendar.js +2 -0
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +13 -11
- package/lib/date-picker/src/panel/use-dual-calendar.js +4 -0
- package/lib/date-picker/src/panel/use-panel-common.d.ts +11 -9
- package/lib/date-picker/styles/light.d.ts +6 -6
- package/lib/dialog/src/Dialog.d.ts +22 -21
- package/lib/dialog/src/styles/index.cssr.js +1 -0
- package/lib/dialog/styles/light.d.ts +3 -3
- package/lib/drawer/src/Drawer.d.ts +1 -0
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +1 -0
- package/lib/drawer/src/DrawerContent.d.ts +1 -0
- package/lib/dropdown/src/Dropdown.d.ts +6 -5
- package/lib/dropdown/src/DropdownGroupHeader.js +3 -3
- package/lib/dropdown/src/DropdownOption.js +5 -4
- package/lib/dropdown/src/utils.d.ts +0 -1
- package/lib/dropdown/src/utils.js +1 -12
- package/lib/dynamic-input/src/DynamicInput.d.ts +31 -30
- package/lib/dynamic-input/src/InputPreset.d.ts +4 -3
- package/lib/dynamic-input/src/PairPreset.d.ts +4 -3
- package/lib/dynamic-input/styles/light.d.ts +3 -3
- package/lib/dynamic-tags/src/DynamicTags.d.ts +31 -30
- package/lib/dynamic-tags/styles/light.d.ts +3 -3
- package/lib/element/index.d.ts +1 -0
- package/lib/element/index.js +3 -1
- package/lib/ellipsis/src/Ellipsis.d.ts +1 -0
- package/lib/form/src/interface.d.ts +5 -4
- package/lib/image/src/Image.d.ts +25 -16
- package/lib/image/src/Image.js +32 -4
- package/lib/image/src/ImageGroup.js +2 -2
- package/lib/image/src/ImagePreview.d.ts +1 -0
- package/lib/image/src/ImagePreview.js +51 -4
- package/lib/image/src/interface.d.ts +6 -0
- package/lib/image/src/interface.js +2 -0
- package/lib/image/src/styles/index.cssr.js +3 -2
- package/lib/input/src/Input.d.ts +1 -0
- package/lib/input/src/styles/input.cssr.js +2 -1
- package/lib/input-number/src/InputNumber.d.ts +65 -30
- package/lib/input-number/src/InputNumber.js +25 -6
- package/lib/input-number/src/utils.d.ts +1 -0
- package/lib/input-number/src/utils.js +6 -1
- package/lib/input-number/styles/light.d.ts +3 -3
- package/lib/layout/src/Layout.d.ts +2 -0
- package/lib/layout/src/LayoutContent.d.ts +1 -0
- package/lib/layout/src/LayoutSider.d.ts +1 -0
- package/lib/locales/common/deDE.js +2 -0
- package/lib/locales/common/enUS.d.ts +1 -0
- package/lib/locales/common/enUS.js +1 -0
- package/lib/locales/common/idID.d.ts +1 -0
- package/lib/locales/common/idID.js +2 -0
- package/lib/locales/common/jaJP.js +2 -0
- package/lib/locales/common/nbNO.js +2 -0
- package/lib/locales/common/ruRU.js +2 -0
- package/lib/locales/common/ukUA.js +2 -0
- package/lib/locales/common/zhCN.js +1 -0
- package/lib/log/src/Log.d.ts +7 -25
- package/lib/log/src/Log.js +2 -11
- package/lib/log/src/LogLine.d.ts +1 -0
- package/lib/log/src/LogLine.js +11 -9
- package/lib/mention/src/Mention.d.ts +1 -0
- package/lib/menu/src/Menu.d.ts +1 -0
- package/lib/menu/src/MenuOption.d.ts +1 -0
- package/lib/modal/src/BodyWrapper.d.ts +7 -6
- package/lib/modal/src/Modal.d.ts +37 -37
- package/lib/modal/styles/light.d.ts +3 -3
- package/lib/notification/src/NotificationContainer.d.ts +8 -0
- package/lib/notification/src/NotificationContainer.js +7 -2
- package/lib/notification/src/NotificationProvider.d.ts +17 -0
- package/lib/notification/src/NotificationProvider.js +38 -3
- package/lib/notification/src/styles/index.cssr.d.ts +2 -1
- package/lib/notification/src/styles/index.cssr.js +41 -12
- package/lib/pagination/src/Pagination.d.ts +1 -0
- package/lib/popconfirm/src/Popconfirm.d.ts +36 -35
- package/lib/popconfirm/styles/light.d.ts +3 -3
- package/lib/popover/src/Popover.d.ts +6 -6
- package/lib/popover/src/Popover.js +2 -5
- package/lib/popover/src/PopoverBody.d.ts +5 -5
- package/lib/popover/src/PopoverBody.js +2 -1
- package/lib/popover/src/styles/index.cssr.js +0 -1
- package/lib/popselect/src/Popselect.d.ts +6 -5
- package/lib/popselect/src/PopselectPanel.d.ts +1 -0
- package/lib/select/src/Select.d.ts +1 -0
- package/lib/slider/src/Slider.d.ts +1 -0
- package/lib/slider/src/Slider.js +70 -54
- package/lib/switch/src/Switch.d.ts +16 -1
- package/lib/switch/src/Switch.js +17 -4
- package/lib/switch/src/styles/index.cssr.js +1 -1
- package/lib/table/styles/light.js +2 -2
- package/lib/theme-editor/src/ThemeEditor.d.ts +1 -0
- package/lib/theme-editor/src/ThemeEditor.js +9 -2
- package/lib/time-picker/src/Panel.d.ts +4 -3
- package/lib/time-picker/src/TimePicker.d.ts +31 -30
- package/lib/time-picker/styles/light.d.ts +3 -3
- package/lib/tooltip/src/Tooltip.d.ts +6 -5
- package/lib/transfer/src/Transfer.d.ts +31 -30
- package/lib/transfer/src/TransferFilter.d.ts +4 -3
- package/lib/transfer/src/TransferList.d.ts +4 -3
- package/lib/transfer/src/TransferListItem.d.ts +4 -3
- package/lib/transfer/styles/light.d.ts +3 -3
- package/lib/tree/src/Tree.d.ts +9 -4
- package/lib/tree/src/Tree.js +32 -6
- package/lib/tree/src/TreeNodeCheckbox.d.ts +1 -0
- package/lib/tree-select/src/TreeSelect.d.ts +1 -0
- package/lib/upload/index.d.ts +1 -2
- package/lib/upload/src/Upload.d.ts +49 -39
- package/lib/upload/src/Upload.js +102 -39
- package/lib/upload/src/UploadFile.d.ts +5 -4
- package/lib/upload/src/UploadFileList.js +4 -2
- package/lib/upload/src/UploadProgress.d.ts +4 -3
- package/lib/upload/src/interface.d.ts +15 -1
- package/lib/upload/src/styles/index.cssr.js +2 -3
- package/lib/upload/styles/light.d.ts +3 -3
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +8 -7
- package/web-types.json +125 -6
|
@@ -120,6 +120,7 @@ declare const Scrollbar: import("vue").DefineComponent<{
|
|
|
120
120
|
scrollTo: ScrollTo;
|
|
121
121
|
mergedClsPrefix: import("vue").ComputedRef<string>;
|
|
122
122
|
containerScrollTop: import("vue").Ref<number>;
|
|
123
|
+
wrapperRef: import("vue").Ref<HTMLElement | null>;
|
|
123
124
|
containerRef: import("vue").Ref<HTMLElement | null>;
|
|
124
125
|
contentRef: import("vue").Ref<HTMLElement | null>;
|
|
125
126
|
yRailRef: import("vue").Ref<HTMLElement | null>;
|
|
@@ -27,6 +27,7 @@ const Scrollbar = defineComponent({
|
|
|
27
27
|
setup(props) {
|
|
28
28
|
const { mergedClsPrefixRef } = useConfig(props);
|
|
29
29
|
// dom ref
|
|
30
|
+
const wrapperRef = ref(null);
|
|
30
31
|
const containerRef = ref(null);
|
|
31
32
|
const contentRef = ref(null);
|
|
32
33
|
const yRailRef = ref(null);
|
|
@@ -285,6 +286,10 @@ const Scrollbar = defineComponent({
|
|
|
285
286
|
syncPositionState();
|
|
286
287
|
syncScrollState();
|
|
287
288
|
}
|
|
289
|
+
function isMouseUpAway(e) {
|
|
290
|
+
var _a;
|
|
291
|
+
return !((_a = wrapperRef.value) === null || _a === void 0 ? void 0 : _a.contains(e.target));
|
|
292
|
+
}
|
|
288
293
|
function handleXScrollMouseDown(e) {
|
|
289
294
|
e.preventDefault();
|
|
290
295
|
e.stopPropagation();
|
|
@@ -329,8 +334,7 @@ const Scrollbar = defineComponent({
|
|
|
329
334
|
off('mouseup', window, handleXScrollMouseUp, true);
|
|
330
335
|
xBarPressed = false;
|
|
331
336
|
sync();
|
|
332
|
-
|
|
333
|
-
if (!(container === null || container === void 0 ? void 0 : container.contains(e.target))) {
|
|
337
|
+
if (isMouseUpAway(e)) {
|
|
334
338
|
hideBar();
|
|
335
339
|
}
|
|
336
340
|
}
|
|
@@ -375,8 +379,7 @@ const Scrollbar = defineComponent({
|
|
|
375
379
|
off('mouseup', window, handleYScrollMouseUp, true);
|
|
376
380
|
yBarPressed = false;
|
|
377
381
|
sync();
|
|
378
|
-
|
|
379
|
-
if (!(container === null || container === void 0 ? void 0 : container.contains(e.target))) {
|
|
382
|
+
if (isMouseUpAway(e)) {
|
|
380
383
|
hideBar();
|
|
381
384
|
}
|
|
382
385
|
}
|
|
@@ -432,6 +435,7 @@ const Scrollbar = defineComponent({
|
|
|
432
435
|
scrollTo,
|
|
433
436
|
mergedClsPrefix: mergedClsPrefixRef,
|
|
434
437
|
containerScrollTop: containerScrollTopRef,
|
|
438
|
+
wrapperRef,
|
|
435
439
|
containerRef,
|
|
436
440
|
contentRef,
|
|
437
441
|
yRailRef,
|
|
@@ -470,6 +474,7 @@ const Scrollbar = defineComponent({
|
|
|
470
474
|
if (!this.scrollable)
|
|
471
475
|
return renderSlot($slots, 'default');
|
|
472
476
|
const createChildren = () => h('div', mergeProps(this.$attrs, {
|
|
477
|
+
ref: 'wrapperRef',
|
|
473
478
|
class: `${mergedClsPrefix}-scrollbar`,
|
|
474
479
|
style: this.cssVars,
|
|
475
480
|
onMouseenter: this.handleMouseEnterWrapper,
|
|
@@ -279,6 +279,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
279
279
|
tableHeaderColor: string;
|
|
280
280
|
hoverColor: string;
|
|
281
281
|
tableColorHover: string;
|
|
282
|
+
tableColorStriped: string;
|
|
282
283
|
pressedColor: string;
|
|
283
284
|
opacityDisabled: string;
|
|
284
285
|
inputColorDisabled: string;
|
|
@@ -332,6 +332,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
332
332
|
tableHeaderColor: string;
|
|
333
333
|
hoverColor: string;
|
|
334
334
|
tableColorHover: string;
|
|
335
|
+
tableColorStriped: string;
|
|
335
336
|
pressedColor: string;
|
|
336
337
|
opacityDisabled: string;
|
|
337
338
|
inputColorDisabled: string;
|
|
@@ -18,6 +18,7 @@ const base = {
|
|
|
18
18
|
alphaDisabledInput: '0.06',
|
|
19
19
|
alphaPending: '0.09',
|
|
20
20
|
alphaTablePending: '0.06',
|
|
21
|
+
alphaTableStriped: '0.05',
|
|
21
22
|
alphaPressed: '0.05',
|
|
22
23
|
alphaAvatar: '0.18',
|
|
23
24
|
alphaRail: '0.2',
|
|
@@ -87,5 +88,5 @@ const derived = Object.assign(Object.assign({ name: 'common' }, commonVariables)
|
|
|
87
88
|
// close
|
|
88
89
|
closeColorHover: overlay(Number(base.alphaClose) * 1.25), closeColor: overlay(Number(base.alphaClose)), closeColorPressed: overlay(Number(base.alphaClose) * 0.8), closeColorDisabled: overlay(base.alpha4),
|
|
89
90
|
// clear
|
|
90
|
-
clearColor: overlay(base.alpha4), clearColorHover: scaleColor(overlay(base.alpha4), { alpha: 1.25 }), clearColorPressed: scaleColor(overlay(base.alpha4), { alpha: 0.8 }), scrollbarColor: overlay(base.alphaScrollbar), scrollbarColorHover: overlay(base.alphaScrollbarHover), scrollbarWidth: '5px', scrollbarHeight: '5px', scrollbarBorderRadius: '5px', progressRailColor: overlay(base.alphaProgressRail), railColor: overlay(base.alphaRail), popoverColor: base.neutralPopover, tableColor: base.neutralCard, cardColor: base.neutralCard, modalColor: base.neutralModal, bodyColor: base.neutralBody, tagColor: neutral(base.alphaTag), avatarColor: overlay(base.alphaAvatar), invertedColor: base.neutralBase, inputColor: overlay(base.alphaInput), codeColor: overlay(base.alphaCode), tabColor: overlay(base.alphaTab), actionColor: overlay(base.alphaAction), tableHeaderColor: overlay(base.alphaAction), hoverColor: overlay(base.alphaPending), tableColorHover: overlay(base.alphaTablePending), pressedColor: overlay(base.alphaPressed), opacityDisabled: base.alphaDisabled, inputColorDisabled: overlay(base.alphaDisabledInput), buttonColor2: 'rgba(255, 255, 255, .06)', buttonColor2Hover: 'rgba(255, 255, 255, .09)', buttonColor2Pressed: 'rgba(255, 255, 255, .05)', boxShadow1: '0 1px 2px -2px rgba(0, 0, 0, .24), 0 3px 6px 0 rgba(0, 0, 0, .18), 0 5px 12px 4px rgba(0, 0, 0, .12)', boxShadow2: '0 3px 6px -4px rgba(0, 0, 0, .24), 0 6px 12px 0 rgba(0, 0, 0, .16), 0 9px 18px 8px rgba(0, 0, 0, .10)', boxShadow3: '0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)' });
|
|
91
|
+
clearColor: overlay(base.alpha4), clearColorHover: scaleColor(overlay(base.alpha4), { alpha: 1.25 }), clearColorPressed: scaleColor(overlay(base.alpha4), { alpha: 0.8 }), scrollbarColor: overlay(base.alphaScrollbar), scrollbarColorHover: overlay(base.alphaScrollbarHover), scrollbarWidth: '5px', scrollbarHeight: '5px', scrollbarBorderRadius: '5px', progressRailColor: overlay(base.alphaProgressRail), railColor: overlay(base.alphaRail), popoverColor: base.neutralPopover, tableColor: base.neutralCard, cardColor: base.neutralCard, modalColor: base.neutralModal, bodyColor: base.neutralBody, tagColor: neutral(base.alphaTag), avatarColor: overlay(base.alphaAvatar), invertedColor: base.neutralBase, inputColor: overlay(base.alphaInput), codeColor: overlay(base.alphaCode), tabColor: overlay(base.alphaTab), actionColor: overlay(base.alphaAction), tableHeaderColor: overlay(base.alphaAction), hoverColor: overlay(base.alphaPending), tableColorHover: overlay(base.alphaTablePending), tableColorStriped: overlay(base.alphaTableStriped), pressedColor: overlay(base.alphaPressed), opacityDisabled: base.alphaDisabled, inputColorDisabled: overlay(base.alphaDisabledInput), buttonColor2: 'rgba(255, 255, 255, .06)', buttonColor2Hover: 'rgba(255, 255, 255, .09)', buttonColor2Pressed: 'rgba(255, 255, 255, .05)', boxShadow1: '0 1px 2px -2px rgba(0, 0, 0, .24), 0 3px 6px 0 rgba(0, 0, 0, .18), 0 5px 12px 4px rgba(0, 0, 0, .12)', boxShadow2: '0 3px 6px -4px rgba(0, 0, 0, .24), 0 6px 12px 0 rgba(0, 0, 0, .16), 0 9px 18px 8px rgba(0, 0, 0, .10)', boxShadow3: '0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)' });
|
|
91
92
|
export default derived;
|
|
@@ -89,7 +89,7 @@ const derived = Object.assign(Object.assign({ name: 'common' }, commonVariables)
|
|
|
89
89
|
// clear
|
|
90
90
|
clearColor: neutral(base.alpha4), clearColorHover: scaleColor(neutral(base.alpha4), { lightness: 0.75 }), clearColorPressed: scaleColor(neutral(base.alpha4), { lightness: 0.9 }), scrollbarColor: overlay(base.alphaScrollbar), scrollbarColorHover: overlay(base.alphaScrollbarHover), scrollbarWidth: '5px', scrollbarHeight: '5px', scrollbarBorderRadius: '5px', progressRailColor: neutral(base.alphaProgressRail), railColor: 'rgb(219, 219, 223)', popoverColor: base.neutralPopover, tableColor: base.neutralCard, cardColor: base.neutralCard, modalColor: base.neutralModal, bodyColor: base.neutralBody, tagColor: 'rgb(250, 250, 252)', avatarColor: neutral(base.alphaAvatar), invertedColor: 'rgb(0, 20, 40)', inputColor: neutral(base.alphaInput), codeColor: 'rgb(244, 244, 248)', tabColor: 'rgb(247, 247, 250)', actionColor: 'rgb(250, 250, 252)', tableHeaderColor: 'rgb(250, 250, 252)', hoverColor: 'rgb(243, 243, 245)',
|
|
91
91
|
// use color with alpha since it can be nested with header filter & sorter effect
|
|
92
|
-
tableColorHover: 'rgba(0, 0, 100, 0.02)', pressedColor: 'rgb(237, 237, 239)', opacityDisabled: base.alphaDisabled, inputColorDisabled: 'rgb(250, 250, 252)',
|
|
92
|
+
tableColorHover: 'rgba(0, 0, 100, 0.03)', tableColorStriped: 'rgba(0, 0, 100, 0.02)', pressedColor: 'rgb(237, 237, 239)', opacityDisabled: base.alphaDisabled, inputColorDisabled: 'rgb(250, 250, 252)',
|
|
93
93
|
// secondary button color
|
|
94
94
|
// can also be used in tertiary button & quaternary button
|
|
95
95
|
buttonColor2: 'rgba(46, 51, 56, .05)', buttonColor2Hover: 'rgba(46, 51, 56, .09)', buttonColor2Pressed: 'rgba(46, 51, 56, .13)', boxShadow1: '0 1px 2px -2px rgba(0, 0, 0, .08), 0 3px 6px 0 rgba(0, 0, 0, .06), 0 5px 12px 4px rgba(0, 0, 0, .04)', boxShadow2: '0 3px 6px -4px rgba(0, 0, 0, .12), 0 6px 16px 0 rgba(0, 0, 0, .08), 0 9px 28px 8px rgba(0, 0, 0, .05)', boxShadow3: '0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)' });
|
package/es/alert/src/Alert.d.ts
CHANGED
|
@@ -437,6 +437,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
437
437
|
tableHeaderColor: string;
|
|
438
438
|
hoverColor: string;
|
|
439
439
|
tableColorHover: string;
|
|
440
|
+
tableColorStriped: string;
|
|
440
441
|
pressedColor: string;
|
|
441
442
|
opacityDisabled: string;
|
|
442
443
|
inputColorDisabled: string;
|
|
@@ -891,6 +891,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
891
891
|
tableHeaderColor: string;
|
|
892
892
|
hoverColor: string;
|
|
893
893
|
tableColorHover: string;
|
|
894
|
+
tableColorStriped: string;
|
|
894
895
|
pressedColor: string;
|
|
895
896
|
opacityDisabled: string;
|
|
896
897
|
inputColorDisabled: string;
|
|
@@ -232,7 +232,10 @@ export default defineComponent({
|
|
|
232
232
|
});
|
|
233
233
|
}
|
|
234
234
|
const { mergedTheme } = this;
|
|
235
|
-
return (h(NInput, { theme: mergedTheme.peers.Input, themeOverrides: mergedTheme.peerOverrides.Input, bordered: this.mergedBordered, value: this.mergedValue, placeholder: this.placeholder, size: this.mergedSize, disabled: this.mergedDisabled, clearable: this.clearable, loading: this.loading, inputProps: this.inputProps, onClear: this.handleClear, onFocus: this.handleFocus, onUpdateValue: this.handleInput, onBlur: this.handleBlur }
|
|
235
|
+
return (h(NInput, { theme: mergedTheme.peers.Input, themeOverrides: mergedTheme.peerOverrides.Input, bordered: this.mergedBordered, value: this.mergedValue, placeholder: this.placeholder, size: this.mergedSize, disabled: this.mergedDisabled, clearable: this.clearable, loading: this.loading, inputProps: this.inputProps, onClear: this.handleClear, onFocus: this.handleFocus, onUpdateValue: this.handleInput, onBlur: this.handleBlur }, {
|
|
236
|
+
suffix: this.$slots.suffix,
|
|
237
|
+
prefix: this.$slots.prefix
|
|
238
|
+
}));
|
|
236
239
|
}
|
|
237
240
|
}),
|
|
238
241
|
h(VFollower, { show: this.active, to: this.adjustedTo, containerClass: this.namespace, zIndex: this.zIndex, teleportDisabled: this.adjustedTo === useAdjustedTo.tdkey, placement: "bottom-start", width: "target" }, {
|
|
@@ -60,9 +60,9 @@ declare const buttonProps: {
|
|
|
60
60
|
fontSizeMedium: string;
|
|
61
61
|
fontSizeLarge: string;
|
|
62
62
|
opacityDisabled: string;
|
|
63
|
-
colorOpacitySecondary:
|
|
64
|
-
colorOpacitySecondaryHover:
|
|
65
|
-
colorOpacitySecondaryPressed:
|
|
63
|
+
colorOpacitySecondary: string;
|
|
64
|
+
colorOpacitySecondaryHover: string;
|
|
65
|
+
colorOpacitySecondaryPressed: string;
|
|
66
66
|
colorSecondary: string;
|
|
67
67
|
colorSecondaryHover: string;
|
|
68
68
|
colorSecondaryPressed: string;
|
|
@@ -264,9 +264,9 @@ declare const buttonProps: {
|
|
|
264
264
|
fontSizeMedium: string;
|
|
265
265
|
fontSizeLarge: string;
|
|
266
266
|
opacityDisabled: string;
|
|
267
|
-
colorOpacitySecondary:
|
|
268
|
-
colorOpacitySecondaryHover:
|
|
269
|
-
colorOpacitySecondaryPressed:
|
|
267
|
+
colorOpacitySecondary: string;
|
|
268
|
+
colorOpacitySecondaryHover: string;
|
|
269
|
+
colorOpacitySecondaryPressed: string;
|
|
270
270
|
colorSecondary: string;
|
|
271
271
|
colorSecondaryHover: string;
|
|
272
272
|
colorSecondaryPressed: string;
|
|
@@ -468,9 +468,9 @@ declare const buttonProps: {
|
|
|
468
468
|
fontSizeMedium: string;
|
|
469
469
|
fontSizeLarge: string;
|
|
470
470
|
opacityDisabled: string;
|
|
471
|
-
colorOpacitySecondary:
|
|
472
|
-
colorOpacitySecondaryHover:
|
|
473
|
-
colorOpacitySecondaryPressed:
|
|
471
|
+
colorOpacitySecondary: string;
|
|
472
|
+
colorOpacitySecondaryHover: string;
|
|
473
|
+
colorOpacitySecondaryPressed: string;
|
|
474
474
|
colorSecondary: string;
|
|
475
475
|
colorSecondaryHover: string;
|
|
476
476
|
colorSecondaryPressed: string;
|
|
@@ -719,9 +719,9 @@ declare const Button: import("vue").DefineComponent<{
|
|
|
719
719
|
fontSizeMedium: string;
|
|
720
720
|
fontSizeLarge: string;
|
|
721
721
|
opacityDisabled: string;
|
|
722
|
-
colorOpacitySecondary:
|
|
723
|
-
colorOpacitySecondaryHover:
|
|
724
|
-
colorOpacitySecondaryPressed:
|
|
722
|
+
colorOpacitySecondary: string;
|
|
723
|
+
colorOpacitySecondaryHover: string;
|
|
724
|
+
colorOpacitySecondaryPressed: string;
|
|
725
725
|
colorSecondary: string;
|
|
726
726
|
colorSecondaryHover: string;
|
|
727
727
|
colorSecondaryPressed: string;
|
|
@@ -923,9 +923,9 @@ declare const Button: import("vue").DefineComponent<{
|
|
|
923
923
|
fontSizeMedium: string;
|
|
924
924
|
fontSizeLarge: string;
|
|
925
925
|
opacityDisabled: string;
|
|
926
|
-
colorOpacitySecondary:
|
|
927
|
-
colorOpacitySecondaryHover:
|
|
928
|
-
colorOpacitySecondaryPressed:
|
|
926
|
+
colorOpacitySecondary: string;
|
|
927
|
+
colorOpacitySecondaryHover: string;
|
|
928
|
+
colorOpacitySecondaryPressed: string;
|
|
929
929
|
colorSecondary: string;
|
|
930
930
|
colorSecondaryHover: string;
|
|
931
931
|
colorSecondaryPressed: string;
|
|
@@ -1127,9 +1127,9 @@ declare const Button: import("vue").DefineComponent<{
|
|
|
1127
1127
|
fontSizeMedium: string;
|
|
1128
1128
|
fontSizeLarge: string;
|
|
1129
1129
|
opacityDisabled: string;
|
|
1130
|
-
colorOpacitySecondary:
|
|
1131
|
-
colorOpacitySecondaryHover:
|
|
1132
|
-
colorOpacitySecondaryPressed:
|
|
1130
|
+
colorOpacitySecondary: string;
|
|
1131
|
+
colorOpacitySecondaryHover: string;
|
|
1132
|
+
colorOpacitySecondaryPressed: string;
|
|
1133
1133
|
colorSecondary: string;
|
|
1134
1134
|
colorSecondaryHover: string;
|
|
1135
1135
|
colorSecondaryPressed: string;
|
|
@@ -1436,9 +1436,9 @@ declare const Button: import("vue").DefineComponent<{
|
|
|
1436
1436
|
fontSizeMedium: string;
|
|
1437
1437
|
fontSizeLarge: string;
|
|
1438
1438
|
opacityDisabled: string;
|
|
1439
|
-
colorOpacitySecondary:
|
|
1440
|
-
colorOpacitySecondaryHover:
|
|
1441
|
-
colorOpacitySecondaryPressed:
|
|
1439
|
+
colorOpacitySecondary: string;
|
|
1440
|
+
colorOpacitySecondaryHover: string;
|
|
1441
|
+
colorOpacitySecondaryPressed: string;
|
|
1442
1442
|
colorSecondary: string;
|
|
1443
1443
|
colorSecondaryHover: string;
|
|
1444
1444
|
colorSecondaryPressed: string;
|
|
@@ -1640,9 +1640,9 @@ declare const Button: import("vue").DefineComponent<{
|
|
|
1640
1640
|
fontSizeMedium: string;
|
|
1641
1641
|
fontSizeLarge: string;
|
|
1642
1642
|
opacityDisabled: string;
|
|
1643
|
-
colorOpacitySecondary:
|
|
1644
|
-
colorOpacitySecondaryHover:
|
|
1645
|
-
colorOpacitySecondaryPressed:
|
|
1643
|
+
colorOpacitySecondary: string;
|
|
1644
|
+
colorOpacitySecondaryHover: string;
|
|
1645
|
+
colorOpacitySecondaryPressed: string;
|
|
1646
1646
|
colorSecondary: string;
|
|
1647
1647
|
colorSecondaryHover: string;
|
|
1648
1648
|
colorSecondaryPressed: string;
|
|
@@ -1844,9 +1844,9 @@ declare const Button: import("vue").DefineComponent<{
|
|
|
1844
1844
|
fontSizeMedium: string;
|
|
1845
1845
|
fontSizeLarge: string;
|
|
1846
1846
|
opacityDisabled: string;
|
|
1847
|
-
colorOpacitySecondary:
|
|
1848
|
-
colorOpacitySecondaryHover:
|
|
1849
|
-
colorOpacitySecondaryPressed:
|
|
1847
|
+
colorOpacitySecondary: string;
|
|
1848
|
+
colorOpacitySecondaryHover: string;
|
|
1849
|
+
colorOpacitySecondaryPressed: string;
|
|
1850
1850
|
colorSecondary: string;
|
|
1851
1851
|
colorSecondaryHover: string;
|
|
1852
1852
|
colorSecondaryPressed: string;
|
package/es/button/src/Button.js
CHANGED
|
@@ -237,22 +237,22 @@ const Button = defineComponent({
|
|
|
237
237
|
colorProps = {
|
|
238
238
|
'--color': isColoredType
|
|
239
239
|
? changeColor(mergedTextColor, {
|
|
240
|
-
alpha: self.colorOpacitySecondary
|
|
240
|
+
alpha: Number(self.colorOpacitySecondary)
|
|
241
241
|
})
|
|
242
242
|
: self.colorSecondary,
|
|
243
243
|
'--color-hover': isColoredType
|
|
244
244
|
? changeColor(mergedTextColor, {
|
|
245
|
-
alpha: self.colorOpacitySecondaryHover
|
|
245
|
+
alpha: Number(self.colorOpacitySecondaryHover)
|
|
246
246
|
})
|
|
247
247
|
: self.colorSecondaryHover,
|
|
248
248
|
'--color-pressed': isColoredType
|
|
249
249
|
? changeColor(mergedTextColor, {
|
|
250
|
-
alpha: self.colorOpacitySecondaryPressed
|
|
250
|
+
alpha: Number(self.colorOpacitySecondaryPressed)
|
|
251
251
|
})
|
|
252
252
|
: self.colorSecondaryPressed,
|
|
253
253
|
'--color-focus': isColoredType
|
|
254
254
|
? changeColor(mergedTextColor, {
|
|
255
|
-
alpha: self.colorOpacitySecondaryHover
|
|
255
|
+
alpha: Number(self.colorOpacitySecondaryHover)
|
|
256
256
|
})
|
|
257
257
|
: self.colorSecondaryHover,
|
|
258
258
|
'--color-disabled': self.colorSecondary,
|
package/es/button/styles/dark.js
CHANGED
|
@@ -6,9 +6,9 @@ const buttonDark = {
|
|
|
6
6
|
self(vars) {
|
|
7
7
|
const commonSelf = self(vars);
|
|
8
8
|
commonSelf.waveOpacity = '0.8';
|
|
9
|
-
commonSelf.colorOpacitySecondary = 0.16;
|
|
10
|
-
commonSelf.colorOpacitySecondaryHover = 0.2;
|
|
11
|
-
commonSelf.colorOpacitySecondaryPressed = 0.12;
|
|
9
|
+
commonSelf.colorOpacitySecondary = '0.16';
|
|
10
|
+
commonSelf.colorOpacitySecondaryHover = '0.2';
|
|
11
|
+
commonSelf.colorOpacitySecondaryPressed = '0.12';
|
|
12
12
|
return commonSelf;
|
|
13
13
|
}
|
|
14
14
|
};
|
|
@@ -14,9 +14,9 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
14
14
|
fontSizeMedium: string;
|
|
15
15
|
fontSizeLarge: string;
|
|
16
16
|
opacityDisabled: string;
|
|
17
|
-
colorOpacitySecondary:
|
|
18
|
-
colorOpacitySecondaryHover:
|
|
19
|
-
colorOpacitySecondaryPressed:
|
|
17
|
+
colorOpacitySecondary: string;
|
|
18
|
+
colorOpacitySecondaryHover: string;
|
|
19
|
+
colorOpacitySecondaryPressed: string;
|
|
20
20
|
colorSecondary: string;
|
|
21
21
|
colorSecondaryHover: string;
|
|
22
22
|
colorSecondaryPressed: string;
|
|
@@ -7,7 +7,7 @@ export const self = (vars) => {
|
|
|
7
7
|
heightMedium,
|
|
8
8
|
heightLarge, borderRadiusTiny: borderRadius, borderRadiusSmall: borderRadius, borderRadiusMedium: borderRadius, borderRadiusLarge: borderRadius, fontSizeTiny: fontSizeTiny, fontSizeSmall: fontSizeSmall, fontSizeMedium: fontSizeMedium, fontSizeLarge: fontSizeLarge, opacityDisabled: opacityDisabled,
|
|
9
9
|
// secondary
|
|
10
|
-
colorOpacitySecondary: 0.16, colorOpacitySecondaryHover: 0.2, colorOpacitySecondaryPressed: 0.24, colorSecondary: buttonColor2, colorSecondaryHover: buttonColor2Hover, colorSecondaryPressed: buttonColor2Pressed,
|
|
10
|
+
colorOpacitySecondary: '0.16', colorOpacitySecondaryHover: '0.2', colorOpacitySecondaryPressed: '0.24', colorSecondary: buttonColor2, colorSecondaryHover: buttonColor2Hover, colorSecondaryPressed: buttonColor2Pressed,
|
|
11
11
|
// tertiary
|
|
12
12
|
colorTertiary: buttonColor2, colorTertiaryHover: buttonColor2Hover, colorTertiaryPressed: buttonColor2Pressed,
|
|
13
13
|
// quaternary
|
|
@@ -46,9 +46,9 @@ declare const calendarProps: {
|
|
|
46
46
|
fontSizeMedium: string;
|
|
47
47
|
fontSizeLarge: string;
|
|
48
48
|
opacityDisabled: string;
|
|
49
|
-
colorOpacitySecondary:
|
|
50
|
-
colorOpacitySecondaryHover:
|
|
51
|
-
colorOpacitySecondaryPressed:
|
|
49
|
+
colorOpacitySecondary: string;
|
|
50
|
+
colorOpacitySecondaryHover: string;
|
|
51
|
+
colorOpacitySecondaryPressed: string;
|
|
52
52
|
colorSecondary: string;
|
|
53
53
|
colorSecondaryHover: string;
|
|
54
54
|
colorSecondaryPressed: string;
|
|
@@ -273,9 +273,9 @@ declare const calendarProps: {
|
|
|
273
273
|
fontSizeMedium: string;
|
|
274
274
|
fontSizeLarge: string;
|
|
275
275
|
opacityDisabled: string;
|
|
276
|
-
colorOpacitySecondary:
|
|
277
|
-
colorOpacitySecondaryHover:
|
|
278
|
-
colorOpacitySecondaryPressed:
|
|
276
|
+
colorOpacitySecondary: string;
|
|
277
|
+
colorOpacitySecondaryHover: string;
|
|
278
|
+
colorOpacitySecondaryPressed: string;
|
|
279
279
|
colorSecondary: string;
|
|
280
280
|
colorSecondaryHover: string;
|
|
281
281
|
colorSecondaryPressed: string;
|
|
@@ -500,9 +500,9 @@ declare const calendarProps: {
|
|
|
500
500
|
fontSizeMedium: string;
|
|
501
501
|
fontSizeLarge: string;
|
|
502
502
|
opacityDisabled: string;
|
|
503
|
-
colorOpacitySecondary:
|
|
504
|
-
colorOpacitySecondaryHover:
|
|
505
|
-
colorOpacitySecondaryPressed:
|
|
503
|
+
colorOpacitySecondary: string;
|
|
504
|
+
colorOpacitySecondaryHover: string;
|
|
505
|
+
colorOpacitySecondaryPressed: string;
|
|
506
506
|
colorSecondary: string;
|
|
507
507
|
colorSecondaryHover: string;
|
|
508
508
|
colorSecondaryPressed: string;
|
|
@@ -738,9 +738,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
738
738
|
fontSizeMedium: string;
|
|
739
739
|
fontSizeLarge: string;
|
|
740
740
|
opacityDisabled: string;
|
|
741
|
-
colorOpacitySecondary:
|
|
742
|
-
colorOpacitySecondaryHover:
|
|
743
|
-
colorOpacitySecondaryPressed:
|
|
741
|
+
colorOpacitySecondary: string;
|
|
742
|
+
colorOpacitySecondaryHover: string;
|
|
743
|
+
colorOpacitySecondaryPressed: string;
|
|
744
744
|
colorSecondary: string;
|
|
745
745
|
colorSecondaryHover: string;
|
|
746
746
|
colorSecondaryPressed: string;
|
|
@@ -965,9 +965,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
965
965
|
fontSizeMedium: string;
|
|
966
966
|
fontSizeLarge: string;
|
|
967
967
|
opacityDisabled: string;
|
|
968
|
-
colorOpacitySecondary:
|
|
969
|
-
colorOpacitySecondaryHover:
|
|
970
|
-
colorOpacitySecondaryPressed:
|
|
968
|
+
colorOpacitySecondary: string;
|
|
969
|
+
colorOpacitySecondaryHover: string;
|
|
970
|
+
colorOpacitySecondaryPressed: string;
|
|
971
971
|
colorSecondary: string;
|
|
972
972
|
colorSecondaryHover: string;
|
|
973
973
|
colorSecondaryPressed: string;
|
|
@@ -1192,9 +1192,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1192
1192
|
fontSizeMedium: string;
|
|
1193
1193
|
fontSizeLarge: string;
|
|
1194
1194
|
opacityDisabled: string;
|
|
1195
|
-
colorOpacitySecondary:
|
|
1196
|
-
colorOpacitySecondaryHover:
|
|
1197
|
-
colorOpacitySecondaryPressed:
|
|
1195
|
+
colorOpacitySecondary: string;
|
|
1196
|
+
colorOpacitySecondaryHover: string;
|
|
1197
|
+
colorOpacitySecondaryPressed: string;
|
|
1198
1198
|
colorSecondary: string;
|
|
1199
1199
|
colorSecondaryHover: string;
|
|
1200
1200
|
colorSecondaryPressed: string;
|
|
@@ -1397,6 +1397,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1397
1397
|
datePlaceholder: string;
|
|
1398
1398
|
datetimePlaceholder: string;
|
|
1399
1399
|
monthPlaceholder: string;
|
|
1400
|
+
yearPlaceholder: string;
|
|
1400
1401
|
startDatePlaceholder: string;
|
|
1401
1402
|
endDatePlaceholder: string;
|
|
1402
1403
|
startDatetimePlaceholder: string;
|
|
@@ -1484,6 +1485,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1484
1485
|
tableHeaderColor: string;
|
|
1485
1486
|
hoverColor: string;
|
|
1486
1487
|
tableColorHover: string;
|
|
1488
|
+
tableColorStriped: string;
|
|
1487
1489
|
pressedColor: string;
|
|
1488
1490
|
opacityDisabled: string;
|
|
1489
1491
|
inputColorDisabled: string;
|
|
@@ -1554,9 +1556,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1554
1556
|
fontSizeMedium: string;
|
|
1555
1557
|
fontSizeLarge: string;
|
|
1556
1558
|
opacityDisabled: string;
|
|
1557
|
-
colorOpacitySecondary:
|
|
1558
|
-
colorOpacitySecondaryHover:
|
|
1559
|
-
colorOpacitySecondaryPressed:
|
|
1559
|
+
colorOpacitySecondary: string;
|
|
1560
|
+
colorOpacitySecondaryHover: string;
|
|
1561
|
+
colorOpacitySecondaryPressed: string;
|
|
1560
1562
|
colorSecondary: string;
|
|
1561
1563
|
colorSecondaryHover: string;
|
|
1562
1564
|
colorSecondaryPressed: string;
|
|
@@ -1823,9 +1825,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1823
1825
|
fontSizeMedium: string;
|
|
1824
1826
|
fontSizeLarge: string;
|
|
1825
1827
|
opacityDisabled: string;
|
|
1826
|
-
colorOpacitySecondary:
|
|
1827
|
-
colorOpacitySecondaryHover:
|
|
1828
|
-
colorOpacitySecondaryPressed:
|
|
1828
|
+
colorOpacitySecondary: string;
|
|
1829
|
+
colorOpacitySecondaryHover: string;
|
|
1830
|
+
colorOpacitySecondaryPressed: string;
|
|
1829
1831
|
colorSecondary: string;
|
|
1830
1832
|
colorSecondaryHover: string;
|
|
1831
1833
|
colorSecondaryPressed: string;
|
|
@@ -2050,9 +2052,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2050
2052
|
fontSizeMedium: string;
|
|
2051
2053
|
fontSizeLarge: string;
|
|
2052
2054
|
opacityDisabled: string;
|
|
2053
|
-
colorOpacitySecondary:
|
|
2054
|
-
colorOpacitySecondaryHover:
|
|
2055
|
-
colorOpacitySecondaryPressed:
|
|
2055
|
+
colorOpacitySecondary: string;
|
|
2056
|
+
colorOpacitySecondaryHover: string;
|
|
2057
|
+
colorOpacitySecondaryPressed: string;
|
|
2056
2058
|
colorSecondary: string;
|
|
2057
2059
|
colorSecondaryHover: string;
|
|
2058
2060
|
colorSecondaryPressed: string;
|
|
@@ -2277,9 +2279,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2277
2279
|
fontSizeMedium: string;
|
|
2278
2280
|
fontSizeLarge: string;
|
|
2279
2281
|
opacityDisabled: string;
|
|
2280
|
-
colorOpacitySecondary:
|
|
2281
|
-
colorOpacitySecondaryHover:
|
|
2282
|
-
colorOpacitySecondaryPressed:
|
|
2282
|
+
colorOpacitySecondary: string;
|
|
2283
|
+
colorOpacitySecondaryHover: string;
|
|
2284
|
+
colorOpacitySecondaryPressed: string;
|
|
2283
2285
|
colorSecondary: string;
|
|
2284
2286
|
colorSecondaryHover: string;
|
|
2285
2287
|
colorSecondaryPressed: string;
|
|
@@ -58,9 +58,9 @@ declare const calendarLight: import("../../_mixins").Theme<"Calendar", {
|
|
|
58
58
|
fontSizeMedium: string;
|
|
59
59
|
fontSizeLarge: string;
|
|
60
60
|
opacityDisabled: string;
|
|
61
|
-
colorOpacitySecondary:
|
|
62
|
-
colorOpacitySecondaryHover:
|
|
63
|
-
colorOpacitySecondaryPressed:
|
|
61
|
+
colorOpacitySecondary: string;
|
|
62
|
+
colorOpacitySecondaryHover: string;
|
|
63
|
+
colorOpacitySecondaryPressed: string;
|
|
64
64
|
colorSecondary: string;
|
|
65
65
|
colorSecondaryHover: string;
|
|
66
66
|
colorSecondaryPressed: string;
|
package/es/card/src/Card.d.ts
CHANGED
|
@@ -340,6 +340,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
340
340
|
tableHeaderColor: string;
|
|
341
341
|
hoverColor: string;
|
|
342
342
|
tableColorHover: string;
|
|
343
|
+
tableColorStriped: string;
|
|
343
344
|
pressedColor: string;
|
|
344
345
|
opacityDisabled: string;
|
|
345
346
|
inputColorDisabled: string;
|
|
@@ -1316,6 +1316,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1316
1316
|
tableHeaderColor: string;
|
|
1317
1317
|
hoverColor: string;
|
|
1318
1318
|
tableColorHover: string;
|
|
1319
|
+
tableColorStriped: string;
|
|
1319
1320
|
pressedColor: string;
|
|
1320
1321
|
opacityDisabled: string;
|
|
1321
1322
|
inputColorDisabled: string;
|
|
@@ -101,6 +101,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
101
101
|
tableHeaderColor: string;
|
|
102
102
|
hoverColor: string;
|
|
103
103
|
tableColorHover: string;
|
|
104
|
+
tableColorStriped: string;
|
|
104
105
|
pressedColor: string;
|
|
105
106
|
opacityDisabled: string;
|
|
106
107
|
inputColorDisabled: string;
|
|
@@ -311,6 +311,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
311
311
|
tableHeaderColor: string;
|
|
312
312
|
hoverColor: string;
|
|
313
313
|
tableColorHover: string;
|
|
314
|
+
tableColorStriped: string;
|
|
314
315
|
pressedColor: string;
|
|
315
316
|
opacityDisabled: string;
|
|
316
317
|
inputColorDisabled: string;
|
|
@@ -189,6 +189,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
189
189
|
tableHeaderColor: string;
|
|
190
190
|
hoverColor: string;
|
|
191
191
|
tableColorHover: string;
|
|
192
|
+
tableColorStriped: string;
|
|
192
193
|
pressedColor: string;
|
|
193
194
|
opacityDisabled: string;
|
|
194
195
|
inputColorDisabled: string;
|
|
@@ -84,6 +84,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
84
84
|
tableHeaderColor: string;
|
|
85
85
|
hoverColor: string;
|
|
86
86
|
tableColorHover: string;
|
|
87
|
+
tableColorStriped: string;
|
|
87
88
|
pressedColor: string;
|
|
88
89
|
opacityDisabled: string;
|
|
89
90
|
inputColorDisabled: string;
|
|
@@ -207,9 +208,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
207
208
|
fontSizeMedium: string;
|
|
208
209
|
fontSizeLarge: string;
|
|
209
210
|
opacityDisabled: string;
|
|
210
|
-
colorOpacitySecondary:
|
|
211
|
-
colorOpacitySecondaryHover:
|
|
212
|
-
colorOpacitySecondaryPressed:
|
|
211
|
+
colorOpacitySecondary: string;
|
|
212
|
+
colorOpacitySecondaryHover: string;
|
|
213
|
+
colorOpacitySecondaryPressed: string;
|
|
213
214
|
colorSecondary: string;
|
|
214
215
|
colorSecondaryHover: string;
|
|
215
216
|
colorSecondaryPressed: string;
|