@douyinfe/semi-ui 2.1.0-next.0 → 2.1.0-next.1
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/css/semi.css +14 -1
- package/dist/css/semi.min.css +1 -1
- package/dist/umd/semi-ui.js +44750 -42235
- package/dist/umd/semi-ui.js.map +1 -1
- package/dist/umd/semi-ui.min.js +1 -1
- package/dist/umd/semi-ui.min.js.map +1 -1
- package/lib/cjs/_utils/index.js +10 -6
- package/lib/cjs/anchor/index.js +11 -7
- package/lib/cjs/autoComplete/index.d.ts +36 -11
- package/lib/cjs/autoComplete/index.js +12 -10
- package/lib/cjs/avatar/avatarGroup.js +9 -5
- package/lib/cjs/badge/index.js +6 -4
- package/lib/cjs/breadcrumb/index.js +5 -5
- package/lib/cjs/breadcrumb/item.js +8 -4
- package/lib/cjs/button/index.d.ts +0 -1
- package/lib/cjs/button/index.js +1 -2
- package/lib/cjs/calendar/dayCalendar.js +4 -4
- package/lib/cjs/calendar/monthCalendar.js +4 -4
- package/lib/cjs/calendar/rangeCalendar.js +4 -4
- package/lib/cjs/calendar/weekCalendar.js +4 -4
- package/lib/cjs/card/index.js +6 -4
- package/lib/cjs/cascader/index.d.ts +1 -0
- package/lib/cjs/cascader/index.js +45 -23
- package/lib/cjs/cascader/item.js +3 -5
- package/lib/cjs/checkbox/checkbox.js +11 -7
- package/lib/cjs/checkbox/checkboxGroup.js +3 -3
- package/lib/cjs/checkbox/checkboxInner.js +4 -4
- package/lib/cjs/collapse/index.js +4 -8
- package/lib/cjs/collapsible/index.js +4 -1
- package/lib/cjs/datePicker/datePicker.js +29 -21
- package/lib/cjs/datePicker/footer.js +4 -4
- package/lib/cjs/datePicker/month.js +12 -8
- package/lib/cjs/datePicker/monthsGrid.js +6 -4
- package/lib/cjs/datePicker/navigation.js +7 -7
- package/lib/cjs/datePicker/yearAndMonth.d.ts +2 -2
- package/lib/cjs/datePicker/yearAndMonth.js +7 -5
- package/lib/cjs/descriptions/index.js +3 -3
- package/lib/cjs/dropdown/dropdownItem.js +5 -5
- package/lib/cjs/dropdown/index.js +6 -4
- package/lib/cjs/form/arrayField.js +7 -5
- package/lib/cjs/form/baseForm.d.ts +5 -11
- package/lib/cjs/form/baseForm.js +8 -9
- package/lib/cjs/form/field.d.ts +5 -23
- package/lib/cjs/form/field.js +2 -18
- package/lib/cjs/form/group.js +3 -3
- package/lib/cjs/form/hoc/withField.d.ts +1 -1
- package/lib/cjs/form/hoc/withField.js +0 -3
- package/lib/cjs/form/slot.js +10 -6
- package/lib/cjs/iconButton/index.d.ts +0 -1
- package/lib/cjs/iconButton/index.js +4 -5
- package/lib/cjs/input/index.js +20 -16
- package/lib/cjs/input/inputGroup.js +4 -4
- package/lib/cjs/input/textarea.js +16 -12
- package/lib/cjs/inputNumber/index.js +15 -13
- package/lib/cjs/list/index.js +4 -4
- package/lib/cjs/list/item.js +4 -4
- package/lib/cjs/locale/localeConsumer.d.ts +5 -5
- package/lib/cjs/locale/localeConsumer.js +4 -4
- package/lib/cjs/modal/Modal.js +6 -6
- package/lib/cjs/modal/ModalContent.js +4 -4
- package/lib/cjs/modal/confirm.js +3 -3
- package/lib/cjs/modal/useModal/HookModal.d.ts +3 -2
- package/lib/cjs/modal/useModal/HookModal.js +3 -3
- package/lib/cjs/navigation/CollapseButton.js +3 -3
- package/lib/cjs/navigation/Item.js +9 -7
- package/lib/cjs/navigation/SubNav.js +6 -4
- package/lib/cjs/navigation/index.d.ts +1 -1
- package/lib/cjs/navigation/index.js +15 -11
- package/lib/cjs/notification/index.d.ts +1 -1
- package/lib/cjs/notification/index.js +1 -1
- package/lib/cjs/notification/notice.js +6 -6
- package/lib/cjs/overflowList/index.js +15 -9
- package/lib/cjs/overflowList/intersectionObserver.js +6 -4
- package/lib/cjs/pagination/index.js +5 -5
- package/lib/cjs/popconfirm/index.d.ts +5 -1
- package/lib/cjs/popconfirm/index.js +18 -10
- package/lib/cjs/popover/Arrow.js +5 -5
- package/lib/cjs/popover/index.d.ts +3 -1
- package/lib/cjs/popover/index.js +5 -8
- package/lib/cjs/radio/context.d.ts +1 -1
- package/lib/cjs/radio/radio.d.ts +2 -2
- package/lib/cjs/radio/radio.js +4 -4
- package/lib/cjs/radio/radioGroup.d.ts +4 -4
- package/lib/cjs/radio/radioGroup.js +3 -3
- package/lib/cjs/radio/radioInner.js +3 -3
- package/lib/cjs/rating/index.d.ts +1 -1
- package/lib/cjs/resizeObserver/index.js +1 -0
- package/lib/cjs/scrollList/scrollItem.d.ts +12 -11
- package/lib/cjs/scrollList/scrollItem.js +34 -28
- package/lib/cjs/select/index.js +41 -26
- package/lib/cjs/select/option.js +5 -5
- package/lib/cjs/select/utils.d.ts +1 -1
- package/lib/cjs/select/utils.js +13 -7
- package/lib/cjs/sideSheet/SideSheetContent.d.ts +1 -1
- package/lib/cjs/sideSheet/SideSheetContent.js +3 -3
- package/lib/cjs/sideSheet/index.d.ts +3 -3
- package/lib/cjs/sideSheet/index.js +3 -3
- package/lib/cjs/slider/index.js +9 -7
- package/lib/cjs/space/index.js +13 -9
- package/lib/cjs/steps/basicStep.js +3 -3
- package/lib/cjs/steps/basicSteps.js +1 -1
- package/lib/cjs/steps/fillStep.js +3 -3
- package/lib/cjs/steps/fillSteps.js +2 -2
- package/lib/cjs/steps/index.js +3 -3
- package/lib/cjs/steps/navStep.js +3 -3
- package/lib/cjs/steps/navSteps.js +1 -1
- package/lib/cjs/switch/index.js +5 -5
- package/lib/cjs/table/Body/BaseRow.js +28 -16
- package/lib/cjs/table/Body/ExpandedRow.js +11 -7
- package/lib/cjs/table/Body/SectionRow.js +6 -4
- package/lib/cjs/table/Body/index.js +44 -32
- package/lib/cjs/table/ColGroup.js +4 -4
- package/lib/cjs/table/ColumnFilter.js +4 -4
- package/lib/cjs/table/ColumnSelection.js +3 -3
- package/lib/cjs/table/ColumnSorter.js +3 -3
- package/lib/cjs/table/CustomExpandIcon.js +8 -8
- package/lib/cjs/table/HeadTable.js +7 -5
- package/lib/cjs/table/ResizableTable.js +16 -12
- package/lib/cjs/table/Table.d.ts +1 -1
- package/lib/cjs/table/Table.js +76 -58
- package/lib/cjs/table/TableCell.js +28 -18
- package/lib/cjs/table/TableHeader.js +7 -5
- package/lib/cjs/table/TableHeaderRow.js +24 -18
- package/lib/cjs/table/TablePagination.js +7 -5
- package/lib/cjs/table/getColumns.js +6 -4
- package/lib/cjs/table/index.d.ts +1 -1
- package/lib/cjs/table/table-context.js +4 -4
- package/lib/cjs/table/utils.js +2 -2
- package/lib/cjs/tabs/TabBar.d.ts +4 -2
- package/lib/cjs/tabs/TabBar.js +14 -6
- package/lib/cjs/tabs/TabPane.d.ts +2 -1
- package/lib/cjs/tabs/TabPane.js +2 -1
- package/lib/cjs/tabs/TabPaneTransition.js +6 -6
- package/lib/cjs/tabs/index.d.ts +3 -1
- package/lib/cjs/tabs/index.js +95 -21
- package/lib/cjs/tabs/interface.d.ts +6 -1
- package/lib/cjs/tagInput/index.d.ts +3 -0
- package/lib/cjs/tagInput/index.js +34 -19
- package/lib/cjs/timePicker/Combobox.d.ts +10 -4
- package/lib/cjs/timePicker/Combobox.js +7 -6
- package/lib/cjs/timePicker/TimeInput.js +9 -9
- package/lib/cjs/timePicker/TimePicker.d.ts +1 -1
- package/lib/cjs/timePicker/TimePicker.js +11 -9
- package/lib/cjs/timePicker/index.js +3 -3
- package/lib/cjs/toast/index.d.ts +1 -1
- package/lib/cjs/toast/toast.js +4 -4
- package/lib/cjs/tooltip/index.d.ts +3 -0
- package/lib/cjs/tooltip/index.js +30 -17
- package/lib/cjs/transfer/index.js +23 -15
- package/lib/cjs/tree/autoSizer.js +5 -5
- package/lib/cjs/tree/collapse.js +3 -3
- package/lib/cjs/tree/index.js +16 -10
- package/lib/cjs/tree/interface.d.ts +2 -2
- package/lib/cjs/tree/nodeList.js +3 -3
- package/lib/cjs/tree/treeNode.js +10 -6
- package/lib/cjs/tree/treeUtil.js +6 -4
- package/lib/cjs/treeSelect/index.d.ts +2 -11
- package/lib/cjs/treeSelect/index.js +31 -21
- package/lib/cjs/typography/base.d.ts +1 -1
- package/lib/cjs/typography/base.js +15 -9
- package/lib/cjs/typography/paragraph.d.ts +1 -1
- package/lib/cjs/typography/text.d.ts +1 -1
- package/lib/cjs/typography/title.d.ts +1 -1
- package/lib/cjs/upload/fileCard.d.ts +3 -18
- package/lib/cjs/upload/index.d.ts +4 -57
- package/lib/cjs/upload/index.js +15 -15
- package/lib/cjs/upload/interface.d.ts +56 -0
- package/lib/cjs/upload/interface.js +7 -0
- package/lib/es/_utils/index.js +7 -5
- package/lib/es/anchor/index.js +8 -6
- package/lib/es/autoComplete/index.d.ts +36 -11
- package/lib/es/autoComplete/index.js +10 -9
- package/lib/es/avatar/avatarGroup.js +6 -4
- package/lib/es/badge/index.js +4 -3
- package/lib/es/breadcrumb/index.js +7 -4
- package/lib/es/breadcrumb/item.js +5 -3
- package/lib/es/button/index.d.ts +0 -1
- package/lib/es/button/index.js +1 -2
- package/lib/es/calendar/dayCalendar.js +3 -3
- package/lib/es/calendar/monthCalendar.js +3 -3
- package/lib/es/calendar/rangeCalendar.js +3 -3
- package/lib/es/calendar/weekCalendar.js +3 -3
- package/lib/es/card/index.js +5 -3
- package/lib/es/cascader/index.d.ts +1 -0
- package/lib/es/cascader/index.js +39 -22
- package/lib/es/cascader/item.js +2 -2
- package/lib/es/checkbox/checkbox.js +8 -6
- package/lib/es/checkbox/checkboxGroup.js +2 -2
- package/lib/es/checkbox/checkboxInner.js +4 -3
- package/lib/es/collapse/index.js +3 -7
- package/lib/es/collapsible/index.js +4 -1
- package/lib/es/datePicker/datePicker.js +26 -20
- package/lib/es/datePicker/footer.js +3 -3
- package/lib/es/datePicker/index.d.ts +1 -1
- package/lib/es/datePicker/month.js +11 -7
- package/lib/es/datePicker/monthsGrid.js +4 -3
- package/lib/es/datePicker/navigation.js +6 -6
- package/lib/es/datePicker/yearAndMonth.d.ts +2 -2
- package/lib/es/datePicker/yearAndMonth.js +5 -4
- package/lib/es/descriptions/index.js +2 -2
- package/lib/es/dropdown/dropdownItem.js +4 -4
- package/lib/es/dropdown/index.js +4 -3
- package/lib/es/form/arrayField.js +7 -4
- package/lib/es/form/baseForm.d.ts +5 -11
- package/lib/es/form/baseForm.js +7 -8
- package/lib/es/form/field.d.ts +5 -23
- package/lib/es/form/field.js +2 -18
- package/lib/es/form/group.js +2 -2
- package/lib/es/form/hoc/withField.d.ts +1 -1
- package/lib/es/form/hoc/withField.js +0 -3
- package/lib/es/form/slot.js +7 -5
- package/lib/es/iconButton/index.d.ts +0 -1
- package/lib/es/iconButton/index.js +3 -4
- package/lib/es/input/index.js +17 -15
- package/lib/es/input/inputGroup.js +3 -3
- package/lib/es/input/textarea.js +13 -11
- package/lib/es/inputNumber/index.js +13 -12
- package/lib/es/list/index.js +3 -3
- package/lib/es/list/item.js +3 -3
- package/lib/es/locale/localeConsumer.d.ts +5 -5
- package/lib/es/locale/localeConsumer.js +5 -3
- package/lib/es/modal/Modal.js +5 -5
- package/lib/es/modal/ModalContent.js +3 -3
- package/lib/es/modal/confirm.js +2 -2
- package/lib/es/modal/useModal/HookModal.d.ts +3 -2
- package/lib/es/modal/useModal/HookModal.js +3 -2
- package/lib/es/modal/useModal/index.js +1 -1
- package/lib/es/navigation/CollapseButton.js +2 -2
- package/lib/es/navigation/Item.js +7 -6
- package/lib/es/navigation/SubNav.js +4 -3
- package/lib/es/navigation/index.d.ts +1 -1
- package/lib/es/navigation/index.js +12 -10
- package/lib/es/notification/index.d.ts +1 -1
- package/lib/es/notification/index.js +1 -1
- package/lib/es/notification/notice.js +5 -5
- package/lib/es/overflowList/index.js +13 -8
- package/lib/es/overflowList/intersectionObserver.js +4 -3
- package/lib/es/pagination/index.js +4 -4
- package/lib/es/popconfirm/index.d.ts +5 -1
- package/lib/es/popconfirm/index.js +16 -9
- package/lib/es/popover/Arrow.js +7 -4
- package/lib/es/popover/index.d.ts +3 -1
- package/lib/es/popover/index.js +4 -8
- package/lib/es/radio/context.d.ts +1 -1
- package/lib/es/radio/radio.d.ts +2 -2
- package/lib/es/radio/radio.js +3 -3
- package/lib/es/radio/radioGroup.d.ts +4 -4
- package/lib/es/radio/radioGroup.js +2 -2
- package/lib/es/radio/radioInner.js +2 -2
- package/lib/es/rating/index.d.ts +1 -1
- package/lib/es/resizeObserver/index.js +1 -0
- package/lib/es/scrollList/scrollItem.d.ts +12 -11
- package/lib/es/scrollList/scrollItem.js +32 -19
- package/lib/es/select/index.js +39 -27
- package/lib/es/select/option.js +6 -6
- package/lib/es/select/utils.d.ts +1 -1
- package/lib/es/select/utils.js +12 -8
- package/lib/es/sideSheet/SideSheetContent.d.ts +1 -1
- package/lib/es/sideSheet/SideSheetContent.js +2 -2
- package/lib/es/sideSheet/index.d.ts +3 -3
- package/lib/es/sideSheet/index.js +2 -2
- package/lib/es/slider/index.js +7 -6
- package/lib/es/space/index.js +10 -8
- package/lib/es/steps/basicStep.js +2 -2
- package/lib/es/steps/basicSteps.js +2 -2
- package/lib/es/steps/fillStep.js +2 -2
- package/lib/es/steps/fillSteps.js +3 -3
- package/lib/es/steps/index.js +2 -2
- package/lib/es/steps/navStep.js +2 -2
- package/lib/es/steps/navSteps.js +2 -2
- package/lib/es/switch/index.js +4 -4
- package/lib/es/table/Body/BaseRow.js +25 -15
- package/lib/es/table/Body/ExpandedRow.js +9 -6
- package/lib/es/table/Body/SectionRow.js +4 -3
- package/lib/es/table/Body/index.js +58 -31
- package/lib/es/table/ColGroup.js +4 -3
- package/lib/es/table/ColumnFilter.js +3 -3
- package/lib/es/table/ColumnSelection.js +2 -2
- package/lib/es/table/ColumnSorter.js +2 -2
- package/lib/es/table/CustomExpandIcon.js +8 -7
- package/lib/es/table/HeadTable.js +7 -4
- package/lib/es/table/ResizableTable.js +17 -9
- package/lib/es/table/Table.d.ts +1 -1
- package/lib/es/table/Table.js +69 -44
- package/lib/es/table/TableCell.js +24 -17
- package/lib/es/table/TableHeader.js +5 -4
- package/lib/es/table/TableHeaderRow.js +24 -11
- package/lib/es/table/TablePagination.js +7 -4
- package/lib/es/table/getColumns.js +5 -4
- package/lib/es/table/index.d.ts +1 -1
- package/lib/es/table/table-context.js +4 -3
- package/lib/es/table/utils.js +2 -2
- package/lib/es/tabs/TabBar.d.ts +4 -2
- package/lib/es/tabs/TabBar.js +14 -6
- package/lib/es/tabs/TabPane.d.ts +2 -1
- package/lib/es/tabs/TabPane.js +3 -2
- package/lib/es/tabs/TabPaneTransition.js +5 -5
- package/lib/es/tabs/index.d.ts +3 -1
- package/lib/es/tabs/index.js +90 -19
- package/lib/es/tabs/interface.d.ts +6 -1
- package/lib/es/tagInput/index.d.ts +3 -0
- package/lib/es/tagInput/index.js +28 -18
- package/lib/es/timePicker/Combobox.d.ts +10 -4
- package/lib/es/timePicker/Combobox.js +6 -5
- package/lib/es/timePicker/TimeInput.js +8 -8
- package/lib/es/timePicker/TimePicker.d.ts +1 -1
- package/lib/es/timePicker/TimePicker.js +9 -8
- package/lib/es/timePicker/index.js +2 -2
- package/lib/es/toast/index.d.ts +1 -1
- package/lib/es/toast/toast.js +3 -3
- package/lib/es/tooltip/index.d.ts +3 -0
- package/lib/es/tooltip/index.js +35 -16
- package/lib/es/transfer/index.js +16 -11
- package/lib/es/tree/autoSizer.js +4 -4
- package/lib/es/tree/collapse.js +2 -2
- package/lib/es/tree/index.js +12 -9
- package/lib/es/tree/interface.d.ts +2 -2
- package/lib/es/tree/nodeList.js +2 -2
- package/lib/es/tree/treeNode.js +7 -5
- package/lib/es/tree/treeUtil.js +4 -3
- package/lib/es/treeSelect/index.d.ts +2 -11
- package/lib/es/treeSelect/index.js +28 -20
- package/lib/es/typography/base.d.ts +1 -1
- package/lib/es/typography/base.js +17 -8
- package/lib/es/typography/paragraph.d.ts +1 -1
- package/lib/es/typography/text.d.ts +1 -1
- package/lib/es/typography/title.d.ts +1 -1
- package/lib/es/upload/fileCard.d.ts +3 -18
- package/lib/es/upload/index.d.ts +4 -57
- package/lib/es/upload/index.js +14 -14
- package/lib/es/upload/interface.d.ts +56 -0
- package/lib/es/upload/interface.js +1 -0
- package/package.json +12 -9
package/dist/css/semi.css
CHANGED
|
@@ -16585,6 +16585,13 @@ body[theme-mode=dark], body .semi-always-dark {
|
|
|
16585
16585
|
top: 3px;
|
|
16586
16586
|
color: var(--semi-color-text-2);
|
|
16587
16587
|
}
|
|
16588
|
+
.semi-tabs-bar .semi-tabs-tab .semi-icon-close {
|
|
16589
|
+
margin-right: 0;
|
|
16590
|
+
font-size: 14px;
|
|
16591
|
+
color: var(--semi-color-text-2);
|
|
16592
|
+
margin-left: 10px;
|
|
16593
|
+
cursor: pointer;
|
|
16594
|
+
}
|
|
16588
16595
|
.semi-tabs-bar .semi-tabs-tab:hover {
|
|
16589
16596
|
color: var(--semi-color-text-0);
|
|
16590
16597
|
}
|
|
@@ -16598,7 +16605,6 @@ body[theme-mode=dark], body .semi-always-dark {
|
|
|
16598
16605
|
color: var(--semi-color-text-0);
|
|
16599
16606
|
}
|
|
16600
16607
|
.semi-tabs-bar .semi-tabs-tab-active, .semi-tabs-bar .semi-tabs-tab-active:hover {
|
|
16601
|
-
color: var(--semi-color-text-0);
|
|
16602
16608
|
cursor: default;
|
|
16603
16609
|
font-weight: 600;
|
|
16604
16610
|
color: var(--semi-color-text-0);
|
|
@@ -16606,6 +16612,12 @@ body[theme-mode=dark], body .semi-always-dark {
|
|
|
16606
16612
|
.semi-tabs-bar .semi-tabs-tab-active .semi-icon, .semi-tabs-bar .semi-tabs-tab-active:hover .semi-icon {
|
|
16607
16613
|
color: var(--semi-color-primary);
|
|
16608
16614
|
}
|
|
16615
|
+
.semi-tabs-bar .semi-tabs-tab-active .semi-icon-close, .semi-tabs-bar .semi-tabs-tab-active:hover .semi-icon-close {
|
|
16616
|
+
color: var(--semi-color-text-2);
|
|
16617
|
+
}
|
|
16618
|
+
.semi-tabs-bar .semi-tabs-tab-active .semi-icon-close:hover {
|
|
16619
|
+
color: var(--semi-color-text-1);
|
|
16620
|
+
}
|
|
16609
16621
|
.semi-tabs-bar .semi-tabs-tab-disabled {
|
|
16610
16622
|
cursor: not-allowed;
|
|
16611
16623
|
color: var(--semi-color-disabled-text);
|
|
@@ -17671,6 +17683,7 @@ body[theme-mode=dark], body .semi-always-dark {
|
|
|
17671
17683
|
position: relative;
|
|
17672
17684
|
margin: 0 0 0 25px;
|
|
17673
17685
|
word-break: break-word;
|
|
17686
|
+
color: var(--semi-color-text-0);
|
|
17674
17687
|
}
|
|
17675
17688
|
.semi-timeline-item-content-extra, .semi-timeline-item-content-time {
|
|
17676
17689
|
font-size: 12px;
|