@uzum-tech/ui 0.1.2 → 1.0.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/README.md +0 -10
- package/dist/index.js +6610 -6311
- package/dist/index.prod.js +2 -2
- package/es/_internal/checkbox/index.d.ts +2 -0
- package/es/_internal/checkbox/index.js +1 -0
- package/es/_internal/checkbox/src/use-checkbox.d.ts +53 -0
- package/es/_internal/checkbox/src/use-checkbox.js +159 -0
- package/es/_internal/close/src/styles/index.cssr.js +2 -0
- package/es/_internal/icon/src/styles/index.cssr.js +2 -2
- package/es/_internal/icons/ChevronDown.js +2 -2
- package/es/_internal/icons/ChevronLeft.js +1 -1
- package/es/_internal/icons/ChevronRight.js +1 -1
- package/es/_internal/icons/Clear.js +2 -10
- package/es/_internal/icons/ClearSmall.d.ts +2 -0
- package/es/_internal/icons/ClearSmall.js +8 -0
- package/es/_internal/icons/Close.js +2 -4
- package/es/_internal/icons/Error.js +2 -4
- package/es/_internal/icons/Inactive.d.ts +2 -0
- package/es/_internal/icons/Inactive.js +8 -0
- package/es/_internal/icons/InfoOutline.d.ts +2 -0
- package/es/_internal/icons/InfoOutline.js +4 -0
- package/es/_internal/icons/Success.js +2 -4
- package/es/_internal/icons/Warning.js +2 -4
- package/es/_internal/icons/index.d.ts +3 -0
- package/es/_internal/icons/index.js +3 -0
- package/es/_internal/index.d.ts +4 -0
- package/es/_internal/index.js +2 -0
- package/es/_internal/radio/index.d.ts +2 -0
- package/es/_internal/radio/index.js +1 -0
- package/es/_internal/radio/src/interface.d.ts +12 -0
- package/{lib → es/_internal}/radio/src/use-radio.d.ts +6 -13
- package/es/{radio → _internal/radio}/src/use-radio.js +15 -19
- package/es/_internal/select-menu/src/SelectMenu.d.ts +180 -211
- package/es/_internal/select-menu/src/SelectMenu.js +3 -2
- package/es/_internal/select-menu/src/interface.d.ts +1 -1
- package/es/_internal/select-menu/src/styles/index.cssr.js +24 -18
- package/es/_internal/select-menu/styles/light.d.ts +17 -23
- package/es/_internal/select-menu/styles/light.js +34 -3
- package/es/_internal/selection/index.d.ts +1 -0
- package/es/_internal/selection/src/Selection.d.ts +583 -183
- package/es/_internal/selection/src/Selection.js +102 -28
- package/es/_internal/selection/src/interface.d.ts +1 -0
- package/es/_internal/selection/src/styles/index.cssr.d.ts +2 -1
- package/es/_internal/selection/src/styles/index.cssr.js +128 -35
- package/es/_internal/selection/styles/dark.js +2 -26
- package/es/_internal/selection/styles/light.d.ts +121 -17
- package/es/_internal/selection/styles/light.js +120 -20
- package/es/_internal/skeleton/src/styles/index.cssr.js +1 -1
- package/es/_internal/skeleton/styles/dark.js +2 -11
- package/es/_internal/skeleton/styles/light.d.ts +1 -2
- package/es/_internal/skeleton/styles/light.js +4 -4
- package/es/_styles/common/_common.d.ts +37 -12
- package/es/_styles/common/_common.js +44 -19
- package/es/_styles/common/dark.js +2 -98
- package/es/_styles/common/light.d.ts +88 -99
- package/es/_styles/common/light.js +1 -103
- package/es/_styles/global/index.cssr.js +4 -5
- package/es/_utils/index.d.ts +3 -0
- package/es/_utils/index.js +3 -0
- package/es/_utils/inject/index.d.ts +2 -0
- package/es/_utils/inject/index.js +7 -0
- package/es/_utils/themes/index.d.ts +1 -0
- package/es/_utils/themes/index.js +1 -0
- package/es/_utils/themes/rewrite-styles.d.ts +1 -0
- package/es/_utils/themes/rewrite-styles.js +6 -0
- package/es/_utils/types/index.d.ts +1 -0
- package/es/_utils/types/index.js +1 -0
- package/es/_utils/types/utility.types.d.ts +10 -0
- package/es/_utils/types/utility.types.js +1 -0
- package/es/_utils/uzum/prop.d.ts +2 -2
- package/es/_utils/uzum/prop.js +0 -2
- package/es/alert/src/Alert.d.ts +438 -271
- package/es/alert/src/Alert.js +53 -57
- package/es/alert/src/styles/index.cssr.js +92 -48
- package/es/alert/styles/_common.d.ts +7 -6
- package/es/alert/styles/_common.js +11 -8
- package/es/alert/styles/dark.js +2 -15
- package/es/alert/styles/light.d.ts +33 -16
- package/es/alert/styles/light.js +16 -9
- package/es/alert/styles/types.d.ts +4 -0
- package/es/alert/styles/types.js +1 -0
- package/es/anchor/src/AnchorAdapter.d.ts +30 -21
- package/es/anchor/src/AnchorAdapter.js +2 -1
- package/es/anchor/src/styles/index.cssr.js +2 -1
- package/es/anchor/styles/light.d.ts +4 -3
- package/es/anchor/styles/light.js +16 -5
- package/es/auto-complete/src/AutoComplete.d.ts +317 -327
- package/es/auto-complete/styles/light.d.ts +22 -22
- package/es/auto-complete/styles/light.js +2 -2
- package/es/avatar/src/Avatar.d.ts +0 -29
- package/es/avatar/src/Avatar.js +4 -7
- package/es/avatar/src/interface.d.ts +1 -1
- package/es/avatar/src/styles/index.cssr.js +2 -4
- package/es/avatar/styles/light.d.ts +0 -3
- package/es/avatar/styles/light.js +7 -11
- package/es/avatar-group/src/AvatarGroup.d.ts +88 -129
- package/es/avatar-group/styles/light.d.ts +0 -3
- package/es/back-top/src/BackTop.d.ts +24 -24
- package/es/back-top/styles/dark.js +2 -5
- package/es/back-top/styles/light.d.ts +5 -5
- package/es/back-top/styles/light.js +16 -4
- package/es/badge/src/Badge.d.ts +0 -10
- package/es/badge/src/Badge.js +1 -2
- package/es/badge/src/styles/index.cssr.js +0 -2
- package/es/badge/styles/dark.js +2 -12
- package/es/badge/styles/light.d.ts +1 -2
- package/es/badge/styles/light.js +8 -9
- package/es/breadcrumb/src/Breadcrumb.d.ts +10 -40
- package/es/breadcrumb/src/Breadcrumb.js +2 -5
- package/es/breadcrumb/src/styles/index.cssr.js +4 -9
- package/es/breadcrumb/styles/light.d.ts +1 -4
- package/es/breadcrumb/styles/light.js +11 -3
- package/es/button/src/Button.d.ts +11 -11
- package/es/button/src/Button.js +4 -4
- package/es/button/src/styles/index.cssr.js +4 -5
- package/es/button/styles/dark.js +1 -8
- package/es/button/styles/light.d.ts +1 -1
- package/es/button/styles/light.js +18 -18
- package/es/calendar/src/Calendar.d.ts +108 -119
- package/es/calendar/styles/light.d.ts +3 -3
- package/es/calendar/styles/light.js +23 -5
- package/es/card/src/Card.d.ts +295 -272
- package/es/card/src/Card.js +13 -16
- package/es/card/src/styles/index.cssr.js +6 -20
- package/es/card/styles/_common.d.ts +0 -6
- package/es/card/styles/_common.js +1 -7
- package/es/card/styles/dark.js +1 -8
- package/es/card/styles/light.d.ts +21 -17
- package/es/card/styles/light.js +2 -5
- package/es/cascader/src/Cascader.d.ts +1195 -555
- package/es/cascader/src/CascaderMenu.d.ts +207 -153
- package/es/cascader/src/CascaderOption.d.ts +207 -153
- package/es/cascader/src/CascaderSelectMenu.d.ts +207 -153
- package/es/cascader/src/CascaderSubmenu.d.ts +207 -153
- package/es/cascader/src/styles/index.cssr.js +3 -3
- package/es/cascader/styles/light.d.ts +109 -44
- package/es/cascader/styles/light.js +12 -12
- package/es/checkbox/index.d.ts +1 -1
- package/es/checkbox/src/Checkbox.d.ts +457 -304
- package/es/checkbox/src/Checkbox.js +45 -179
- package/es/checkbox/src/CheckboxGroup.d.ts +2 -12
- package/es/checkbox/src/CheckboxGroup.js +2 -2
- package/es/checkbox/src/styles/index.cssr.js +113 -190
- package/es/checkbox/styles/_common.d.ts +0 -3
- package/es/checkbox/styles/_common.js +3 -6
- package/es/checkbox/styles/dark.js +1 -7
- package/es/checkbox/styles/light.d.ts +29 -13
- package/es/checkbox/styles/light.js +2 -4
- package/es/code/styles/dark.js +7 -20
- package/es/code/styles/light.d.ts +1 -1
- package/es/code/styles/light.js +5 -5
- package/es/collapse/src/Collapse.d.ts +126 -104
- package/es/collapse/src/Collapse.js +4 -1
- package/es/collapse/src/CollapseItem.d.ts +2 -1
- package/es/collapse/src/CollapseItem.js +12 -11
- package/es/collapse/src/interface.d.ts +1 -0
- package/es/collapse/src/styles/index.cssr.js +7 -2
- package/es/collapse/styles/light.d.ts +3 -0
- package/es/collapse/styles/light.js +12 -9
- package/es/color-picker/src/ColorInputUnit.d.ts +103 -106
- package/es/color-picker/src/ColorPicker.d.ts +138 -63
- package/es/color-picker/src/ColorPicker.js +4 -1
- package/es/color-picker/src/ColorPickerTrigger.js +1 -6
- package/es/color-picker/src/styles/index.cssr.js +13 -1
- package/es/color-picker/styles/light.d.ts +20 -7
- package/es/color-picker/styles/light.js +15 -10
- package/es/components.d.ts +2 -0
- package/es/components.js +2 -0
- package/es/config-provider/src/internal-interface.d.ts +7 -2
- package/es/data-table/src/DataTable.d.ts +1978 -1437
- package/es/data-table/src/DataTable.js +2 -3
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +457 -347
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +462 -352
- package/es/data-table/src/TableParts/Body.d.ts +457 -347
- package/es/data-table/src/TableParts/Body.js +3 -2
- package/es/data-table/src/TableParts/Cell.d.ts +914 -694
- package/es/data-table/src/TableParts/Header.d.ts +457 -347
- package/es/data-table/src/TableParts/Header.js +3 -1
- package/es/data-table/src/interface.d.ts +750 -534
- package/es/data-table/src/styles/index.cssr.js +29 -36
- package/es/data-table/styles/dark.js +1 -6
- package/es/data-table/styles/light.d.ts +254 -183
- package/es/data-table/styles/light.js +58 -10
- package/es/date-picker/src/DatePicker.d.ts +748 -433
- package/es/date-picker/src/DatePicker.js +55 -19
- package/es/date-picker/src/interface.d.ts +2 -2
- package/es/date-picker/src/panel/date.d.ts +166 -138
- package/es/date-picker/src/panel/daterange.d.ts +160 -138
- package/es/date-picker/src/panel/datetime.d.ts +160 -138
- package/es/date-picker/src/panel/datetimerange.d.ts +160 -138
- package/es/date-picker/src/panel/monthrange.d.ts +160 -138
- package/es/date-picker/src/panel/panelMonth.d.ts +320 -276
- package/es/date-picker/src/panel/panelMonth.js +3 -3
- package/es/date-picker/src/panel/panelMonthContent.d.ts +160 -138
- package/es/date-picker/src/panel/panelYear.d.ts +320 -276
- package/es/date-picker/src/panel/panelYear.js +3 -3
- package/es/date-picker/src/panel/panelYearContent.d.ts +160 -138
- package/es/date-picker/src/panel/use-calendar.d.ts +160 -138
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +160 -138
- package/es/date-picker/src/panel/use-panel-common.d.ts +160 -138
- package/es/date-picker/src/styles/index.cssr.js +75 -64
- package/es/date-picker/styles/_common.d.ts +0 -1
- package/es/date-picker/styles/_common.js +0 -1
- package/es/date-picker/styles/dark.js +1 -9
- package/es/date-picker/styles/light.d.ts +97 -44
- package/es/date-picker/styles/light.js +12 -3
- package/es/descriptions/src/Descriptions.d.ts +48 -48
- package/es/descriptions/styles/light.d.ts +12 -12
- package/es/descriptions/styles/light.js +33 -7
- package/es/dialog/src/Dialog.d.ts +166 -159
- package/es/dialog/src/Dialog.js +20 -11
- package/es/dialog/src/DialogEnvironment.d.ts +6 -3
- package/es/dialog/src/DialogEnvironment.js +1 -1
- package/es/dialog/src/DialogProvider.d.ts +181 -202
- package/es/dialog/src/dialogProps.d.ts +3 -2
- package/es/dialog/src/dialogProps.js +2 -1
- package/es/dialog/src/styles/index.cssr.js +7 -5
- package/es/dialog/styles/_common.d.ts +1 -4
- package/es/dialog/styles/_common.js +6 -9
- package/es/dialog/styles/light.d.ts +19 -15
- package/es/dialog/styles/light.js +2 -7
- package/es/divider/src/Divider.d.ts +30 -0
- package/es/divider/src/Divider.js +5 -2
- package/es/divider/src/styles/index.cssr.js +7 -3
- package/es/divider/styles/light.d.ts +3 -0
- package/es/divider/styles/light.js +7 -4
- package/es/drawer/index.d.ts +1 -0
- package/es/drawer/src/Drawer.d.ts +312 -250
- package/es/drawer/src/Drawer.js +67 -31
- package/es/drawer/src/DrawerBodyWrapper.d.ts +107 -119
- package/es/drawer/src/DrawerBodyWrapper.js +6 -30
- package/es/drawer/src/DrawerContent.d.ts +158 -122
- package/es/drawer/src/DrawerContent.js +80 -11
- package/es/drawer/src/interface.d.ts +6 -1
- package/es/drawer/src/styles/index.cssr.js +57 -28
- package/es/drawer/styles/_common.d.ts +11 -0
- package/es/drawer/styles/_common.js +10 -0
- package/es/drawer/styles/light.d.ts +38 -24
- package/es/drawer/styles/light.js +3 -24
- package/es/dropdown/src/Dropdown.d.ts +322 -333
- package/es/dropdown/styles/dark.js +1 -10
- package/es/dropdown/styles/light.d.ts +34 -34
- package/es/dropdown/styles/light.js +57 -9
- package/es/dynamic-input/src/DynamicInput.d.ts +189 -170
- package/es/dynamic-input/src/InputPreset.d.ts +98 -106
- package/es/dynamic-input/src/PairPreset.d.ts +98 -106
- package/es/dynamic-input/styles/light.d.ts +10 -7
- package/es/dynamic-tags/src/DynamicTags.d.ts +375 -325
- package/es/dynamic-tags/src/DynamicTags.js +8 -3
- package/es/dynamic-tags/styles/light.d.ts +28 -22
- package/es/ellipsis/src/Ellipsis.d.ts +184 -195
- package/es/ellipsis/src/PerformantEllipsis.d.ts +54 -54
- package/es/ellipsis/styles/light.d.ts +9 -9
- package/es/empty/src/Empty.d.ts +24 -24
- package/es/empty/styles/light.d.ts +4 -4
- package/es/empty/styles/light.js +14 -6
- package/es/form/src/Form.d.ts +117 -99
- package/es/form/src/FormItem.d.ts +119 -102
- package/es/form/src/FormItem.js +3 -4
- package/es/form/src/FormItemCol.d.ts +117 -99
- package/es/form/src/FormItemGridItem.d.ts +117 -99
- package/es/form/src/FormItemRow.d.ts +117 -99
- package/es/form/src/styles/form-item.cssr.js +15 -18
- package/es/form/styles/light.d.ts +17 -15
- package/es/form/styles/light.js +35 -3
- package/es/global-style/src/GlobalStyle.js +5 -5
- package/es/gradient-text/src/styles/index.cssr.js +1 -0
- package/es/gradient-text/styles/dark.js +2 -17
- package/es/gradient-text/styles/light.d.ts +1 -1
- package/es/gradient-text/styles/light.js +13 -13
- package/es/icon/styles/light.js +7 -7
- package/es/icon-wrapper/styles/light.js +3 -3
- package/es/image/src/Image.d.ts +90 -81
- package/es/image/src/ImageGroup.d.ts +90 -81
- package/es/image/src/ImagePreview.d.ts +61 -54
- package/es/image/src/ImagePreview.js +3 -2
- package/es/image/src/interface.d.ts +30 -27
- package/es/image/src/styles/index.cssr.js +1 -1
- package/es/image/styles/dark.js +2 -9
- package/es/image/styles/light.d.ts +13 -11
- package/es/image/styles/light.js +7 -5
- package/es/input/index.d.ts +1 -1
- package/es/input/src/Input.d.ts +166 -147
- package/es/input/src/Input.js +8 -5
- package/es/input/src/InputGroupLabel.d.ts +68 -41
- package/es/input/src/interface.d.ts +1 -1
- package/es/input/src/styles/input.cssr.js +5 -6
- package/es/input/styles/dark.js +2 -20
- package/es/input/styles/light.d.ts +10 -7
- package/es/input/styles/light.js +70 -15
- package/es/input-number/src/InputNumber.d.ts +204 -208
- package/es/input-number/src/InputNumber.js +4 -12
- package/es/input-number/src/interface.d.ts +0 -1
- package/es/input-number/styles/dark.js +2 -6
- package/es/input-number/styles/light.d.ts +12 -13
- package/es/input-number/styles/light.js +2 -5
- package/es/layout/src/Layout.d.ts +204 -198
- package/es/layout/src/LayoutContent.d.ts +102 -99
- package/es/layout/src/LayoutFooter.d.ts +18 -0
- package/es/layout/src/LayoutHeader.d.ts +12 -0
- package/es/layout/src/LayoutSider.d.ts +102 -99
- package/es/layout/src/LayoutSider.js +5 -3
- package/es/layout/src/ToggleButton.d.ts +2 -2
- package/es/layout/styles/dark.js +2 -29
- package/es/layout/styles/light.d.ts +4 -0
- package/es/layout/styles/light.js +25 -24
- package/es/legacy-transfer/src/Transfer.d.ts +538 -359
- package/es/legacy-transfer/src/TransferFilter.d.ts +133 -125
- package/es/legacy-transfer/src/TransferList.d.ts +133 -125
- package/es/legacy-transfer/src/TransferListItem.d.ts +133 -125
- package/es/legacy-transfer/styles/dark.js +2 -9
- package/es/legacy-transfer/styles/light.d.ts +48 -29
- package/es/legacy-transfer/styles/light.js +25 -9
- package/es/list/index.d.ts +3 -2
- package/es/list/index.js +2 -1
- package/es/list/src/List.d.ts +218 -83
- package/es/list/src/List.js +37 -22
- package/es/list/src/ListItem.d.ts +122 -3
- package/es/list/src/ListItem.js +184 -12
- package/es/list/src/interface.d.ts +35 -0
- package/es/list/src/interface.js +1 -0
- package/es/list/src/props.d.ts +228 -0
- package/es/list/src/props.js +59 -0
- package/es/list/src/styles/index.cssr.js +142 -48
- package/es/list/styles/light.d.ts +15 -0
- package/es/list/styles/light.js +27 -13
- package/es/loading-bar/styles/dark.js +2 -8
- package/es/loading-bar/styles/light.d.ts +1 -1
- package/es/loading-bar/styles/light.js +4 -4
- package/es/log/src/Log.d.ts +88 -99
- package/es/log/styles/dark.js +2 -10
- package/es/log/styles/light.d.ts +1 -1
- package/es/log/styles/light.js +7 -7
- package/es/mention/src/Mention.d.ts +314 -325
- package/es/mention/styles/dark.js +2 -6
- package/es/mention/styles/light.d.ts +23 -23
- package/es/mention/styles/light.js +3 -3
- package/es/menu/src/Menu.d.ts +490 -501
- package/es/menu/src/MenuOption.d.ts +138 -149
- package/es/menu/src/Submenu.d.ts +138 -149
- package/es/menu/styles/dark.js +1 -14
- package/es/menu/styles/light.d.ts +38 -38
- package/es/menu/styles/light.js +2 -4
- package/es/message/src/Message.d.ts +3 -7
- package/es/message/src/Message.js +10 -24
- package/es/message/src/MessageProvider.d.ts +195 -258
- package/es/message/src/MessageProvider.js +1 -1
- package/es/message/src/styles/index.cssr.js +10 -10
- package/es/message/styles/_common.d.ts +0 -5
- package/es/message/styles/_common.js +3 -8
- package/es/message/styles/light.d.ts +23 -30
- package/es/message/styles/light.js +14 -7
- package/es/message/styles/types.d.ts +4 -0
- package/es/message/styles/types.js +1 -0
- package/es/modal/src/BodyWrapper.d.ts +140 -173
- package/es/modal/src/BodyWrapper.js +7 -13
- package/es/modal/src/Modal.d.ts +340 -303
- package/es/modal/src/Modal.js +8 -6
- package/es/modal/src/presetProps.d.ts +20 -32
- package/es/modal/src/presetProps.js +4 -2
- package/es/modal/src/styles/index.cssr.js +2 -3
- package/es/modal/styles/light.d.ts +39 -27
- package/es/modal/styles/light.js +7 -4
- package/es/notification/src/Notification.d.ts +15 -7
- package/es/notification/src/Notification.js +14 -16
- package/es/notification/src/NotificationContainer.d.ts +159 -115
- package/es/notification/src/NotificationEnvironment.d.ts +8 -7
- package/es/notification/src/NotificationProvider.d.ts +644 -146
- package/es/notification/src/NotificationProvider.js +2 -1
- package/es/notification/src/styles/index.cssr.js +20 -25
- package/es/notification/styles/_common.d.ts +1 -6
- package/es/notification/styles/_common.js +2 -7
- package/es/notification/styles/light.d.ts +142 -32
- package/es/notification/styles/light.js +14 -7
- package/es/page-header/src/PageHeader.d.ts +18 -18
- package/es/page-header/styles/light.d.ts +4 -4
- package/es/page-header/styles/light.js +12 -3
- package/es/pagination/src/Pagination.d.ts +1564 -1039
- package/es/pagination/src/Pagination.js +1 -2
- package/es/pagination/src/styles/index.cssr.js +2 -4
- package/es/pagination/styles/dark.js +1 -11
- package/es/pagination/styles/light.d.ts +140 -91
- package/es/pagination/styles/light.js +73 -7
- package/es/popconfirm/src/Popconfirm.d.ts +172 -183
- package/es/popconfirm/styles/light.d.ts +9 -9
- package/es/popconfirm/styles/light.js +6 -3
- package/es/popover/src/Popover.d.ts +35 -35
- package/es/popover/src/Popover.js +2 -4
- package/es/popover/src/PopoverBody.d.ts +30 -30
- package/es/popover/src/PopoverBody.js +1 -6
- package/es/popover/styles/light.d.ts +6 -6
- package/es/popover/styles/light.js +15 -4
- package/es/popselect/src/Popselect.d.ts +286 -327
- package/es/popselect/src/PopselectPanel.d.ts +112 -126
- package/es/popselect/src/interface.d.ts +1 -1
- package/es/popselect/styles/light.d.ts +19 -22
- package/es/popselect/styles/light.js +2 -2
- package/es/progress/styles/dark.js +1 -7
- package/es/progress/styles/light.js +18 -18
- package/es/radio/src/Radio.d.ts +129 -50
- package/es/radio/src/Radio.js +17 -6
- package/es/radio/src/RadioButton.d.ts +5 -2
- package/es/radio/src/RadioButton.js +2 -2
- package/es/radio/src/RadioGroup.d.ts +121 -49
- package/es/radio/src/RadioGroup.js +1 -1
- package/es/radio/src/styles/radio-group.cssr.js +7 -7
- package/es/radio/src/styles/radio.cssr.js +19 -25
- package/es/radio/src/styles/rtl.cssr.js +2 -2
- package/es/radio/styles/dark.js +2 -8
- package/es/radio/styles/light.d.ts +15 -7
- package/es/radio/styles/light.js +54 -6
- package/es/rate/styles/dark.js +2 -11
- package/es/rate/styles/light.d.ts +1 -1
- package/es/rate/styles/light.js +4 -4
- package/es/result/src/Result.d.ts +36 -36
- package/es/result/styles/light.d.ts +8 -8
- package/es/result/styles/light.js +27 -3
- package/es/select/src/Select.d.ts +877 -385
- package/es/select/src/Select.js +2 -2
- package/es/select/src/interface.d.ts +0 -1
- package/es/select/styles/light.d.ts +76 -27
- package/es/select/styles/light.js +2 -2
- package/es/skeleton/src/styles/index.cssr.js +1 -1
- package/es/skeleton/styles/dark.js +2 -11
- package/es/skeleton/styles/light.d.ts +1 -2
- package/es/skeleton/styles/light.js +4 -4
- package/es/slider/src/Slider.d.ts +30 -30
- package/es/slider/styles/dark.js +2 -6
- package/es/slider/styles/light.d.ts +7 -7
- package/es/slider/styles/light.js +32 -6
- package/es/spin/styles/light.js +9 -15
- package/es/statistic/styles/light.js +7 -7
- package/es/status/index.d.ts +2 -0
- package/es/status/index.js +1 -0
- package/es/status/src/Status.d.ts +139 -0
- package/es/status/src/Status.js +81 -0
- package/es/status/src/styles/index.cssr.d.ts +2 -0
- package/es/status/src/styles/index.cssr.js +24 -0
- package/es/status/styles/dark.d.ts +3 -0
- package/es/status/styles/dark.js +8 -0
- package/es/status/styles/index.d.ts +3 -0
- package/es/status/styles/index.js +2 -0
- package/es/status/styles/light.d.ts +17 -0
- package/es/status/styles/light.js +21 -0
- package/es/steps/src/Step.d.ts +7 -1
- package/es/steps/src/Step.js +31 -22
- package/es/steps/src/Steps.d.ts +36 -36
- package/es/steps/src/styles/index.cssr.js +18 -3
- package/es/steps/styles/light.d.ts +8 -8
- package/es/steps/styles/light.js +36 -3
- package/es/styles.d.ts +2 -0
- package/es/styles.js +2 -0
- package/es/switch/src/Switch.d.ts +67 -67
- package/es/switch/styles/dark.js +2 -7
- package/es/switch/styles/light.d.ts +16 -16
- package/es/switch/styles/light.js +48 -5
- package/es/table/src/Table.d.ts +30 -30
- package/es/table/styles/light.d.ts +6 -6
- package/es/table/styles/light.js +29 -8
- package/es/tabs/src/Tab.js +5 -2
- package/es/tabs/src/Tabs.d.ts +160 -141
- package/es/tabs/src/Tabs.js +3 -2
- package/es/tabs/src/styles/index.cssr.js +17 -12
- package/es/tabs/styles/dark.js +1 -7
- package/es/tabs/styles/light.d.ts +35 -33
- package/es/tabs/styles/light.js +94 -7
- package/es/tag/src/Tag.d.ts +115 -87
- package/es/tag/src/Tag.js +2 -1
- package/es/tag/src/styles/index.cssr.js +1 -1
- package/es/tag/styles/dark.js +2 -29
- package/es/tag/styles/light.d.ts +19 -16
- package/es/tag/styles/light.js +113 -20
- package/es/theme-editor/src/ThemeEditor.d.ts +88 -99
- package/es/theme-editor/src/ThemeEditor.js +35 -2
- package/es/themes/dark.js +5 -1
- package/es/themes/light.js +5 -1
- package/es/thing/styles/light.js +4 -4
- package/es/time-picker/src/Panel.d.ts +104 -111
- package/es/time-picker/src/Panel.js +2 -2
- package/es/time-picker/src/TimePicker.d.ts +244 -214
- package/es/time-picker/src/TimePicker.js +2 -1
- package/es/time-picker/src/interface.d.ts +2 -1
- package/es/time-picker/src/styles/index.cssr.js +1 -0
- package/es/time-picker/styles/light.d.ts +19 -14
- package/es/time-picker/styles/light.js +19 -5
- package/es/timeline/src/Timeline.d.ts +30 -30
- package/es/timeline/styles/dark.js +2 -5
- package/es/timeline/styles/light.d.ts +7 -7
- package/es/timeline/styles/light.js +26 -4
- package/es/toggle-button/index.d.ts +2 -0
- package/es/toggle-button/index.js +1 -0
- package/es/toggle-button/src/ToggleButton.d.ts +551 -0
- package/es/toggle-button/src/ToggleButton.js +128 -0
- package/es/toggle-button/src/styles/toggle-button.cssr.d.ts +2 -0
- package/es/toggle-button/src/styles/toggle-button.cssr.js +73 -0
- package/es/toggle-button/styles/_common.d.ts +7 -0
- package/es/toggle-button/styles/_common.js +6 -0
- package/es/toggle-button/styles/dark.d.ts +3 -0
- package/es/toggle-button/styles/dark.js +8 -0
- package/es/toggle-button/styles/index.d.ts +3 -0
- package/es/toggle-button/styles/index.js +2 -0
- package/es/toggle-button/styles/light.d.ts +47 -0
- package/es/toggle-button/styles/light.js +18 -0
- package/es/tooltip/src/Tooltip.d.ts +185 -196
- package/es/tooltip/styles/dark.js +2 -5
- package/es/tooltip/styles/light.d.ts +13 -13
- package/es/tooltip/styles/light.js +19 -4
- package/es/transfer/src/Transfer.d.ts +632 -453
- package/es/transfer/src/TransferFilter.d.ts +142 -134
- package/es/transfer/src/TransferList.d.ts +142 -134
- package/es/transfer/src/TransferListItem.d.ts +142 -134
- package/es/transfer/src/styles/index.cssr.js +2 -0
- package/es/transfer/styles/dark.js +2 -13
- package/es/transfer/styles/light.d.ts +58 -39
- package/es/transfer/styles/light.js +39 -12
- package/es/tree/src/Tree.d.ts +418 -269
- package/es/tree/src/TreeNodeCheckbox.d.ts +121 -116
- package/es/tree/src/styles/index.cssr.js +5 -1
- package/es/tree/styles/dark.js +1 -7
- package/es/tree/styles/light.d.ts +33 -17
- package/es/tree/styles/light.js +14 -15
- package/es/tree-select/src/TreeSelect.d.ts +1145 -459
- package/es/tree-select/styles/light.d.ts +100 -32
- package/es/tree-select/styles/light.js +6 -6
- package/es/typography/src/a.d.ts +56 -56
- package/es/typography/src/blockquote.d.ts +61 -61
- package/es/typography/src/create-header.d.ts +74 -74
- package/es/typography/src/headers.d.ts +300 -300
- package/es/typography/src/hr.d.ts +47 -47
- package/es/typography/src/ol.d.ts +63 -63
- package/es/typography/src/p.d.ts +61 -61
- package/es/typography/src/text.d.ts +89 -89
- package/es/typography/src/ul.d.ts +63 -63
- package/es/typography/styles/light.d.ts +28 -28
- package/es/typography/styles/light.js +67 -3
- package/es/upload/src/Upload.d.ts +111 -149
- package/es/upload/src/UploadFile.d.ts +89 -100
- package/es/upload/src/UploadProgress.d.ts +89 -100
- package/es/upload/src/styles/index.cssr.js +5 -4
- package/es/upload/styles/dark.js +1 -9
- package/es/upload/styles/light.d.ts +1 -1
- package/es/upload/styles/light.js +22 -22
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/_internal/checkbox/index.d.ts +2 -0
- package/lib/_internal/checkbox/index.js +7 -0
- package/lib/_internal/checkbox/src/use-checkbox.d.ts +53 -0
- package/lib/_internal/checkbox/src/use-checkbox.js +163 -0
- package/lib/_internal/close/src/styles/index.cssr.js +2 -0
- package/lib/_internal/icon/src/styles/index.cssr.js +2 -2
- package/lib/_internal/icons/ChevronDown.js +2 -2
- package/lib/_internal/icons/ChevronLeft.js +1 -1
- package/lib/_internal/icons/ChevronRight.js +1 -1
- package/lib/_internal/icons/Clear.js +2 -10
- package/lib/_internal/icons/ClearSmall.d.ts +2 -0
- package/lib/_internal/icons/ClearSmall.js +10 -0
- package/lib/_internal/icons/Close.js +2 -4
- package/lib/_internal/icons/Error.js +2 -4
- package/lib/_internal/icons/Inactive.d.ts +2 -0
- package/lib/_internal/icons/Inactive.js +10 -0
- package/lib/_internal/icons/InfoOutline.d.ts +2 -0
- package/lib/_internal/icons/InfoOutline.js +6 -0
- package/lib/_internal/icons/Success.js +2 -4
- package/lib/_internal/icons/Warning.js +2 -4
- package/lib/_internal/icons/index.d.ts +3 -0
- package/lib/_internal/icons/index.js +7 -1
- package/lib/_internal/index.d.ts +4 -0
- package/lib/_internal/index.js +9 -1
- package/lib/_internal/radio/index.d.ts +2 -0
- package/lib/_internal/radio/index.js +17 -0
- package/lib/_internal/radio/src/interface.d.ts +12 -0
- package/{es → lib/_internal}/radio/src/use-radio.d.ts +6 -13
- package/lib/{radio → _internal/radio}/src/use-radio.js +15 -19
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +180 -211
- package/lib/_internal/select-menu/src/SelectMenu.js +3 -2
- package/lib/_internal/select-menu/src/interface.d.ts +1 -1
- package/lib/_internal/select-menu/src/styles/index.cssr.js +24 -18
- package/lib/_internal/select-menu/styles/light.d.ts +17 -23
- package/lib/_internal/select-menu/styles/light.js +34 -6
- package/lib/_internal/selection/index.d.ts +1 -0
- package/lib/_internal/selection/src/Selection.d.ts +583 -183
- package/lib/_internal/selection/src/Selection.js +102 -28
- package/lib/_internal/selection/src/interface.d.ts +1 -0
- package/lib/_internal/selection/src/styles/index.cssr.d.ts +2 -1
- package/lib/_internal/selection/src/styles/index.cssr.js +128 -40
- package/lib/_internal/selection/styles/dark.js +2 -29
- package/lib/_internal/selection/styles/light.d.ts +121 -17
- package/lib/_internal/selection/styles/light.js +122 -23
- package/lib/_internal/skeleton/src/styles/index.cssr.js +1 -1
- package/lib/_internal/skeleton/styles/dark.js +2 -11
- package/lib/_internal/skeleton/styles/light.d.ts +1 -2
- package/lib/_internal/skeleton/styles/light.js +6 -5
- package/lib/_styles/common/_common.d.ts +37 -12
- package/lib/_styles/common/_common.js +44 -19
- package/lib/_styles/common/dark.js +2 -98
- package/lib/_styles/common/light.d.ts +88 -99
- package/lib/_styles/common/light.js +1 -103
- package/lib/_styles/global/index.cssr.js +4 -5
- package/lib/_utils/index.d.ts +3 -0
- package/lib/_utils/index.js +5 -1
- package/lib/_utils/inject/index.d.ts +2 -0
- package/lib/_utils/inject/index.js +11 -0
- package/lib/_utils/themes/index.d.ts +1 -0
- package/lib/_utils/themes/index.js +5 -0
- package/lib/_utils/themes/rewrite-styles.d.ts +1 -0
- package/lib/_utils/themes/rewrite-styles.js +10 -0
- package/lib/_utils/types/index.d.ts +1 -0
- package/lib/_utils/types/index.js +17 -0
- package/lib/_utils/types/utility.types.d.ts +10 -0
- package/lib/{popconfirm/styles/_common.js → _utils/types/utility.types.js} +0 -3
- package/lib/_utils/uzum/prop.d.ts +2 -2
- package/lib/_utils/uzum/prop.js +0 -2
- package/lib/alert/src/Alert.d.ts +438 -271
- package/lib/alert/src/Alert.js +51 -55
- package/lib/alert/src/styles/index.cssr.js +92 -48
- package/lib/alert/styles/_common.d.ts +7 -6
- package/lib/alert/styles/_common.js +11 -8
- package/lib/alert/styles/dark.js +2 -18
- package/lib/alert/styles/light.d.ts +33 -16
- package/lib/alert/styles/light.js +18 -9
- package/lib/alert/styles/types.d.ts +4 -0
- package/lib/{calendar/styles/_common.js → alert/styles/types.js} +0 -3
- package/lib/anchor/src/AnchorAdapter.d.ts +30 -21
- package/lib/anchor/src/AnchorAdapter.js +2 -1
- package/lib/anchor/src/styles/index.cssr.js +2 -1
- package/lib/anchor/styles/light.d.ts +4 -3
- package/lib/anchor/styles/light.js +16 -8
- package/lib/auto-complete/src/AutoComplete.d.ts +317 -327
- package/lib/auto-complete/styles/light.d.ts +22 -22
- package/lib/auto-complete/styles/light.js +2 -2
- package/lib/avatar/src/Avatar.d.ts +0 -29
- package/lib/avatar/src/Avatar.js +4 -7
- package/lib/avatar/src/interface.d.ts +1 -1
- package/lib/avatar/src/styles/index.cssr.js +1 -3
- package/lib/avatar/styles/light.d.ts +0 -3
- package/lib/avatar/styles/light.js +7 -11
- package/lib/avatar-group/src/AvatarGroup.d.ts +88 -129
- package/lib/avatar-group/styles/light.d.ts +0 -3
- package/lib/back-top/src/BackTop.d.ts +24 -24
- package/lib/back-top/styles/dark.js +2 -8
- package/lib/back-top/styles/light.d.ts +5 -5
- package/lib/back-top/styles/light.js +18 -7
- package/lib/badge/src/Badge.d.ts +0 -10
- package/lib/badge/src/Badge.js +1 -2
- package/lib/badge/src/styles/index.cssr.js +0 -2
- package/lib/badge/styles/dark.js +2 -12
- package/lib/badge/styles/light.d.ts +1 -2
- package/lib/badge/styles/light.js +10 -9
- package/lib/breadcrumb/src/Breadcrumb.d.ts +10 -40
- package/lib/breadcrumb/src/Breadcrumb.js +2 -5
- package/lib/breadcrumb/src/styles/index.cssr.js +4 -9
- package/lib/breadcrumb/styles/light.d.ts +1 -4
- package/lib/breadcrumb/styles/light.js +11 -6
- package/lib/button/src/Button.d.ts +11 -11
- package/lib/button/src/Button.js +4 -4
- package/lib/button/src/styles/index.cssr.js +4 -10
- package/lib/button/styles/dark.js +1 -8
- package/lib/button/styles/light.d.ts +1 -1
- package/lib/button/styles/light.js +18 -18
- package/lib/calendar/src/Calendar.d.ts +108 -119
- package/lib/calendar/styles/light.d.ts +3 -3
- package/lib/calendar/styles/light.js +23 -8
- package/lib/card/src/Card.d.ts +295 -272
- package/lib/card/src/Card.js +13 -16
- package/lib/card/src/styles/index.cssr.js +5 -19
- package/lib/card/styles/_common.d.ts +0 -6
- package/lib/card/styles/_common.js +1 -7
- package/lib/card/styles/dark.js +1 -8
- package/lib/card/styles/light.d.ts +21 -17
- package/lib/card/styles/light.js +2 -5
- package/lib/cascader/src/Cascader.d.ts +1195 -555
- package/lib/cascader/src/CascaderMenu.d.ts +207 -153
- package/lib/cascader/src/CascaderOption.d.ts +207 -153
- package/lib/cascader/src/CascaderSelectMenu.d.ts +207 -153
- package/lib/cascader/src/CascaderSubmenu.d.ts +207 -153
- package/lib/cascader/src/styles/index.cssr.js +3 -3
- package/lib/cascader/styles/light.d.ts +109 -44
- package/lib/cascader/styles/light.js +12 -12
- package/lib/checkbox/index.d.ts +1 -1
- package/lib/checkbox/src/Checkbox.d.ts +457 -304
- package/lib/checkbox/src/Checkbox.js +41 -175
- package/lib/checkbox/src/CheckboxGroup.d.ts +2 -12
- package/lib/checkbox/src/CheckboxGroup.js +3 -3
- package/lib/checkbox/src/styles/index.cssr.js +112 -189
- package/lib/checkbox/styles/_common.d.ts +0 -3
- package/lib/checkbox/styles/_common.js +3 -6
- package/lib/checkbox/styles/dark.js +1 -7
- package/lib/checkbox/styles/light.d.ts +29 -13
- package/lib/checkbox/styles/light.js +2 -4
- package/lib/code/styles/dark.js +7 -20
- package/lib/code/styles/light.d.ts +1 -1
- package/lib/code/styles/light.js +7 -5
- package/lib/collapse/src/Collapse.d.ts +126 -104
- package/lib/collapse/src/Collapse.js +4 -1
- package/lib/collapse/src/CollapseItem.d.ts +2 -1
- package/lib/collapse/src/CollapseItem.js +12 -11
- package/lib/collapse/src/interface.d.ts +1 -0
- package/lib/collapse/src/styles/index.cssr.js +7 -2
- package/lib/collapse/styles/light.d.ts +3 -0
- package/lib/collapse/styles/light.js +12 -9
- package/lib/color-picker/src/ColorInputUnit.d.ts +103 -106
- package/lib/color-picker/src/ColorPicker.d.ts +138 -63
- package/lib/color-picker/src/ColorPicker.js +4 -1
- package/lib/color-picker/src/ColorPickerTrigger.js +1 -6
- package/lib/color-picker/src/styles/index.cssr.js +13 -1
- package/lib/color-picker/styles/light.d.ts +20 -7
- package/lib/color-picker/styles/light.js +15 -10
- package/lib/components.d.ts +2 -0
- package/lib/components.js +2 -0
- package/lib/config-provider/src/internal-interface.d.ts +7 -2
- package/lib/data-table/src/DataTable.d.ts +1978 -1437
- package/lib/data-table/src/DataTable.js +2 -3
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +457 -347
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +462 -352
- package/lib/data-table/src/TableParts/Body.d.ts +457 -347
- package/lib/data-table/src/TableParts/Body.js +3 -2
- package/lib/data-table/src/TableParts/Cell.d.ts +914 -694
- package/lib/data-table/src/TableParts/Header.d.ts +457 -347
- package/lib/data-table/src/TableParts/Header.js +3 -1
- package/lib/data-table/src/interface.d.ts +750 -534
- package/lib/data-table/src/styles/index.cssr.js +29 -36
- package/lib/data-table/styles/dark.js +1 -6
- package/lib/data-table/styles/light.d.ts +254 -183
- package/lib/data-table/styles/light.js +58 -13
- package/lib/date-picker/src/DatePicker.d.ts +748 -433
- package/lib/date-picker/src/DatePicker.js +52 -16
- package/lib/date-picker/src/interface.d.ts +2 -2
- package/lib/date-picker/src/panel/date.d.ts +166 -138
- package/lib/date-picker/src/panel/daterange.d.ts +160 -138
- package/lib/date-picker/src/panel/datetime.d.ts +160 -138
- package/lib/date-picker/src/panel/datetimerange.d.ts +160 -138
- package/lib/date-picker/src/panel/monthrange.d.ts +160 -138
- package/lib/date-picker/src/panel/panelMonth.d.ts +320 -276
- package/lib/date-picker/src/panel/panelMonth.js +2 -2
- package/lib/date-picker/src/panel/panelMonthContent.d.ts +160 -138
- package/lib/date-picker/src/panel/panelYear.d.ts +320 -276
- package/lib/date-picker/src/panel/panelYear.js +2 -2
- package/lib/date-picker/src/panel/panelYearContent.d.ts +160 -138
- package/lib/date-picker/src/panel/use-calendar.d.ts +160 -138
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +160 -138
- package/lib/date-picker/src/panel/use-panel-common.d.ts +160 -138
- package/lib/date-picker/src/styles/index.cssr.js +75 -64
- package/lib/date-picker/styles/_common.d.ts +0 -1
- package/lib/date-picker/styles/_common.js +0 -1
- package/lib/date-picker/styles/dark.js +1 -9
- package/lib/date-picker/styles/light.d.ts +97 -44
- package/lib/date-picker/styles/light.js +12 -3
- package/lib/descriptions/src/Descriptions.d.ts +48 -48
- package/lib/descriptions/styles/light.d.ts +12 -12
- package/lib/descriptions/styles/light.js +33 -10
- package/lib/dialog/src/Dialog.d.ts +166 -159
- package/lib/dialog/src/Dialog.js +20 -11
- package/lib/dialog/src/DialogEnvironment.d.ts +6 -3
- package/lib/dialog/src/DialogEnvironment.js +1 -1
- package/lib/dialog/src/DialogProvider.d.ts +181 -202
- package/lib/dialog/src/dialogProps.d.ts +3 -2
- package/lib/dialog/src/dialogProps.js +2 -1
- package/lib/dialog/src/styles/index.cssr.js +7 -5
- package/lib/dialog/styles/_common.d.ts +1 -4
- package/lib/dialog/styles/_common.js +6 -9
- package/lib/dialog/styles/light.d.ts +19 -15
- package/lib/dialog/styles/light.js +2 -7
- package/lib/divider/src/Divider.d.ts +30 -0
- package/lib/divider/src/Divider.js +5 -2
- package/lib/divider/src/styles/index.cssr.js +7 -3
- package/lib/divider/styles/light.d.ts +3 -0
- package/lib/divider/styles/light.js +7 -4
- package/lib/drawer/index.d.ts +1 -0
- package/lib/drawer/src/Drawer.d.ts +312 -250
- package/lib/drawer/src/Drawer.js +67 -31
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +107 -119
- package/lib/drawer/src/DrawerBodyWrapper.js +6 -30
- package/lib/drawer/src/DrawerContent.d.ts +158 -122
- package/lib/drawer/src/DrawerContent.js +79 -10
- package/lib/drawer/src/interface.d.ts +6 -1
- package/lib/drawer/src/styles/index.cssr.js +57 -28
- package/lib/drawer/styles/_common.d.ts +11 -0
- package/lib/drawer/styles/_common.js +12 -0
- package/lib/drawer/styles/light.d.ts +38 -24
- package/lib/drawer/styles/light.js +6 -24
- package/lib/dropdown/src/Dropdown.d.ts +322 -333
- package/lib/dropdown/styles/dark.js +1 -10
- package/lib/dropdown/styles/light.d.ts +34 -34
- package/lib/dropdown/styles/light.js +57 -12
- package/lib/dynamic-input/src/DynamicInput.d.ts +189 -170
- package/lib/dynamic-input/src/InputPreset.d.ts +98 -106
- package/lib/dynamic-input/src/PairPreset.d.ts +98 -106
- package/lib/dynamic-input/styles/light.d.ts +10 -7
- package/lib/dynamic-tags/src/DynamicTags.d.ts +375 -325
- package/lib/dynamic-tags/src/DynamicTags.js +8 -3
- package/lib/dynamic-tags/styles/light.d.ts +28 -22
- package/lib/ellipsis/src/Ellipsis.d.ts +184 -195
- package/lib/ellipsis/src/PerformantEllipsis.d.ts +54 -54
- package/lib/ellipsis/styles/light.d.ts +9 -9
- package/lib/empty/src/Empty.d.ts +24 -24
- package/lib/empty/styles/light.d.ts +4 -4
- package/lib/empty/styles/light.js +14 -9
- package/lib/form/src/Form.d.ts +117 -99
- package/lib/form/src/FormItem.d.ts +119 -102
- package/lib/form/src/FormItem.js +3 -4
- package/lib/form/src/FormItemCol.d.ts +117 -99
- package/lib/form/src/FormItemGridItem.d.ts +117 -99
- package/lib/form/src/FormItemRow.d.ts +117 -99
- package/lib/form/src/styles/form-item.cssr.js +14 -17
- package/lib/form/styles/light.d.ts +17 -15
- package/lib/form/styles/light.js +35 -6
- package/lib/global-style/src/GlobalStyle.js +5 -5
- package/lib/gradient-text/src/styles/index.cssr.js +1 -0
- package/lib/gradient-text/styles/dark.js +2 -17
- package/lib/gradient-text/styles/light.d.ts +1 -1
- package/lib/gradient-text/styles/light.js +15 -13
- package/lib/icon/styles/light.js +7 -7
- package/lib/icon-wrapper/styles/light.js +3 -3
- package/lib/image/src/Image.d.ts +90 -81
- package/lib/image/src/ImageGroup.d.ts +90 -81
- package/lib/image/src/ImagePreview.d.ts +61 -54
- package/lib/image/src/ImagePreview.js +3 -2
- package/lib/image/src/interface.d.ts +30 -27
- package/lib/image/src/styles/index.cssr.js +1 -1
- package/lib/image/styles/dark.js +2 -9
- package/lib/image/styles/light.d.ts +13 -11
- package/lib/image/styles/light.js +10 -7
- package/lib/input/index.d.ts +1 -1
- package/lib/input/src/Input.d.ts +166 -147
- package/lib/input/src/Input.js +7 -4
- package/lib/input/src/InputGroupLabel.d.ts +68 -41
- package/lib/input/src/interface.d.ts +1 -1
- package/lib/input/src/styles/input.cssr.js +5 -11
- package/lib/input/styles/dark.js +2 -23
- package/lib/input/styles/light.d.ts +10 -7
- package/lib/input/styles/light.js +72 -18
- package/lib/input-number/src/InputNumber.d.ts +204 -208
- package/lib/input-number/src/InputNumber.js +3 -11
- package/lib/input-number/src/interface.d.ts +0 -1
- package/lib/input-number/styles/dark.js +2 -6
- package/lib/input-number/styles/light.d.ts +12 -13
- package/lib/input-number/styles/light.js +4 -5
- package/lib/layout/src/Layout.d.ts +204 -198
- package/lib/layout/src/LayoutContent.d.ts +102 -99
- package/lib/layout/src/LayoutFooter.d.ts +18 -0
- package/lib/layout/src/LayoutHeader.d.ts +12 -0
- package/lib/layout/src/LayoutSider.d.ts +102 -99
- package/lib/layout/src/LayoutSider.js +5 -3
- package/lib/layout/src/ToggleButton.d.ts +2 -2
- package/lib/layout/styles/dark.js +2 -29
- package/lib/layout/styles/light.d.ts +4 -0
- package/lib/layout/styles/light.js +25 -24
- package/lib/legacy-transfer/src/Transfer.d.ts +538 -359
- package/lib/legacy-transfer/src/TransferFilter.d.ts +133 -125
- package/lib/legacy-transfer/src/TransferList.d.ts +133 -125
- package/lib/legacy-transfer/src/TransferListItem.d.ts +133 -125
- package/lib/legacy-transfer/styles/dark.js +2 -12
- package/lib/legacy-transfer/styles/light.d.ts +48 -29
- package/lib/legacy-transfer/styles/light.js +27 -12
- package/lib/list/index.d.ts +3 -2
- package/lib/list/index.js +2 -1
- package/lib/list/src/List.d.ts +218 -83
- package/lib/list/src/List.js +38 -24
- package/lib/list/src/ListItem.d.ts +122 -3
- package/lib/list/src/ListItem.js +183 -11
- package/lib/list/src/interface.d.ts +35 -0
- package/lib/list/src/interface.js +2 -0
- package/lib/list/src/props.d.ts +228 -0
- package/lib/list/src/props.js +62 -0
- package/lib/list/src/styles/index.cssr.js +141 -47
- package/lib/list/styles/light.d.ts +15 -0
- package/lib/list/styles/light.js +27 -13
- package/lib/loading-bar/styles/dark.js +2 -8
- package/lib/loading-bar/styles/light.d.ts +1 -1
- package/lib/loading-bar/styles/light.js +6 -4
- package/lib/log/src/Log.d.ts +88 -99
- package/lib/log/styles/dark.js +2 -10
- package/lib/log/styles/light.d.ts +1 -1
- package/lib/log/styles/light.js +9 -7
- package/lib/mention/src/Mention.d.ts +314 -325
- package/lib/mention/styles/dark.js +2 -6
- package/lib/mention/styles/light.d.ts +23 -23
- package/lib/mention/styles/light.js +5 -3
- package/lib/menu/src/Menu.d.ts +490 -501
- package/lib/menu/src/MenuOption.d.ts +138 -149
- package/lib/menu/src/Submenu.d.ts +138 -149
- package/lib/menu/styles/dark.js +1 -14
- package/lib/menu/styles/light.d.ts +38 -38
- package/lib/menu/styles/light.js +2 -4
- package/lib/message/src/Message.d.ts +3 -7
- package/lib/message/src/Message.js +8 -22
- package/lib/message/src/MessageProvider.d.ts +195 -258
- package/lib/message/src/MessageProvider.js +1 -1
- package/lib/message/src/styles/index.cssr.js +10 -10
- package/lib/message/styles/_common.d.ts +0 -5
- package/lib/message/styles/_common.js +3 -8
- package/lib/message/styles/light.d.ts +23 -30
- package/lib/message/styles/light.js +14 -7
- package/lib/message/styles/types.d.ts +4 -0
- package/lib/message/styles/types.js +2 -0
- package/lib/modal/src/BodyWrapper.d.ts +140 -173
- package/lib/modal/src/BodyWrapper.js +7 -13
- package/lib/modal/src/Modal.d.ts +340 -303
- package/lib/modal/src/Modal.js +7 -5
- package/lib/modal/src/presetProps.d.ts +20 -32
- package/lib/modal/src/presetProps.js +4 -2
- package/lib/modal/src/styles/index.cssr.js +2 -3
- package/lib/modal/styles/light.d.ts +39 -27
- package/lib/modal/styles/light.js +7 -4
- package/lib/notification/src/Notification.d.ts +15 -7
- package/lib/notification/src/Notification.js +13 -15
- package/lib/notification/src/NotificationContainer.d.ts +159 -115
- package/lib/notification/src/NotificationEnvironment.d.ts +8 -7
- package/lib/notification/src/NotificationProvider.d.ts +644 -146
- package/lib/notification/src/NotificationProvider.js +2 -1
- package/lib/notification/src/styles/index.cssr.js +20 -25
- package/lib/notification/styles/_common.d.ts +1 -6
- package/lib/notification/styles/_common.js +2 -7
- package/lib/notification/styles/light.d.ts +142 -32
- package/lib/notification/styles/light.js +14 -7
- package/lib/page-header/src/PageHeader.d.ts +18 -18
- package/lib/page-header/styles/light.d.ts +4 -4
- package/lib/page-header/styles/light.js +12 -6
- package/lib/pagination/src/Pagination.d.ts +1564 -1039
- package/lib/pagination/src/Pagination.js +1 -2
- package/lib/pagination/src/styles/index.cssr.js +2 -4
- package/lib/pagination/styles/dark.js +1 -11
- package/lib/pagination/styles/light.d.ts +140 -91
- package/lib/pagination/styles/light.js +73 -10
- package/lib/popconfirm/src/Popconfirm.d.ts +172 -183
- package/lib/popconfirm/styles/light.d.ts +9 -9
- package/lib/popconfirm/styles/light.js +6 -6
- package/lib/popover/src/Popover.d.ts +35 -35
- package/lib/popover/src/Popover.js +2 -4
- package/lib/popover/src/PopoverBody.d.ts +30 -30
- package/lib/popover/src/PopoverBody.js +1 -6
- package/lib/popover/styles/light.d.ts +6 -6
- package/lib/popover/styles/light.js +15 -7
- package/lib/popselect/src/Popselect.d.ts +286 -327
- package/lib/popselect/src/PopselectPanel.d.ts +112 -126
- package/lib/popselect/src/interface.d.ts +1 -1
- package/lib/popselect/styles/light.d.ts +19 -22
- package/lib/popselect/styles/light.js +2 -2
- package/lib/progress/styles/dark.js +1 -7
- package/lib/progress/styles/light.js +18 -18
- package/lib/radio/src/Radio.d.ts +129 -50
- package/lib/radio/src/Radio.js +16 -5
- package/lib/radio/src/RadioButton.d.ts +5 -2
- package/lib/radio/src/RadioButton.js +4 -4
- package/lib/radio/src/RadioGroup.d.ts +121 -49
- package/lib/radio/src/RadioGroup.js +2 -2
- package/lib/radio/src/styles/radio-group.cssr.js +7 -7
- package/lib/radio/src/styles/radio.cssr.js +19 -25
- package/lib/radio/src/styles/rtl.cssr.js +2 -2
- package/lib/radio/styles/dark.js +2 -11
- package/lib/radio/styles/light.d.ts +15 -7
- package/lib/radio/styles/light.js +56 -9
- package/lib/rate/styles/dark.js +2 -11
- package/lib/rate/styles/light.d.ts +1 -1
- package/lib/rate/styles/light.js +6 -4
- package/lib/result/src/Result.d.ts +36 -36
- package/lib/result/styles/light.d.ts +8 -8
- package/lib/result/styles/light.js +27 -6
- package/lib/select/src/Select.d.ts +877 -385
- package/lib/select/src/Select.js +2 -2
- package/lib/select/src/interface.d.ts +0 -1
- package/lib/select/styles/light.d.ts +76 -27
- package/lib/select/styles/light.js +2 -2
- package/lib/skeleton/src/styles/index.cssr.js +1 -1
- package/lib/skeleton/styles/dark.js +2 -11
- package/lib/skeleton/styles/light.d.ts +1 -2
- package/lib/skeleton/styles/light.js +6 -5
- package/lib/slider/src/Slider.d.ts +30 -30
- package/lib/slider/styles/dark.js +2 -9
- package/lib/slider/styles/light.d.ts +7 -7
- package/lib/slider/styles/light.js +34 -9
- package/lib/spin/styles/light.js +9 -15
- package/lib/statistic/styles/light.js +7 -7
- package/lib/status/index.d.ts +2 -0
- package/lib/status/index.js +9 -0
- package/lib/status/src/Status.d.ts +139 -0
- package/lib/status/src/Status.js +87 -0
- package/lib/status/src/styles/index.cssr.d.ts +2 -0
- package/lib/status/src/styles/index.cssr.js +29 -0
- package/lib/status/styles/dark.d.ts +3 -0
- package/lib/status/styles/dark.js +10 -0
- package/lib/status/styles/index.d.ts +3 -0
- package/lib/status/styles/index.js +10 -0
- package/lib/status/styles/light.d.ts +17 -0
- package/lib/status/styles/light.js +25 -0
- package/lib/steps/src/Step.d.ts +7 -1
- package/lib/steps/src/Step.js +31 -22
- package/lib/steps/src/Steps.d.ts +36 -36
- package/lib/steps/src/styles/index.cssr.js +18 -3
- package/lib/steps/styles/light.d.ts +8 -8
- package/lib/steps/styles/light.js +36 -6
- package/lib/styles.d.ts +2 -0
- package/lib/styles.js +51 -46
- package/lib/switch/src/Switch.d.ts +67 -67
- package/lib/switch/styles/dark.js +2 -10
- package/lib/switch/styles/light.d.ts +16 -16
- package/lib/switch/styles/light.js +50 -8
- package/lib/table/src/Table.d.ts +30 -30
- package/lib/table/styles/light.d.ts +6 -6
- package/lib/table/styles/light.js +29 -11
- package/lib/tabs/src/Tab.js +4 -1
- package/lib/tabs/src/Tabs.d.ts +160 -141
- package/lib/tabs/src/Tabs.js +3 -2
- package/lib/tabs/src/styles/index.cssr.js +17 -12
- package/lib/tabs/styles/dark.js +1 -7
- package/lib/tabs/styles/light.d.ts +35 -33
- package/lib/tabs/styles/light.js +94 -10
- package/lib/tag/src/Tag.d.ts +115 -87
- package/lib/tag/src/Tag.js +2 -1
- package/lib/tag/src/styles/index.cssr.js +1 -1
- package/lib/tag/styles/dark.js +2 -32
- package/lib/tag/styles/light.d.ts +19 -16
- package/lib/tag/styles/light.js +115 -23
- package/lib/theme-editor/src/ThemeEditor.d.ts +88 -99
- package/lib/theme-editor/src/ThemeEditor.js +35 -2
- package/lib/themes/dark.js +34 -30
- package/lib/themes/light.js +34 -30
- package/lib/thing/styles/light.js +4 -4
- package/lib/time-picker/src/Panel.d.ts +104 -111
- package/lib/time-picker/src/Panel.js +2 -2
- package/lib/time-picker/src/TimePicker.d.ts +244 -214
- package/lib/time-picker/src/TimePicker.js +2 -1
- package/lib/time-picker/src/interface.d.ts +2 -1
- package/lib/time-picker/src/styles/index.cssr.js +1 -0
- package/lib/time-picker/styles/light.d.ts +19 -14
- package/lib/time-picker/styles/light.js +19 -8
- package/lib/timeline/src/Timeline.d.ts +30 -30
- package/lib/timeline/styles/dark.js +2 -8
- package/lib/timeline/styles/light.d.ts +7 -7
- package/lib/timeline/styles/light.js +28 -7
- package/lib/toggle-button/index.d.ts +2 -0
- package/lib/toggle-button/index.js +9 -0
- package/lib/toggle-button/src/ToggleButton.d.ts +551 -0
- package/lib/toggle-button/src/ToggleButton.js +134 -0
- package/lib/toggle-button/src/styles/toggle-button.cssr.d.ts +2 -0
- package/lib/toggle-button/src/styles/toggle-button.cssr.js +78 -0
- package/lib/toggle-button/styles/_common.d.ts +7 -0
- package/lib/toggle-button/styles/_common.js +8 -0
- package/lib/toggle-button/styles/dark.d.ts +3 -0
- package/lib/toggle-button/styles/dark.js +10 -0
- package/lib/toggle-button/styles/index.d.ts +3 -0
- package/lib/toggle-button/styles/index.js +10 -0
- package/lib/toggle-button/styles/light.d.ts +47 -0
- package/lib/toggle-button/styles/light.js +25 -0
- package/lib/tooltip/src/Tooltip.d.ts +185 -196
- package/lib/tooltip/styles/dark.js +2 -8
- package/lib/tooltip/styles/light.d.ts +13 -13
- package/lib/tooltip/styles/light.js +21 -7
- package/lib/transfer/src/Transfer.d.ts +632 -453
- package/lib/transfer/src/TransferFilter.d.ts +142 -134
- package/lib/transfer/src/TransferList.d.ts +142 -134
- package/lib/transfer/src/TransferListItem.d.ts +142 -134
- package/lib/transfer/src/styles/index.cssr.js +2 -0
- package/lib/transfer/styles/dark.js +2 -16
- package/lib/transfer/styles/light.d.ts +58 -39
- package/lib/transfer/styles/light.js +41 -15
- package/lib/tree/src/Tree.d.ts +418 -269
- package/lib/tree/src/TreeNodeCheckbox.d.ts +121 -116
- package/lib/tree/src/styles/index.cssr.js +5 -1
- package/lib/tree/styles/dark.js +1 -7
- package/lib/tree/styles/light.d.ts +33 -17
- package/lib/tree/styles/light.js +14 -15
- package/lib/tree-select/src/TreeSelect.d.ts +1145 -459
- package/lib/tree-select/styles/light.d.ts +100 -32
- package/lib/tree-select/styles/light.js +6 -6
- package/lib/typography/src/a.d.ts +56 -56
- package/lib/typography/src/blockquote.d.ts +61 -61
- package/lib/typography/src/create-header.d.ts +74 -74
- package/lib/typography/src/headers.d.ts +300 -300
- package/lib/typography/src/hr.d.ts +47 -47
- package/lib/typography/src/ol.d.ts +63 -63
- package/lib/typography/src/p.d.ts +61 -61
- package/lib/typography/src/text.d.ts +89 -89
- package/lib/typography/src/ul.d.ts +63 -63
- package/lib/typography/styles/light.d.ts +28 -28
- package/lib/typography/styles/light.js +67 -6
- package/lib/upload/src/Upload.d.ts +111 -149
- package/lib/upload/src/UploadFile.d.ts +89 -100
- package/lib/upload/src/UploadProgress.d.ts +89 -100
- package/lib/upload/src/styles/index.cssr.js +5 -4
- package/lib/upload/styles/dark.js +1 -9
- package/lib/upload/styles/light.d.ts +1 -1
- package/lib/upload/styles/light.js +22 -22
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +87 -85
- package/volar.d.ts +5 -3
- package/web-types.json +653 -199
- package/es/_internal/select-menu/styles/_common.d.ts +0 -13
- package/es/_internal/select-menu/styles/_common.js +0 -12
- package/es/_internal/selection/styles/_common.d.ts +0 -7
- package/es/_internal/selection/styles/_common.js +0 -6
- package/es/anchor/styles/_common.d.ts +0 -6
- package/es/anchor/styles/_common.js +0 -5
- package/es/back-top/styles/_common.d.ts +0 -7
- package/es/back-top/styles/_common.js +0 -6
- package/es/breadcrumb/styles/_common.d.ts +0 -4
- package/es/breadcrumb/styles/_common.js +0 -3
- package/es/calendar/styles/_common.d.ts +0 -4
- package/es/calendar/styles/_common.js +0 -3
- package/es/data-table/styles/_common.d.ts +0 -23
- package/es/data-table/styles/_common.js +0 -22
- package/es/descriptions/styles/_common.d.ts +0 -15
- package/es/descriptions/styles/_common.js +0 -14
- package/es/dropdown/styles/_common.d.ts +0 -24
- package/es/dropdown/styles/_common.js +0 -23
- package/es/empty/styles/_common.d.ts +0 -7
- package/es/empty/styles/_common.js +0 -6
- package/es/form/styles/_common.d.ts +0 -24
- package/es/form/styles/_common.js +0 -23
- package/es/input/styles/_common.d.ts +0 -8
- package/es/input/styles/_common.js +0 -7
- package/es/legacy-transfer/styles/_common.d.ts +0 -5
- package/es/legacy-transfer/styles/_common.js +0 -4
- package/es/page-header/styles/_common.d.ts +0 -5
- package/es/page-header/styles/_common.js +0 -4
- package/es/pagination/styles/_common.d.ts +0 -36
- package/es/pagination/styles/_common.js +0 -35
- package/es/popconfirm/styles/_common.d.ts +0 -4
- package/es/popconfirm/styles/_common.js +0 -3
- package/es/popover/styles/_common.d.ts +0 -9
- package/es/popover/styles/_common.js +0 -8
- package/es/radio/src/interface.d.ts +0 -2
- package/es/radio/styles/_common.d.ts +0 -8
- package/es/radio/styles/_common.js +0 -7
- package/es/result/styles/_common.d.ts +0 -19
- package/es/result/styles/_common.js +0 -18
- package/es/slider/styles/_common.d.ts +0 -9
- package/es/slider/styles/_common.js +0 -8
- package/es/steps/styles/_common.d.ts +0 -11
- package/es/steps/styles/_common.js +0 -10
- package/es/switch/styles/_common.d.ts +0 -18
- package/es/switch/styles/_common.js +0 -17
- package/es/table/styles/_common.d.ts +0 -9
- package/es/table/styles/_common.js +0 -8
- package/es/tabs/styles/_common.d.ts +0 -59
- package/es/tabs/styles/_common.js +0 -58
- package/es/tag/styles/_common.d.ts +0 -15
- package/es/tag/styles/_common.js +0 -14
- package/es/time-picker/styles/_common.d.ts +0 -7
- package/es/time-picker/styles/_common.js +0 -6
- package/es/timeline/styles/_common.d.ts +0 -9
- package/es/timeline/styles/_common.js +0 -8
- package/es/tooltip/styles/_common.d.ts +0 -15
- package/es/tooltip/styles/_common.js +0 -14
- package/es/transfer/styles/_common.d.ts +0 -14
- package/es/transfer/styles/_common.js +0 -13
- package/es/typography/styles/_common.d.ts +0 -31
- package/es/typography/styles/_common.js +0 -30
- package/lib/_internal/select-menu/styles/_common.d.ts +0 -13
- package/lib/_internal/select-menu/styles/_common.js +0 -14
- package/lib/_internal/selection/styles/_common.d.ts +0 -7
- package/lib/_internal/selection/styles/_common.js +0 -8
- package/lib/anchor/styles/_common.d.ts +0 -6
- package/lib/anchor/styles/_common.js +0 -7
- package/lib/back-top/styles/_common.d.ts +0 -7
- package/lib/back-top/styles/_common.js +0 -8
- package/lib/breadcrumb/styles/_common.d.ts +0 -4
- package/lib/breadcrumb/styles/_common.js +0 -5
- package/lib/calendar/styles/_common.d.ts +0 -4
- package/lib/data-table/styles/_common.d.ts +0 -23
- package/lib/data-table/styles/_common.js +0 -24
- package/lib/descriptions/styles/_common.d.ts +0 -15
- package/lib/descriptions/styles/_common.js +0 -16
- package/lib/dropdown/styles/_common.d.ts +0 -24
- package/lib/dropdown/styles/_common.js +0 -25
- package/lib/empty/styles/_common.d.ts +0 -7
- package/lib/empty/styles/_common.js +0 -8
- package/lib/form/styles/_common.d.ts +0 -24
- package/lib/form/styles/_common.js +0 -25
- package/lib/input/styles/_common.d.ts +0 -8
- package/lib/input/styles/_common.js +0 -9
- package/lib/legacy-transfer/styles/_common.d.ts +0 -5
- package/lib/legacy-transfer/styles/_common.js +0 -6
- package/lib/page-header/styles/_common.d.ts +0 -5
- package/lib/page-header/styles/_common.js +0 -6
- package/lib/pagination/styles/_common.d.ts +0 -36
- package/lib/pagination/styles/_common.js +0 -37
- package/lib/popconfirm/styles/_common.d.ts +0 -4
- package/lib/popover/styles/_common.d.ts +0 -9
- package/lib/popover/styles/_common.js +0 -10
- package/lib/radio/src/interface.d.ts +0 -2
- package/lib/radio/styles/_common.d.ts +0 -8
- package/lib/radio/styles/_common.js +0 -9
- package/lib/result/styles/_common.d.ts +0 -19
- package/lib/result/styles/_common.js +0 -20
- package/lib/slider/styles/_common.d.ts +0 -9
- package/lib/slider/styles/_common.js +0 -10
- package/lib/steps/styles/_common.d.ts +0 -11
- package/lib/steps/styles/_common.js +0 -12
- package/lib/switch/styles/_common.d.ts +0 -18
- package/lib/switch/styles/_common.js +0 -19
- package/lib/table/styles/_common.d.ts +0 -9
- package/lib/table/styles/_common.js +0 -10
- package/lib/tabs/styles/_common.d.ts +0 -59
- package/lib/tabs/styles/_common.js +0 -60
- package/lib/tag/styles/_common.d.ts +0 -15
- package/lib/tag/styles/_common.js +0 -16
- package/lib/time-picker/styles/_common.d.ts +0 -7
- package/lib/time-picker/styles/_common.js +0 -8
- package/lib/timeline/styles/_common.d.ts +0 -9
- package/lib/timeline/styles/_common.js +0 -10
- package/lib/tooltip/styles/_common.d.ts +0 -15
- package/lib/tooltip/styles/_common.js +0 -16
- package/lib/transfer/styles/_common.d.ts +0 -14
- package/lib/transfer/styles/_common.js +0 -15
- package/lib/typography/styles/_common.d.ts +0 -31
- package/lib/typography/styles/_common.js +0 -32
- /package/es/{checkbox → _internal/checkbox}/src/interface.d.ts +0 -0
- /package/es/{checkbox → _internal/checkbox}/src/interface.js +0 -0
- /package/es/{radio → _internal/radio}/src/interface.js +0 -0
- /package/lib/{checkbox → _internal/checkbox}/src/interface.d.ts +0 -0
- /package/lib/{checkbox → _internal/checkbox}/src/interface.js +0 -0
- /package/lib/{radio → _internal/radio}/src/interface.js +0 -0
|
@@ -1,14 +1,40 @@
|
|
|
1
1
|
import type { ThemeCommonVars } from '../../../_styles/common';
|
|
2
|
-
declare const self: (vars: ThemeCommonVars) => {
|
|
2
|
+
export declare const self: (vars: ThemeCommonVars) => {
|
|
3
|
+
paddingTiny: string;
|
|
4
|
+
paddingSmall: string;
|
|
5
|
+
paddingMedium: string;
|
|
6
|
+
paddingLarge: string;
|
|
7
|
+
paddingHuge: string;
|
|
8
|
+
clearSizeTiny: string;
|
|
9
|
+
clearSizeSmall: string;
|
|
10
|
+
clearSizeMedium: string;
|
|
11
|
+
clearSizeLarge: string;
|
|
12
|
+
clearSizeHuge: string;
|
|
13
|
+
arrowSizeTiny: string;
|
|
14
|
+
arrowSizeSmall: string;
|
|
15
|
+
arrowSizeMedium: string;
|
|
16
|
+
arrowSizeLarge: string;
|
|
17
|
+
arrowSizeHuge: string;
|
|
3
18
|
fontSizeTiny: string;
|
|
4
19
|
fontSizeSmall: string;
|
|
5
20
|
fontSizeMedium: string;
|
|
6
21
|
fontSizeLarge: string;
|
|
22
|
+
fontSizeHuge: string;
|
|
23
|
+
lineHeightTiny: string;
|
|
24
|
+
lineHeightSmall: string;
|
|
25
|
+
lineHeightMedium: string;
|
|
26
|
+
lineHeightLarge: string;
|
|
27
|
+
lineHeightHuge: string;
|
|
7
28
|
heightTiny: string;
|
|
8
29
|
heightSmall: string;
|
|
9
30
|
heightMedium: string;
|
|
10
31
|
heightLarge: string;
|
|
11
|
-
|
|
32
|
+
heightHuge: string;
|
|
33
|
+
borderRadiusTiny: string;
|
|
34
|
+
borderRadiusSmall: string;
|
|
35
|
+
borderRadiusMedium: string;
|
|
36
|
+
borderRadiusLarge: string;
|
|
37
|
+
borderRadiusHuge: string;
|
|
12
38
|
textColor: string;
|
|
13
39
|
textColorDisabled: string;
|
|
14
40
|
placeholderColor: string;
|
|
@@ -50,22 +76,74 @@ declare const self: (vars: ThemeCommonVars) => {
|
|
|
50
76
|
clearColor: string;
|
|
51
77
|
clearColorHover: string;
|
|
52
78
|
clearColorPressed: string;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
79
|
+
caretColorSecondary: string;
|
|
80
|
+
filterCounterTextColor: string;
|
|
81
|
+
filterCounterSeparatorColor: string;
|
|
82
|
+
filterCounterTextColorDisabled: string;
|
|
83
|
+
filterCounterSeparatorColorDisabled: string;
|
|
84
|
+
arrowColorSecondary: string;
|
|
85
|
+
clearColorSecondary: string;
|
|
86
|
+
colorSecondary: string;
|
|
87
|
+
textColorSecondary: string;
|
|
88
|
+
borderSecondary: string;
|
|
89
|
+
arrowColorDisabledSecondary: string;
|
|
90
|
+
clearColorDisabledSecondary: string;
|
|
91
|
+
colorDisabledSecondary: string;
|
|
92
|
+
textColorDisabledSecondary: string;
|
|
93
|
+
borderDisabledSecondary: string;
|
|
94
|
+
arrowColorHoverSecondary: string;
|
|
95
|
+
clearColorHoverSecondary: string;
|
|
96
|
+
colorHoverSecondary: string;
|
|
97
|
+
textColorHoverSecondary: string;
|
|
98
|
+
borderHoverSecondary: string;
|
|
99
|
+
arrowColorFocusSecondary: string;
|
|
100
|
+
clearColorFocusSecondary: string;
|
|
101
|
+
colorFocusSecondary: string;
|
|
102
|
+
textColorFocusSecondary: string;
|
|
103
|
+
borderFocusSecondary: string;
|
|
104
|
+
arrowColorActiveSecondary: string;
|
|
105
|
+
clearColorActiveSecondary: string;
|
|
106
|
+
colorActiveSecondary: string;
|
|
107
|
+
textColorActiveSecondary: string;
|
|
108
|
+
borderActiveSecondary: string;
|
|
57
109
|
};
|
|
58
110
|
export type InternalSelectionThemeVars = ReturnType<typeof self>;
|
|
59
111
|
declare const internalSelectionLight: import("../../../_mixins").Theme<"InternalSelection", {
|
|
112
|
+
paddingTiny: string;
|
|
113
|
+
paddingSmall: string;
|
|
114
|
+
paddingMedium: string;
|
|
115
|
+
paddingLarge: string;
|
|
116
|
+
paddingHuge: string;
|
|
117
|
+
clearSizeTiny: string;
|
|
118
|
+
clearSizeSmall: string;
|
|
119
|
+
clearSizeMedium: string;
|
|
120
|
+
clearSizeLarge: string;
|
|
121
|
+
clearSizeHuge: string;
|
|
122
|
+
arrowSizeTiny: string;
|
|
123
|
+
arrowSizeSmall: string;
|
|
124
|
+
arrowSizeMedium: string;
|
|
125
|
+
arrowSizeLarge: string;
|
|
126
|
+
arrowSizeHuge: string;
|
|
60
127
|
fontSizeTiny: string;
|
|
61
128
|
fontSizeSmall: string;
|
|
62
129
|
fontSizeMedium: string;
|
|
63
130
|
fontSizeLarge: string;
|
|
131
|
+
fontSizeHuge: string;
|
|
132
|
+
lineHeightTiny: string;
|
|
133
|
+
lineHeightSmall: string;
|
|
134
|
+
lineHeightMedium: string;
|
|
135
|
+
lineHeightLarge: string;
|
|
136
|
+
lineHeightHuge: string;
|
|
64
137
|
heightTiny: string;
|
|
65
138
|
heightSmall: string;
|
|
66
139
|
heightMedium: string;
|
|
67
140
|
heightLarge: string;
|
|
68
|
-
|
|
141
|
+
heightHuge: string;
|
|
142
|
+
borderRadiusTiny: string;
|
|
143
|
+
borderRadiusSmall: string;
|
|
144
|
+
borderRadiusMedium: string;
|
|
145
|
+
borderRadiusLarge: string;
|
|
146
|
+
borderRadiusHuge: string;
|
|
69
147
|
textColor: string;
|
|
70
148
|
textColorDisabled: string;
|
|
71
149
|
placeholderColor: string;
|
|
@@ -107,24 +185,50 @@ declare const internalSelectionLight: import("../../../_mixins").Theme<"Internal
|
|
|
107
185
|
clearColor: string;
|
|
108
186
|
clearColorHover: string;
|
|
109
187
|
clearColorPressed: string;
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
188
|
+
caretColorSecondary: string;
|
|
189
|
+
filterCounterTextColor: string;
|
|
190
|
+
filterCounterSeparatorColor: string;
|
|
191
|
+
filterCounterTextColorDisabled: string;
|
|
192
|
+
filterCounterSeparatorColorDisabled: string;
|
|
193
|
+
arrowColorSecondary: string;
|
|
194
|
+
clearColorSecondary: string;
|
|
195
|
+
colorSecondary: string;
|
|
196
|
+
textColorSecondary: string;
|
|
197
|
+
borderSecondary: string;
|
|
198
|
+
arrowColorDisabledSecondary: string;
|
|
199
|
+
clearColorDisabledSecondary: string;
|
|
200
|
+
colorDisabledSecondary: string;
|
|
201
|
+
textColorDisabledSecondary: string;
|
|
202
|
+
borderDisabledSecondary: string;
|
|
203
|
+
arrowColorHoverSecondary: string;
|
|
204
|
+
clearColorHoverSecondary: string;
|
|
205
|
+
colorHoverSecondary: string;
|
|
206
|
+
textColorHoverSecondary: string;
|
|
207
|
+
borderHoverSecondary: string;
|
|
208
|
+
arrowColorFocusSecondary: string;
|
|
209
|
+
clearColorFocusSecondary: string;
|
|
210
|
+
colorFocusSecondary: string;
|
|
211
|
+
textColorFocusSecondary: string;
|
|
212
|
+
borderFocusSecondary: string;
|
|
213
|
+
arrowColorActiveSecondary: string;
|
|
214
|
+
clearColorActiveSecondary: string;
|
|
215
|
+
colorActiveSecondary: string;
|
|
216
|
+
textColorActiveSecondary: string;
|
|
217
|
+
borderActiveSecondary: string;
|
|
114
218
|
}, {
|
|
115
219
|
Popover: import("../../../_mixins").Theme<"Popover", {
|
|
116
|
-
fontSize: string;
|
|
117
|
-
borderRadius: string;
|
|
118
|
-
color: string;
|
|
119
|
-
dividerColor: string;
|
|
120
|
-
textColor: string;
|
|
121
|
-
boxShadow: string;
|
|
122
220
|
space: string;
|
|
123
221
|
spaceArrow: string;
|
|
124
222
|
arrowOffset: string;
|
|
125
223
|
arrowOffsetVertical: string;
|
|
126
224
|
arrowHeight: string;
|
|
127
225
|
padding: string;
|
|
226
|
+
fontSize: string;
|
|
227
|
+
borderRadius: string;
|
|
228
|
+
color: string;
|
|
229
|
+
dividerColor: string;
|
|
230
|
+
textColor: string;
|
|
231
|
+
boxShadow: string;
|
|
128
232
|
}, any>;
|
|
129
233
|
}>;
|
|
130
234
|
export default internalSelectionLight;
|
|
@@ -1,30 +1,130 @@
|
|
|
1
1
|
import { changeColor } from 'seemly';
|
|
2
2
|
import { commonLight } from '../../../_styles/common';
|
|
3
3
|
import { popoverLight } from '../../../popover/styles';
|
|
4
|
-
import commonVariables from './_common';
|
|
5
4
|
import { createTheme } from '../../../_mixins';
|
|
6
|
-
const self = (vars) => {
|
|
7
|
-
const { borderRadius,
|
|
8
|
-
return
|
|
9
|
-
|
|
5
|
+
export const self = (vars) => {
|
|
6
|
+
const { borderRadius, iconMedium, fontBodyMedium, fontBodyLarge, heightTiny, heightSmall, heightMedium, heightLarge, heightHuge, borderRadiusLarge, textPrimary, textSecondary, elementsSecondary, elementsTertiary, elementsQuaternary, elementsPrimary, elementsQuinary, staticOrange, staticRed, textQuaternary, iconSmall, elementsSenary, lineHeightBodyMedium, lineHeightBodyLarge, fontTitleMedium, lineHeightTitleMedium } = vars;
|
|
7
|
+
return {
|
|
8
|
+
paddingTiny: '0px 12px 0px 12px',
|
|
9
|
+
paddingSmall: '0px 16px 0px 16px',
|
|
10
|
+
paddingMedium: '0px 16px 0px 16px',
|
|
11
|
+
paddingLarge: '0px 16px 0px 16px',
|
|
12
|
+
paddingHuge: '0px 20px 0px 24px',
|
|
13
|
+
clearSizeTiny: iconSmall,
|
|
14
|
+
clearSizeSmall: iconSmall,
|
|
15
|
+
clearSizeMedium: iconMedium,
|
|
16
|
+
clearSizeLarge: iconMedium,
|
|
17
|
+
clearSizeHuge: iconMedium,
|
|
18
|
+
arrowSizeTiny: iconSmall,
|
|
19
|
+
arrowSizeSmall: iconSmall,
|
|
20
|
+
arrowSizeMedium: iconMedium,
|
|
21
|
+
arrowSizeLarge: iconMedium,
|
|
22
|
+
arrowSizeHuge: iconMedium,
|
|
23
|
+
fontSizeTiny: fontBodyMedium,
|
|
24
|
+
fontSizeSmall: fontBodyMedium,
|
|
25
|
+
fontSizeMedium: fontBodyMedium,
|
|
26
|
+
fontSizeLarge: fontBodyLarge,
|
|
27
|
+
fontSizeHuge: fontTitleMedium,
|
|
28
|
+
lineHeightTiny: lineHeightBodyMedium,
|
|
29
|
+
lineHeightSmall: lineHeightBodyMedium,
|
|
30
|
+
lineHeightMedium: lineHeightBodyMedium,
|
|
31
|
+
lineHeightLarge: lineHeightBodyLarge,
|
|
32
|
+
lineHeightHuge: lineHeightTitleMedium,
|
|
33
|
+
heightTiny,
|
|
34
|
+
heightSmall,
|
|
35
|
+
heightMedium,
|
|
36
|
+
heightLarge,
|
|
37
|
+
heightHuge,
|
|
38
|
+
borderRadiusTiny: borderRadius,
|
|
39
|
+
borderRadiusSmall: borderRadius,
|
|
40
|
+
borderRadiusMedium: borderRadius,
|
|
41
|
+
borderRadiusLarge,
|
|
42
|
+
borderRadiusHuge: borderRadiusLarge,
|
|
10
43
|
// default
|
|
11
|
-
textColor:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
44
|
+
textColor: textPrimary,
|
|
45
|
+
textColorDisabled: textSecondary,
|
|
46
|
+
placeholderColor: textSecondary,
|
|
47
|
+
placeholderColorDisabled: textSecondary,
|
|
48
|
+
color: elementsSecondary,
|
|
49
|
+
colorDisabled: elementsTertiary,
|
|
50
|
+
colorActive: elementsSecondary,
|
|
51
|
+
border: `2px solid ${elementsQuaternary}`,
|
|
52
|
+
borderHover: `2px solid ${elementsPrimary}`,
|
|
53
|
+
borderActive: `2px solid ${elementsPrimary}`,
|
|
54
|
+
borderFocus: `2px solid ${elementsPrimary}`,
|
|
55
|
+
borderDisabled: `2px solid ${elementsQuaternary}`,
|
|
56
|
+
boxShadowHover: 'none',
|
|
57
|
+
boxShadowActive: `0 0 0 4px ${changeColor(elementsPrimary, {
|
|
58
|
+
alpha: 0.1
|
|
59
|
+
})}`,
|
|
60
|
+
boxShadowFocus: `0 0 0 4px ${changeColor(elementsPrimary, { alpha: 0.1 })}`,
|
|
61
|
+
caretColor: elementsPrimary,
|
|
62
|
+
arrowColor: elementsPrimary,
|
|
63
|
+
arrowColorHover: elementsPrimary,
|
|
64
|
+
arrowColorDisabled: elementsQuinary,
|
|
65
|
+
loadingColor: elementsPrimary,
|
|
15
66
|
// warning
|
|
16
|
-
borderWarning: `2px solid ${
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
67
|
+
borderWarning: `2px solid ${staticOrange}`,
|
|
68
|
+
borderHoverWarning: `2px solid ${staticOrange}`,
|
|
69
|
+
borderActiveWarning: `2px solid ${staticOrange}`,
|
|
70
|
+
borderFocusWarning: `2px solid ${staticOrange}`,
|
|
71
|
+
boxShadowHoverWarning: 'none',
|
|
72
|
+
boxShadowActiveWarning: `0 0 0 4px ${changeColor(staticOrange, {
|
|
73
|
+
alpha: 0.1
|
|
74
|
+
})}`,
|
|
75
|
+
boxShadowFocusWarning: `0 0 0 4px ${changeColor(staticOrange, {
|
|
76
|
+
alpha: 0.1
|
|
77
|
+
})}`,
|
|
78
|
+
colorActiveWarning: elementsSecondary,
|
|
79
|
+
caretColorWarning: elementsPrimary,
|
|
21
80
|
// error
|
|
22
|
-
borderError: `2px solid ${
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
81
|
+
borderError: `2px solid ${staticRed}`,
|
|
82
|
+
borderHoverError: `2px solid ${staticRed}`,
|
|
83
|
+
borderActiveError: `2px solid ${staticRed}`,
|
|
84
|
+
borderFocusError: `2px solid ${staticRed}`,
|
|
85
|
+
boxShadowHoverError: 'none',
|
|
86
|
+
boxShadowActiveError: `0 0 0 4px ${changeColor(staticRed, {
|
|
87
|
+
alpha: 0.1
|
|
88
|
+
})}`,
|
|
89
|
+
boxShadowFocusError: `0 0 0 4px ${changeColor(staticRed, {
|
|
90
|
+
alpha: 0.1
|
|
91
|
+
})}`,
|
|
92
|
+
colorActiveError: elementsSecondary,
|
|
93
|
+
caretColorError: elementsPrimary,
|
|
94
|
+
clearColor: elementsPrimary,
|
|
95
|
+
clearColorHover: elementsPrimary,
|
|
96
|
+
clearColorPressed: elementsPrimary,
|
|
97
|
+
caretColorSecondary: elementsPrimary,
|
|
98
|
+
filterCounterTextColor: textSecondary,
|
|
99
|
+
filterCounterSeparatorColor: elementsSenary,
|
|
100
|
+
filterCounterTextColorDisabled: textSecondary,
|
|
101
|
+
filterCounterSeparatorColorDisabled: elementsQuaternary,
|
|
102
|
+
arrowColorSecondary: elementsSecondary,
|
|
103
|
+
clearColorSecondary: elementsSecondary,
|
|
104
|
+
colorSecondary: elementsPrimary,
|
|
105
|
+
textColorSecondary: textQuaternary,
|
|
106
|
+
borderSecondary: 'none',
|
|
107
|
+
arrowColorDisabledSecondary: elementsQuinary,
|
|
108
|
+
clearColorDisabledSecondary: elementsQuinary,
|
|
109
|
+
colorDisabledSecondary: elementsTertiary,
|
|
110
|
+
textColorDisabledSecondary: textSecondary,
|
|
111
|
+
borderDisabledSecondary: `2px solid ${elementsQuaternary}`,
|
|
112
|
+
arrowColorHoverSecondary: elementsSecondary,
|
|
113
|
+
clearColorHoverSecondary: elementsSecondary,
|
|
114
|
+
colorHoverSecondary: elementsPrimary,
|
|
115
|
+
textColorHoverSecondary: textQuaternary,
|
|
116
|
+
borderHoverSecondary: 'none',
|
|
117
|
+
arrowColorFocusSecondary: elementsSecondary,
|
|
118
|
+
clearColorFocusSecondary: elementsSecondary,
|
|
119
|
+
colorFocusSecondary: elementsPrimary,
|
|
120
|
+
textColorFocusSecondary: textQuaternary,
|
|
121
|
+
borderFocusSecondary: 'none',
|
|
122
|
+
arrowColorActiveSecondary: elementsSecondary,
|
|
123
|
+
clearColorActiveSecondary: elementsSecondary,
|
|
124
|
+
colorActiveSecondary: elementsPrimary,
|
|
125
|
+
textColorActiveSecondary: textQuaternary,
|
|
126
|
+
borderActiveSecondary: 'none'
|
|
127
|
+
};
|
|
28
128
|
};
|
|
29
129
|
const internalSelectionLight = createTheme({
|
|
30
130
|
name: 'InternalSelection',
|
|
@@ -11,7 +11,7 @@ export default c([cB('skeleton', `
|
|
|
11
11
|
--u-color-start .3s var(--u-bezier),
|
|
12
12
|
--u-color-end .3s var(--u-bezier),
|
|
13
13
|
background-color .3s var(--u-bezier);
|
|
14
|
-
animation:
|
|
14
|
+
animation: 6s skeleton-loading infinite cubic-bezier(0.36, 0, 0.64, 1);
|
|
15
15
|
background-color: var(--u-color-start);
|
|
16
16
|
`), c('@keyframes skeleton-loading', `
|
|
17
17
|
0% {
|
|
@@ -1,16 +1,7 @@
|
|
|
1
1
|
import { commonDark } from '../../../_styles/common';
|
|
2
|
+
import { self } from './light';
|
|
2
3
|
export const skeletonDark = {
|
|
3
4
|
name: 'Skeleton',
|
|
4
5
|
common: commonDark,
|
|
5
|
-
self
|
|
6
|
-
const { heightSmall, heightMedium, heightLarge, borderRadius } = vars;
|
|
7
|
-
return {
|
|
8
|
-
color: 'rgba(255, 255, 255, 0.12)',
|
|
9
|
-
colorEnd: 'rgba(255, 255, 255, 0.18)',
|
|
10
|
-
borderRadius,
|
|
11
|
-
heightSmall,
|
|
12
|
-
heightMedium,
|
|
13
|
-
heightLarge
|
|
14
|
-
};
|
|
15
|
-
}
|
|
6
|
+
self
|
|
16
7
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ThemeCommonVars } from '../../../_styles/common';
|
|
2
2
|
import { type Theme } from '../../../_mixins';
|
|
3
|
-
declare const self: (vars: ThemeCommonVars) => {
|
|
3
|
+
export declare const self: (vars: ThemeCommonVars) => {
|
|
4
4
|
color: string;
|
|
5
5
|
colorEnd: string;
|
|
6
6
|
borderRadius: string;
|
|
@@ -11,4 +11,3 @@ declare const self: (vars: ThemeCommonVars) => {
|
|
|
11
11
|
export type SkeletonThemeVars = ReturnType<typeof self>;
|
|
12
12
|
export declare const skeletonLight: Theme<'Skeleton', SkeletonThemeVars>;
|
|
13
13
|
export type SkeletonTheme = typeof skeletonLight;
|
|
14
|
-
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { commonLight } from '../../../_styles/common';
|
|
2
|
-
const self = (vars) => {
|
|
3
|
-
const { heightSmall, heightMedium, heightLarge, borderRadius } = vars;
|
|
2
|
+
export const self = (vars) => {
|
|
3
|
+
const { heightSmall, heightMedium, heightLarge, borderRadius, elementsQuaternary, elementsTertiary } = vars;
|
|
4
4
|
return {
|
|
5
|
-
color:
|
|
6
|
-
colorEnd:
|
|
5
|
+
color: elementsQuaternary,
|
|
6
|
+
colorEnd: elementsTertiary,
|
|
7
7
|
borderRadius,
|
|
8
8
|
heightSmall,
|
|
9
9
|
heightMedium,
|
|
@@ -1,28 +1,53 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
fontFamily: string;
|
|
3
3
|
fontFamilyMono: string;
|
|
4
|
-
fontWeight: string;
|
|
5
|
-
fontWeightStrong: string;
|
|
6
4
|
cubicBezierEaseInOut: string;
|
|
7
5
|
cubicBezierEaseOut: string;
|
|
8
6
|
cubicBezierEaseIn: string;
|
|
9
|
-
|
|
10
|
-
borderTagWidth: number;
|
|
7
|
+
borderRadiusLarge: string;
|
|
11
8
|
borderRadius: string;
|
|
9
|
+
borderRadiusMedium: string;
|
|
12
10
|
borderRadiusSmall: string;
|
|
13
|
-
|
|
14
|
-
fontSizeMini: string;
|
|
15
|
-
fontSizeTiny: string;
|
|
16
|
-
fontSizeSmall: string;
|
|
17
|
-
fontSizeMedium: string;
|
|
18
|
-
fontSizeLarge: string;
|
|
19
|
-
fontSizeHuge: string;
|
|
20
|
-
lineHeight: string;
|
|
11
|
+
borderRadiusTiny: string;
|
|
21
12
|
heightMini: string;
|
|
22
13
|
heightTiny: string;
|
|
23
14
|
heightSmall: string;
|
|
24
15
|
heightMedium: string;
|
|
25
16
|
heightLarge: string;
|
|
26
17
|
heightHuge: string;
|
|
18
|
+
fontDisplayLarge: string;
|
|
19
|
+
fontDisplaySmall: string;
|
|
20
|
+
fontHeadingLarge: string;
|
|
21
|
+
fontHeadingMedium: string;
|
|
22
|
+
fontHeadingSmall: string;
|
|
23
|
+
fontTitleLarge: string;
|
|
24
|
+
fontTitleMedium: string;
|
|
25
|
+
fontTitleSmall: string;
|
|
26
|
+
fontBodyLarge: string;
|
|
27
|
+
fontBodyMedium: string;
|
|
28
|
+
fontBodySmall: string;
|
|
29
|
+
lineHeightDisplayLarge: string;
|
|
30
|
+
lineHeightDisplaySmall: string;
|
|
31
|
+
lineHeightHeadingLarge: string;
|
|
32
|
+
lineHeightHeadingMedium: string;
|
|
33
|
+
lineHeightHeadingSmall: string;
|
|
34
|
+
lineHeightTitleLarge: string;
|
|
35
|
+
lineHeightTitleMedium: string;
|
|
36
|
+
lineHeightTitleSmall: string;
|
|
37
|
+
lineHeightBodyLarge: string;
|
|
38
|
+
lineHeightBodyMedium: string;
|
|
39
|
+
lineHeightBodySmall: string;
|
|
40
|
+
fontWeight: string;
|
|
41
|
+
fontWeightStrong: string;
|
|
42
|
+
fontWeightBold: string;
|
|
43
|
+
iconSmall: string;
|
|
44
|
+
iconMedium: string;
|
|
45
|
+
iconLarge: string;
|
|
46
|
+
iconHuge: string;
|
|
47
|
+
closeSmall: string;
|
|
48
|
+
closeMedium: string;
|
|
49
|
+
closeLarge: string;
|
|
50
|
+
closeHuge: string;
|
|
51
|
+
closeBorderRadius: string;
|
|
27
52
|
};
|
|
28
53
|
export default _default;
|
|
@@ -1,27 +1,52 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
fontFamily: 'v-sans, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',
|
|
3
3
|
fontFamilyMono: 'v-mono, SFMono-Regular, Menlo, Consolas, Courier, monospace',
|
|
4
|
-
fontWeight: '400',
|
|
5
|
-
fontWeightStrong: '500',
|
|
6
4
|
cubicBezierEaseInOut: 'cubic-bezier(.4, 0, .2, 1)',
|
|
7
5
|
cubicBezierEaseOut: 'cubic-bezier(0, 0, .2, 1)',
|
|
8
6
|
cubicBezierEaseIn: 'cubic-bezier(.4, 0, 1, 1)',
|
|
9
|
-
|
|
10
|
-
borderTagWidth: 2,
|
|
7
|
+
borderRadiusLarge: '16px',
|
|
11
8
|
borderRadius: '12px',
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
9
|
+
borderRadiusMedium: '10px',
|
|
10
|
+
borderRadiusSmall: '8px',
|
|
11
|
+
borderRadiusTiny: '6px',
|
|
12
|
+
heightMini: '24px',
|
|
13
|
+
heightTiny: '32px',
|
|
14
|
+
heightSmall: '40px',
|
|
15
|
+
heightMedium: '48px',
|
|
16
|
+
heightLarge: '56px',
|
|
17
|
+
heightHuge: '90px',
|
|
18
|
+
fontDisplayLarge: '42px',
|
|
19
|
+
fontDisplaySmall: '36px',
|
|
20
|
+
fontHeadingLarge: '32px',
|
|
21
|
+
fontHeadingMedium: '28px',
|
|
22
|
+
fontHeadingSmall: '24px',
|
|
23
|
+
fontTitleLarge: '22px',
|
|
24
|
+
fontTitleMedium: '20px',
|
|
25
|
+
fontTitleSmall: '18px',
|
|
26
|
+
fontBodyLarge: '16px',
|
|
27
|
+
fontBodyMedium: '14px',
|
|
28
|
+
fontBodySmall: '12px',
|
|
29
|
+
lineHeightDisplayLarge: '48px',
|
|
30
|
+
lineHeightDisplaySmall: '36px',
|
|
31
|
+
lineHeightHeadingLarge: '40px',
|
|
32
|
+
lineHeightHeadingMedium: '36px',
|
|
33
|
+
lineHeightHeadingSmall: '30px',
|
|
34
|
+
lineHeightTitleLarge: '32px',
|
|
35
|
+
lineHeightTitleMedium: '30px',
|
|
36
|
+
lineHeightTitleSmall: '28px',
|
|
37
|
+
lineHeightBodyLarge: '24px',
|
|
38
|
+
lineHeightBodyMedium: '20px',
|
|
39
|
+
lineHeightBodySmall: '16px',
|
|
40
|
+
fontWeight: '500',
|
|
41
|
+
fontWeightStrong: '600',
|
|
42
|
+
fontWeightBold: '700',
|
|
43
|
+
iconSmall: '16px',
|
|
44
|
+
iconMedium: '24px',
|
|
45
|
+
iconLarge: '40px',
|
|
46
|
+
iconHuge: '80px',
|
|
47
|
+
closeSmall: '24px',
|
|
48
|
+
closeMedium: '32px',
|
|
49
|
+
closeLarge: '56px',
|
|
50
|
+
closeHuge: '96px',
|
|
51
|
+
closeBorderRadius: '100%'
|
|
27
52
|
};
|
|
@@ -1,100 +1,4 @@
|
|
|
1
|
-
import { rgba, composite, scaleColor } from 'seemly';
|
|
2
1
|
import commonVariables from './_common';
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
neutralInvertBase: '#fff',
|
|
6
|
-
neutralTextBase: '#fff',
|
|
7
|
-
neutralPopover: 'rgb(72, 72, 78)',
|
|
8
|
-
neutralCard: 'rgb(24, 24, 28)',
|
|
9
|
-
neutralModal: 'rgb(44, 44, 50)',
|
|
10
|
-
neutralBody: 'rgb(16, 16, 20)',
|
|
11
|
-
alpha1: '0.9',
|
|
12
|
-
alpha2: '0.82',
|
|
13
|
-
alpha3: '0.52',
|
|
14
|
-
alpha4: '0.38',
|
|
15
|
-
alpha5: '0.28',
|
|
16
|
-
alphaClose: '0.52',
|
|
17
|
-
alphaDisabled: '0.38',
|
|
18
|
-
alphaDisabledInput: '0.06',
|
|
19
|
-
alphaPending: '0.09',
|
|
20
|
-
alphaTablePending: '0.06',
|
|
21
|
-
alphaTableStriped: '0.05',
|
|
22
|
-
alphaPressed: '0.05',
|
|
23
|
-
alphaAvatar: '0.18',
|
|
24
|
-
alphaRail: '0.2',
|
|
25
|
-
alphaProgressRail: '0.12',
|
|
26
|
-
alphaBorder: '0.24',
|
|
27
|
-
alphaDivider: '0.09',
|
|
28
|
-
alphaInput: '0.1',
|
|
29
|
-
alphaAction: '0.06',
|
|
30
|
-
alphaTab: '0.04',
|
|
31
|
-
alphaScrollbar: '0.2',
|
|
32
|
-
alphaScrollbarHover: '0.3',
|
|
33
|
-
alphaCode: '0.12',
|
|
34
|
-
alphaTag: '0.2',
|
|
35
|
-
// primary
|
|
36
|
-
primaryHover: '#7fe7c4',
|
|
37
|
-
primaryDefault: '#63e2b7',
|
|
38
|
-
primaryActive: '#5acea7',
|
|
39
|
-
primarySuppl: 'rgb(42, 148, 125)',
|
|
40
|
-
// info
|
|
41
|
-
infoHover: '#8acbec',
|
|
42
|
-
infoDefault: '#70c0e8',
|
|
43
|
-
infoActive: '#66afd3',
|
|
44
|
-
infoSuppl: 'rgb(56, 137, 197)',
|
|
45
|
-
// error
|
|
46
|
-
errorHover: '#e98b8b',
|
|
47
|
-
errorDefault: '#e88080',
|
|
48
|
-
errorActive: '#e57272',
|
|
49
|
-
errorSuppl: 'rgb(208, 58, 82)',
|
|
50
|
-
// warning
|
|
51
|
-
warningHover: '#f5d599',
|
|
52
|
-
warningDefault: '#f2c97d',
|
|
53
|
-
warningActive: '#e6c260',
|
|
54
|
-
warningSuppl: 'rgb(240, 138, 0)',
|
|
55
|
-
// success
|
|
56
|
-
successHover: '#7fe7c4',
|
|
57
|
-
successDefault: '#63e2b7',
|
|
58
|
-
successActive: '#5acea7',
|
|
59
|
-
successSuppl: 'rgb(42, 148, 125)',
|
|
60
|
-
// tertiary
|
|
61
|
-
tertiaryHover: '#4E4D4D',
|
|
62
|
-
tertiaryDefault: '#101010',
|
|
63
|
-
tertiaryActive: '#4E4D4D',
|
|
64
|
-
tertiarySuppl: '#C5C7CA'
|
|
65
|
-
};
|
|
66
|
-
const baseBackgroundRgb = rgba(base.neutralBase);
|
|
67
|
-
const baseInvertBackgroundRgb = rgba(base.neutralInvertBase);
|
|
68
|
-
const overlayPrefix = 'rgba(' + baseInvertBackgroundRgb.slice(0, 3).join(', ') + ', ';
|
|
69
|
-
function overlay(alpha) {
|
|
70
|
-
return overlayPrefix + String(alpha) + ')';
|
|
71
|
-
}
|
|
72
|
-
function neutral(alpha) {
|
|
73
|
-
const overlayRgba = Array.from(baseInvertBackgroundRgb);
|
|
74
|
-
overlayRgba[3] = Number(alpha);
|
|
75
|
-
return composite(baseBackgroundRgb, overlayRgba);
|
|
76
|
-
}
|
|
77
|
-
const derived = Object.assign(Object.assign({ name: 'common' }, commonVariables), { baseColor: base.neutralBase,
|
|
78
|
-
// primary color
|
|
79
|
-
primaryColor: base.primaryDefault, primaryColorHover: base.primaryHover, primaryColorPressed: base.primaryActive, primaryColorSuppl: base.primarySuppl,
|
|
80
|
-
// info color
|
|
81
|
-
infoColor: base.infoDefault, infoColorHover: base.infoHover, infoColorPressed: base.infoActive, infoColorSuppl: base.infoSuppl,
|
|
82
|
-
// success color
|
|
83
|
-
successColor: base.successDefault, successColorHover: base.successHover, successColorPressed: base.successActive, successColorSuppl: base.successSuppl,
|
|
84
|
-
// warning color
|
|
85
|
-
warningColor: base.warningDefault, warningColorHover: base.warningHover, warningColorPressed: base.warningActive, warningColorSuppl: base.warningSuppl,
|
|
86
|
-
// error color
|
|
87
|
-
errorColor: base.errorDefault, errorColorHover: base.errorHover, errorColorPressed: base.errorActive, errorColorSuppl: base.errorSuppl,
|
|
88
|
-
// tertiary color
|
|
89
|
-
tertiaryColor: base.tertiaryDefault, tertiaryColorHover: base.tertiaryHover, tertiaryColorActive: base.tertiaryActive, tertiaryColorSuppl: base.tertiarySuppl, tertiaryElements: '#F3F4F6',
|
|
90
|
-
// text color
|
|
91
|
-
textColorBase: base.neutralTextBase, textColor1: overlay(base.alpha1), textColor2: overlay(base.alpha2), textColor3: overlay(base.alpha3), textTertiary: '#999',
|
|
92
|
-
// textColor4: overlay(base.alpha4), // disabled, placeholder, icon
|
|
93
|
-
// textColor5: overlay(base.alpha5),
|
|
94
|
-
// Box Shadow colors
|
|
95
|
-
boxShadowHover: 'rgba(197, 199, 202, 0.25)', boxShadowFocus: 'rgba(197, 199, 202, 0.36)', boxShadowHoverChecked: 'rgba(187, 162, 253, 0.25)', boxShadowFocusChecked: 'rgba(187, 162, 253, 0.36)', textColorDisabled: overlay(base.alpha4), placeholderColor: overlay(base.alpha4), placeholderColorDisabled: overlay(base.alpha5), iconColor: overlay(base.alpha4), iconColorDisabled: overlay(base.alpha5), iconColorHover: overlay(Number(base.alpha4) * 1.25), iconColorPressed: overlay(Number(base.alpha4) * 0.8), opacity1: base.alpha1, opacity2: base.alpha2, opacity3: base.alpha3, opacity4: base.alpha4, opacity5: base.alpha5, dividerColor: overlay(base.alphaDivider), borderColor: overlay(base.alphaBorder), borderTagColor: '#C5C7CA',
|
|
96
|
-
// close
|
|
97
|
-
closeIconColorHover: overlay(Number(base.alphaClose)), closeIconColor: overlay(Number(base.alphaClose)), closeIconColorPressed: overlay(Number(base.alphaClose)), closeColorHover: 'rgba(255, 255, 255, .12)', closeColorPressed: 'rgba(255, 255, 255, .08)',
|
|
98
|
-
// clear
|
|
99
|
-
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), avatarTextColor: base.neutralTextBase, avatarIconColor: base.neutralTextBase, invertedColor: base.neutralBase, tooltipColor: base.neutralPopover, 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, .08)', buttonColor2Hover: 'rgba(255, 255, 255, .12)', buttonColor2Pressed: 'rgba(255, 255, 255, .08)', 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)' });
|
|
2
|
+
const derived = Object.assign(Object.assign({ name: 'common' }, commonVariables), { scrollbarColor: 'rgba(255, 255, 255, 0.25)', scrollbarColorHover: 'rgba(255, 255, 255, 0.4)', scrollbarWidth: '5px', scrollbarHeight: '5px', scrollbarBorderRadius: '5px', opacityDisabled: '0.5', brandPrimary50: '#2B204E', brandPrimary100: '#412A89', brandPrimary200: '#6A40ED', brandPrimary300: '#BBA2FD', brandPrimary400: '#7748F1', brandPrimary500: '#8967F1', brandPrimary550: '#6607DF', brandPrimary600: '#5D46A6', brandSecondary500: '#FFFF54', brandSecondary300: '#FDF5A6', brandSecondary600: '#F9DE6D', brandTertiary500: '#C4ED70', brandTertiary300: '#DCF0AF', brandTertiary600: '#9DED70', brandQuaternary500: '#90DDFB', brandQuaternary300: '#C5ECFD', brandQuaternary600: '#54B8F9', brandQuinary500: '#EC616A', brandQuinary300: '#F19EDA', brandQuinary600: '#EA3E68', brandQuinary100: '#FAD6D9', surfacePrimary: '#101010', surfaceSecondary: '#1D1D1D', containerPrimary: '#1D1D1D', containerSecondary: '#313135', textPrimary: '#F3F4F6', textSecondary: '#808080', textTertiary: '#999999', textQuaternary: '#101010', textBrand: '#F3F4F6', elementsPrimary: '#F3F4F6', elementsSecondary: '#101010', elementsTertiary: '#222222', elementsQuaternary: '#424247', elementsQuinary: '#707479', elementsDarkQuinary: '#919396', elementsSenary: '#DFDFDF', elementsOnContainer: '#101010', transparencyPrimary: 'rgba(255, 255, 255, 0.1)', transparencySecondary: 'rgba(255, 255, 255, 0.07)', transparencyTertiary: 'rgba(255, 255, 255, 0.16)', transparencyQuinary: 'rgba(255, 255, 255, 0.32)', transparencyModal: 'rgba(0, 0, 0, 0.75)', staticBlack: '#101010', staticDarkGrey: '#2C2C2D', staticWhite: '#FFFFFF', staticRed: '#F24835', staticOrange: '#F48C2C', staticGreen: '#09B849', staticErrorAccent: '#CB0000', shadowDepth2: '0 0 0 1px #424247' // В дизайне тень вообще отсутствует, пока что пусть побудет визуально как border
|
|
3
|
+
});
|
|
100
4
|
export default derived;
|