amis-ui 6.9.0 → 6.10.0-beta.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/esm/components/404.js +1 -1
- package/esm/components/Alert.js +1 -1
- package/esm/components/Alert2.js +1 -1
- package/esm/components/AnchorNav.js +3 -3
- package/esm/components/AnchorNavSection.js +1 -1
- package/esm/components/ArrayInput.js +1 -1
- package/esm/components/AsideNav.js +1 -1
- package/esm/components/AssociatedSelection.js +1 -1
- package/esm/components/AutoSizer.js +1 -1
- package/esm/components/Avatar.js +1 -1
- package/esm/components/Badge.js +1 -1
- package/esm/components/BaiduMapPicker.js +1 -1
- package/esm/components/BarCode.js +1 -1
- package/esm/components/Breadcrumb.js +1 -1
- package/esm/components/Button.js +1 -1
- package/esm/components/CalendarMobile.js +1 -1
- package/esm/components/Card.d.ts +10 -10
- package/esm/components/Card.js +1 -1
- package/esm/components/Cascader.js +1 -1
- package/esm/components/ChainedDropdownSelection.js +1 -1
- package/esm/components/ChainedSelection.js +1 -1
- package/esm/components/Checkbox.d.ts +2 -0
- package/esm/components/Checkbox.js +28 -12
- package/esm/components/CityArea.js +2 -2
- package/esm/components/CityDB.js +1 -1
- package/esm/components/CodeMirror.js +4 -3
- package/esm/components/Collapse.js +3 -3
- package/esm/components/CollapseGroup.js +1 -1
- package/esm/components/ColorPicker.js +1 -1
- package/esm/components/Combo.js +1 -1
- package/esm/components/ConditionBuilder.js +1 -1
- package/esm/components/ConfirmBox.d.ts +43 -41
- package/esm/components/ConfirmBox.js +5 -4
- package/esm/components/ContextMenu.js +1 -1
- package/esm/components/DatePicker.d.ts +41 -40
- package/esm/components/DatePicker.js +3 -3
- package/esm/components/DateRangePicker.d.ts +44 -43
- package/esm/components/DateRangePicker.js +4 -4
- package/esm/components/DiffEditor.js +1 -1
- package/esm/components/DndContainer.js +1 -1
- package/esm/components/Drawer.js +1 -1
- package/esm/components/DropDownSelection.js +1 -1
- package/esm/components/Editor.js +1 -1
- package/esm/components/Form.js +1 -1
- package/esm/components/FormField.js +1 -1
- package/esm/components/FormulaPicker.js +1 -1
- package/esm/components/GaodeMapPicker.js +1 -1
- package/esm/components/GridNav.js +1 -1
- package/esm/components/GridNavItem.js +1 -1
- package/esm/components/GroupedSelection.js +1 -1
- package/esm/components/HeadCellDropDown.js +1 -1
- package/esm/components/Html.js +1 -1
- package/esm/components/Icon.js +1 -1
- package/esm/components/ImageGallery.js +1 -1
- package/esm/components/Input.js +1 -1
- package/esm/components/InputBox.d.ts +10 -10
- package/esm/components/InputBox.js +1 -1
- package/esm/components/InputBoxWithSuggestion.js +1 -1
- package/esm/components/InputJSONSchema.js +1 -1
- package/esm/components/InputTable.js +1 -1
- package/esm/components/JSONSchemaEditor.js +1 -1
- package/esm/components/Layout.js +1 -1
- package/esm/components/Link.js +1 -1
- package/esm/components/ListGroup.d.ts +10 -10
- package/esm/components/ListGroup.js +1 -1
- package/esm/components/ListMenu.js +1 -1
- package/esm/components/LocationPicker.js +1 -1
- package/esm/components/Markdown.js +1 -1
- package/esm/components/Menu.js +1 -1
- package/esm/components/MobileDevTool.js +23 -14
- package/esm/components/Modal.js +1 -1
- package/esm/components/ModalManager.js +1 -1
- package/esm/components/MultilineText.js +1 -1
- package/esm/components/NumberInput.js +1 -1
- package/esm/components/OverflowTpl.js +1 -1
- package/esm/components/Pagination.js +1 -1
- package/esm/components/PdfViewer.js +1 -1
- package/esm/components/Picker.js +1 -1
- package/esm/components/PickerColumn.js +1 -1
- package/esm/components/PickerContainer.js +2 -2
- package/esm/components/PopOverContainer.js +1 -1
- package/esm/components/PopUp.d.ts +42 -40
- package/esm/components/PopUp.js +3 -3
- package/esm/components/Progress.js +1 -1
- package/esm/components/PullRefresh.js +1 -1
- package/esm/components/Radios.d.ts +11 -22
- package/esm/components/Radios.js +20 -11
- package/esm/components/Range.js +1 -1
- package/esm/components/Rating.js +1 -1
- package/esm/components/ResultBox.d.ts +42 -40
- package/esm/components/ResultBox.js +21 -7
- package/esm/components/ResultList.js +1 -1
- package/esm/components/ResultTableList.js +1 -1
- package/esm/components/ResultTreeList.js +1 -1
- package/esm/components/RichText.js +1 -1
- package/esm/components/SearchBox.js +1 -1
- package/esm/components/Select.js +1 -1
- package/esm/components/SelectMobile.js +1 -1
- package/esm/components/Selection.js +1 -1
- package/esm/components/Signature.js +1 -1
- package/esm/components/SparkLine.js +1 -1
- package/esm/components/Spinner.js +1 -1
- package/esm/components/Steps.d.ts +1 -0
- package/esm/components/Steps.js +6 -6
- package/esm/components/Switch.js +1 -1
- package/esm/components/Tab.js +1 -1
- package/esm/components/Table.js +1 -1
- package/esm/components/TableSelection.js +1 -1
- package/esm/components/Tabs.d.ts +42 -41
- package/esm/components/Tabs.js +6 -7
- package/esm/components/TabsTransfer.js +1 -1
- package/esm/components/TabsTransferPicker.js +1 -1
- package/esm/components/Tag.js +1 -1
- package/esm/components/Textarea.js +1 -1
- package/esm/components/Timeline.js +1 -1
- package/esm/components/TimelineItem.js +1 -1
- package/esm/components/Tinymce.js +1 -1
- package/esm/components/TitleBar.js +1 -1
- package/esm/components/Toast.js +1 -1
- package/esm/components/Tooltip.js +1 -1
- package/esm/components/TooltipWrapper.js +1 -1
- package/esm/components/Transfer.js +3 -3
- package/esm/components/TransferDropDown.js +1 -1
- package/esm/components/TransferPicker.d.ts +1 -0
- package/esm/components/TransferPicker.js +3 -3
- package/esm/components/TransferSearch.js +1 -1
- package/esm/components/Tree.d.ts +103 -44
- package/esm/components/Tree.js +53 -26
- package/esm/components/TreeSelection.js +1 -1
- package/esm/components/UserSelect.js +1 -1
- package/esm/components/UserTabSelect.js +1 -1
- package/esm/components/VerificationCode.js +1 -1
- package/esm/components/VirtualList.js +1 -1
- package/esm/components/WithRemoteConfig.js +2 -2
- package/esm/components/WithStore.js +1 -1
- package/esm/components/calendar/Calendar.js +1 -1
- package/esm/components/calendar/CalendarContainer.js +1 -1
- package/esm/components/calendar/DaysView.js +1 -1
- package/esm/components/calendar/MonthsView.js +1 -1
- package/esm/components/calendar/QuartersView.js +1 -1
- package/esm/components/calendar/TimeView.js +1 -1
- package/esm/components/calendar/YearsView.js +1 -1
- package/esm/components/condition-builder/Expression.js +1 -1
- package/esm/components/condition-builder/Field.js +1 -1
- package/esm/components/condition-builder/Func.js +1 -1
- package/esm/components/condition-builder/Group.js +1 -1
- package/esm/components/condition-builder/GroupOrItem.js +1 -1
- package/esm/components/condition-builder/InputSwitch.js +1 -1
- package/esm/components/condition-builder/Item.js +1 -1
- package/esm/components/condition-builder/Value.js +1 -1
- package/esm/components/condition-builder/config.js +1 -1
- package/esm/components/condition-builder/index.js +1 -1
- package/esm/components/formula/CodeEditor.js +1 -1
- package/esm/components/formula/Editor.js +1 -1
- package/esm/components/formula/FuncList.js +1 -1
- package/esm/components/formula/Input.js +1 -1
- package/esm/components/formula/Picker.js +1 -1
- package/esm/components/formula/VariableList.js +1 -1
- package/esm/components/formula/plugin.js +1 -1
- package/esm/components/icons.js +2 -2
- package/esm/components/json-schema/Array.js +1 -1
- package/esm/components/json-schema/Item.js +1 -1
- package/esm/components/json-schema/Object.js +1 -1
- package/esm/components/json-schema/index.js +1 -1
- package/esm/components/menu/MenuContext.js +1 -1
- package/esm/components/menu/MenuItem.js +1 -1
- package/esm/components/menu/SubMenu.js +1 -1
- package/esm/components/menu/index.d.ts +10 -10
- package/esm/components/menu/index.js +1 -1
- package/esm/components/schema-editor/Array.js +1 -1
- package/esm/components/schema-editor/Common.js +1 -1
- package/esm/components/schema-editor/Item.js +1 -1
- package/esm/components/schema-editor/Object.js +1 -1
- package/esm/components/schema-editor/SchemaVariableList.js +1 -1
- package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/esm/components/schema-editor/index.js +1 -1
- package/esm/components/table/Cell.js +1 -1
- package/esm/components/table/ColGroup.js +1 -1
- package/esm/components/table/Head.js +1 -1
- package/esm/components/table/HeadCellDropDown.js +1 -1
- package/esm/components/table/HeadCellFilter.js +1 -1
- package/esm/components/table/HeadCellSelect.js +1 -1
- package/esm/components/table/HeadCellSort.js +1 -1
- package/esm/components/table/ItemActionsWrapper.js +1 -1
- package/esm/components/table/Row.js +1 -1
- package/esm/components/table/SummaryRow.js +1 -1
- package/esm/components/table/index.js +1 -1
- package/esm/components/table/util.js +1 -1
- package/esm/components/virtual-list/AutoSizer.js +1 -1
- package/esm/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/esm/components/virtual-list/constants.js +1 -1
- package/esm/components/virtual-list/index.js +1 -1
- package/esm/components/withBadge.js +1 -1
- package/esm/hooks/use-on-screen.js +1 -1
- package/esm/hooks/use-set-state.js +1 -1
- package/esm/hooks/use-sub-form.js +1 -1
- package/esm/hooks/use-touch.js +1 -1
- package/esm/hooks/use-update-effect.js +1 -1
- package/esm/hooks/use-validation-resolver.js +1 -1
- package/esm/icons/alert-danger.svg.js +1 -1
- package/esm/icons/alert-info.svg.js +1 -1
- package/esm/icons/alert-success.svg.js +1 -1
- package/esm/icons/alert-warning.svg.js +1 -1
- package/esm/icons/arrow-double-left.svg.js +1 -1
- package/esm/icons/arrow-double-right.svg.js +1 -1
- package/esm/icons/back.svg.js +1 -1
- package/esm/icons/calendar.svg.js +1 -1
- package/esm/icons/caret.svg.js +1 -1
- package/esm/icons/check.svg.js +1 -1
- package/esm/icons/clock.svg.js +1 -1
- package/esm/icons/close-small.svg.js +1 -1
- package/esm/icons/close.svg.js +1 -1
- package/esm/icons/cloud-upload.svg.js +1 -1
- package/esm/icons/column-filter.svg.js +1 -1
- package/esm/icons/columns.svg.js +1 -1
- package/esm/icons/compress-alt.svg.js +1 -1
- package/esm/icons/copy.svg.js +1 -1
- package/esm/icons/date.svg.js +1 -1
- package/esm/icons/department.svg.js +1 -1
- package/esm/icons/desk-empty.svg.js +1 -1
- package/esm/icons/dot.svg.js +1 -1
- package/esm/icons/down-arrow-bold.svg.js +1 -1
- package/esm/icons/down.svg.js +1 -1
- package/esm/icons/download.svg.js +1 -1
- package/esm/icons/drag-bar.svg.js +1 -1
- package/esm/icons/drag.svg.js +1 -1
- package/esm/icons/edit.svg.js +1 -1
- package/esm/icons/ellipsis-v.svg.js +1 -1
- package/esm/icons/enter.svg.js +1 -1
- package/esm/icons/exchange.svg.js +1 -1
- package/esm/icons/expand-alt.svg.js +1 -1
- package/esm/icons/fail.svg.js +1 -1
- package/esm/icons/file.svg.js +1 -1
- package/esm/icons/filter.svg.js +1 -1
- package/esm/icons/folder.svg.js +1 -1
- package/esm/icons/fullscreen.svg.js +1 -1
- package/esm/icons/function.svg.js +1 -1
- package/esm/icons/home.svg.js +1 -1
- package/esm/icons/if.svg.js +1 -1
- package/esm/icons/image.svg.js +1 -1
- package/esm/icons/info-circle.svg.js +1 -1
- package/esm/icons/info.svg.js +1 -1
- package/esm/icons/input-clear.svg.js +1 -1
- package/esm/icons/invisible.svg.js +1 -1
- package/esm/icons/left-arrow.svg.js +1 -1
- package/esm/icons/loading-outline.svg.js +1 -1
- package/esm/icons/location.svg.js +1 -1
- package/esm/icons/menu.svg.js +1 -1
- package/esm/icons/minus.svg.js +1 -1
- package/esm/icons/move.svg.js +1 -1
- package/esm/icons/mute.svg.js +1 -1
- package/esm/icons/new-edit.svg.js +1 -1
- package/esm/icons/pause.svg.js +1 -1
- package/esm/icons/pencil.svg.js +1 -1
- package/esm/icons/play.svg.js +1 -1
- package/esm/icons/plus-cicle.svg.js +1 -1
- package/esm/icons/plus-fine.svg.js +1 -1
- package/esm/icons/plus.svg.js +1 -1
- package/esm/icons/post.svg.js +1 -1
- package/esm/icons/question-mark.svg.js +1 -1
- package/esm/icons/question.svg.js +1 -1
- package/esm/icons/redo.svg.js +1 -1
- package/esm/icons/refresh.svg.js +1 -1
- package/esm/icons/reload.svg.js +1 -1
- package/esm/icons/remove.svg.js +1 -1
- package/esm/icons/retry.svg.js +1 -1
- package/esm/icons/right-arrow-bold.svg.js +1 -1
- package/esm/icons/right-arrow.svg.js +1 -1
- package/esm/icons/right-double-arrow.svg.js +1 -1
- package/esm/icons/role.svg.js +1 -1
- package/esm/icons/rotate-left.svg.js +1 -1
- package/esm/icons/rotate-right.svg.js +1 -1
- package/esm/icons/rotate-screen.svg.js +1 -1
- package/esm/icons/scale-origin.svg.js +1 -1
- package/esm/icons/schedule.svg.js +1 -1
- package/esm/icons/search.svg.js +1 -1
- package/esm/icons/setting.svg.js +1 -1
- package/esm/icons/slider-handle-icon.svg.js +1 -1
- package/esm/icons/sort-asc.svg.js +1 -1
- package/esm/icons/sort-default.svg.js +1 -1
- package/esm/icons/sort-desc.svg.js +1 -1
- package/esm/icons/star.svg.js +1 -1
- package/esm/icons/status-close.svg.js +1 -1
- package/esm/icons/steps-finsh.svg.js +1 -1
- package/esm/icons/sub-plus.svg.js +1 -1
- package/esm/icons/success.svg.js +1 -1
- package/esm/icons/transparent.svg.js +1 -1
- package/esm/icons/trash.svg.js +1 -1
- package/esm/icons/tree-down.svg.js +1 -1
- package/esm/icons/undo-normal.svg.js +1 -1
- package/esm/icons/undo.svg.js +1 -1
- package/esm/icons/unfullscreen.svg.js +1 -1
- package/esm/icons/upload.svg.js +1 -1
- package/esm/icons/user-remove.svg.js +1 -1
- package/esm/icons/view.svg.js +1 -1
- package/esm/icons/volume.svg.js +1 -1
- package/esm/icons/warning-mark.svg.js +1 -1
- package/esm/icons/warning.svg.js +1 -1
- package/esm/icons/window-restore.svg.js +1 -1
- package/esm/icons/zoom-in.svg.js +1 -1
- package/esm/icons/zoom-out.svg.js +1 -1
- package/esm/index.js +1 -1
- package/esm/locale/de-DE.js +1 -1
- package/esm/locale/en-US.js +1 -1
- package/esm/locale/zh-CN.js +1 -1
- package/esm/themes/ang.js +1 -1
- package/esm/themes/antd.js +1 -1
- package/esm/themes/cxd.js +1 -1
- package/esm/themes/dark.js +1 -1
- package/esm/withRemoteConfig.js +1 -1
- package/esm/withStore.js +1 -1
- package/lib/components/404.js +1 -1
- package/lib/components/Alert.js +1 -1
- package/lib/components/Alert2.js +1 -1
- package/lib/components/AnchorNav.js +3 -3
- package/lib/components/AnchorNavSection.js +1 -1
- package/lib/components/ArrayInput.js +1 -1
- package/lib/components/AsideNav.js +1 -1
- package/lib/components/AssociatedSelection.js +1 -1
- package/lib/components/AutoSizer.js +1 -1
- package/lib/components/Avatar.js +1 -1
- package/lib/components/Badge.js +1 -1
- package/lib/components/BaiduMapPicker.js +1 -1
- package/lib/components/BarCode.js +1 -1
- package/lib/components/Breadcrumb.js +1 -1
- package/lib/components/Button.js +1 -1
- package/lib/components/CalendarMobile.js +1 -1
- package/lib/components/Card.js +1 -1
- package/lib/components/Cascader.js +1 -1
- package/lib/components/ChainedDropdownSelection.js +1 -1
- package/lib/components/ChainedSelection.js +1 -1
- package/lib/components/Checkbox.d.ts +2 -0
- package/lib/components/Checkbox.js +28 -12
- package/lib/components/CityArea.js +2 -2
- package/lib/components/CityDB.js +1 -1
- package/lib/components/CodeMirror.js +4 -3
- package/lib/components/Collapse.js +3 -3
- package/lib/components/CollapseGroup.js +1 -1
- package/lib/components/ColorPicker.js +1 -1
- package/lib/components/Combo.js +1 -1
- package/lib/components/ConditionBuilder.js +1 -1
- package/lib/components/ConfirmBox.d.ts +43 -41
- package/lib/components/ConfirmBox.js +5 -4
- package/lib/components/ContextMenu.js +1 -1
- package/lib/components/DatePicker.d.ts +41 -40
- package/lib/components/DatePicker.js +3 -3
- package/lib/components/DateRangePicker.d.ts +44 -43
- package/lib/components/DateRangePicker.js +4 -4
- package/lib/components/DiffEditor.js +1 -1
- package/lib/components/DndContainer.js +1 -1
- package/lib/components/Drawer.d.ts +10 -10
- package/lib/components/Drawer.js +1 -1
- package/lib/components/DropDownSelection.js +1 -1
- package/lib/components/Editor.js +1 -1
- package/lib/components/Form.js +1 -1
- package/lib/components/FormField.js +1 -1
- package/lib/components/FormulaPicker.js +1 -1
- package/lib/components/GaodeMapPicker.js +1 -1
- package/lib/components/GridNav.js +1 -1
- package/lib/components/GridNavItem.js +1 -1
- package/lib/components/GroupedSelection.js +1 -1
- package/lib/components/HeadCellDropDown.js +1 -1
- package/lib/components/Html.js +1 -1
- package/lib/components/Icon.js +1 -1
- package/lib/components/ImageGallery.js +1 -1
- package/lib/components/Input.js +1 -1
- package/lib/components/InputBox.d.ts +10 -10
- package/lib/components/InputBox.js +1 -1
- package/lib/components/InputBoxWithSuggestion.js +1 -1
- package/lib/components/InputJSONSchema.js +1 -1
- package/lib/components/InputTable.js +1 -1
- package/lib/components/JSONSchemaEditor.js +1 -1
- package/lib/components/Layout.js +1 -1
- package/lib/components/Link.js +1 -1
- package/lib/components/ListGroup.d.ts +10 -10
- package/lib/components/ListGroup.js +1 -1
- package/lib/components/ListMenu.js +1 -1
- package/lib/components/LocationPicker.js +1 -1
- package/lib/components/Markdown.js +1 -1
- package/lib/components/Menu.js +1 -1
- package/lib/components/MobileDevTool.js +22 -13
- package/lib/components/Modal.d.ts +40 -40
- package/lib/components/Modal.js +1 -1
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MultilineText.js +1 -1
- package/lib/components/NumberInput.js +1 -1
- package/lib/components/OverflowTpl.js +1 -1
- package/lib/components/Pagination.js +1 -1
- package/lib/components/PdfViewer.js +1 -1
- package/lib/components/Picker.js +1 -1
- package/lib/components/PickerColumn.js +1 -1
- package/lib/components/PickerContainer.js +2 -2
- package/lib/components/PopOverContainer.js +1 -1
- package/lib/components/PopUp.d.ts +42 -40
- package/lib/components/PopUp.js +3 -3
- package/lib/components/Progress.js +1 -1
- package/lib/components/PullRefresh.js +1 -1
- package/lib/components/Radios.d.ts +11 -22
- package/lib/components/Radios.js +20 -11
- package/lib/components/Range.js +1 -1
- package/lib/components/Rating.js +1 -1
- package/lib/components/ResultBox.d.ts +42 -40
- package/lib/components/ResultBox.js +21 -7
- package/lib/components/ResultList.js +1 -1
- package/lib/components/ResultTableList.js +1 -1
- package/lib/components/ResultTreeList.js +1 -1
- package/lib/components/RichText.js +1 -1
- package/lib/components/SearchBox.js +1 -1
- package/lib/components/Select.js +1 -1
- package/lib/components/SelectMobile.js +1 -1
- package/lib/components/Selection.js +1 -1
- package/lib/components/Signature.js +1 -1
- package/lib/components/SparkLine.js +1 -1
- package/lib/components/Spinner.js +1 -1
- package/lib/components/Steps.d.ts +1 -0
- package/lib/components/Steps.js +6 -6
- package/lib/components/Switch.js +1 -1
- package/lib/components/Tab.js +1 -1
- package/lib/components/Table.js +1 -1
- package/lib/components/TableSelection.js +1 -1
- package/lib/components/Tabs.d.ts +42 -41
- package/lib/components/Tabs.js +6 -7
- package/lib/components/TabsTransfer.js +1 -1
- package/lib/components/TabsTransferPicker.js +1 -1
- package/lib/components/Tag.js +1 -1
- package/lib/components/Textarea.js +1 -1
- package/lib/components/Timeline.js +1 -1
- package/lib/components/TimelineItem.js +1 -1
- package/lib/components/Tinymce.js +1 -1
- package/lib/components/TitleBar.js +1 -1
- package/lib/components/Toast.js +1 -1
- package/lib/components/Tooltip.js +1 -1
- package/lib/components/TooltipWrapper.js +1 -1
- package/lib/components/Transfer.js +3 -3
- package/lib/components/TransferDropDown.js +1 -1
- package/lib/components/TransferPicker.d.ts +1 -0
- package/lib/components/TransferPicker.js +3 -3
- package/lib/components/TransferSearch.js +1 -1
- package/lib/components/Tree.d.ts +103 -44
- package/lib/components/Tree.js +53 -26
- package/lib/components/TreeSelection.js +1 -1
- package/lib/components/UserSelect.js +1 -1
- package/lib/components/UserTabSelect.js +1 -1
- package/lib/components/VerificationCode.js +1 -1
- package/lib/components/VirtualList.js +1 -1
- package/lib/components/WithRemoteConfig.js +2 -2
- package/lib/components/WithStore.js +1 -1
- package/lib/components/calendar/Calendar.js +1 -1
- package/lib/components/calendar/CalendarContainer.js +1 -1
- package/lib/components/calendar/DaysView.js +1 -1
- package/lib/components/calendar/MonthsView.js +1 -1
- package/lib/components/calendar/QuartersView.js +1 -1
- package/lib/components/calendar/TimeView.js +1 -1
- package/lib/components/calendar/YearsView.js +1 -1
- package/lib/components/condition-builder/Expression.js +1 -1
- package/lib/components/condition-builder/Field.js +1 -1
- package/lib/components/condition-builder/Func.js +1 -1
- package/lib/components/condition-builder/Group.js +1 -1
- package/lib/components/condition-builder/GroupOrItem.js +1 -1
- package/lib/components/condition-builder/InputSwitch.js +1 -1
- package/lib/components/condition-builder/Item.js +1 -1
- package/lib/components/condition-builder/Value.js +1 -1
- package/lib/components/condition-builder/config.js +1 -1
- package/lib/components/condition-builder/index.js +1 -1
- package/lib/components/formula/CodeEditor.js +1 -1
- package/lib/components/formula/Editor.js +1 -1
- package/lib/components/formula/FuncList.js +1 -1
- package/lib/components/formula/Input.js +1 -1
- package/lib/components/formula/Picker.js +1 -1
- package/lib/components/formula/VariableList.js +1 -1
- package/lib/components/formula/plugin.js +1 -1
- package/lib/components/icons.js +2 -2
- package/lib/components/json-schema/Array.js +1 -1
- package/lib/components/json-schema/Item.js +1 -1
- package/lib/components/json-schema/Object.js +1 -1
- package/lib/components/json-schema/index.js +1 -1
- package/lib/components/menu/MenuContext.js +1 -1
- package/lib/components/menu/MenuItem.js +1 -1
- package/lib/components/menu/SubMenu.js +1 -1
- package/lib/components/menu/index.d.ts +10 -10
- package/lib/components/menu/index.js +1 -1
- package/lib/components/schema-editor/Array.js +1 -1
- package/lib/components/schema-editor/Common.js +1 -1
- package/lib/components/schema-editor/Item.js +1 -1
- package/lib/components/schema-editor/Object.js +1 -1
- package/lib/components/schema-editor/SchemaVariableList.js +1 -1
- package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/lib/components/schema-editor/index.js +1 -1
- package/lib/components/table/Cell.js +1 -1
- package/lib/components/table/ColGroup.js +1 -1
- package/lib/components/table/Head.js +1 -1
- package/lib/components/table/HeadCellDropDown.js +1 -1
- package/lib/components/table/HeadCellFilter.js +1 -1
- package/lib/components/table/HeadCellSelect.js +1 -1
- package/lib/components/table/HeadCellSort.js +1 -1
- package/lib/components/table/ItemActionsWrapper.js +1 -1
- package/lib/components/table/Row.js +1 -1
- package/lib/components/table/SummaryRow.js +1 -1
- package/lib/components/table/index.js +1 -1
- package/lib/components/table/util.js +1 -1
- package/lib/components/virtual-list/AutoSizer.js +1 -1
- package/lib/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/lib/components/virtual-list/constants.js +1 -1
- package/lib/components/virtual-list/index.js +1 -1
- package/lib/components/withBadge.js +1 -1
- package/lib/helper.css +109 -109
- package/lib/hooks/use-on-screen.js +1 -1
- package/lib/hooks/use-set-state.js +1 -1
- package/lib/hooks/use-sub-form.js +1 -1
- package/lib/hooks/use-touch.js +1 -1
- package/lib/hooks/use-update-effect.js +1 -1
- package/lib/hooks/use-validation-resolver.js +1 -1
- package/lib/icons/alert-danger.svg.js +1 -1
- package/lib/icons/alert-info.svg.js +1 -1
- package/lib/icons/alert-success.svg.js +1 -1
- package/lib/icons/alert-warning.svg.js +1 -1
- package/lib/icons/arrow-double-left.svg.js +1 -1
- package/lib/icons/arrow-double-right.svg.js +1 -1
- package/lib/icons/back.svg.js +1 -1
- package/lib/icons/calendar.svg.js +1 -1
- package/lib/icons/caret.svg.js +1 -1
- package/lib/icons/check.svg.js +1 -1
- package/lib/icons/clock.svg.js +1 -1
- package/lib/icons/close-small.svg.js +1 -1
- package/lib/icons/close.svg.js +1 -1
- package/lib/icons/cloud-upload.svg.js +1 -1
- package/lib/icons/column-filter.svg.js +1 -1
- package/lib/icons/columns.svg.js +1 -1
- package/lib/icons/compress-alt.svg.js +1 -1
- package/lib/icons/copy.svg.js +1 -1
- package/lib/icons/date.svg.js +1 -1
- package/lib/icons/department.svg.js +1 -1
- package/lib/icons/desk-empty.svg.js +1 -1
- package/lib/icons/dot.svg.js +1 -1
- package/lib/icons/down-arrow-bold.svg.js +1 -1
- package/lib/icons/down.svg.js +1 -1
- package/lib/icons/download.svg.js +1 -1
- package/lib/icons/drag-bar.svg.js +1 -1
- package/lib/icons/drag.svg.js +1 -1
- package/lib/icons/edit.svg.js +1 -1
- package/lib/icons/ellipsis-v.svg.js +1 -1
- package/lib/icons/enter.svg.js +1 -1
- package/lib/icons/exchange.svg.js +1 -1
- package/lib/icons/expand-alt.svg.js +1 -1
- package/lib/icons/fail.svg.js +1 -1
- package/lib/icons/file.svg.js +1 -1
- package/lib/icons/filter.svg.js +1 -1
- package/lib/icons/folder.svg.js +1 -1
- package/lib/icons/fullscreen.svg.js +1 -1
- package/lib/icons/function.svg.js +1 -1
- package/lib/icons/home.svg.js +1 -1
- package/lib/icons/if.svg.js +1 -1
- package/lib/icons/image.svg.js +1 -1
- package/lib/icons/info-circle.svg.js +1 -1
- package/lib/icons/info.svg.js +1 -1
- package/lib/icons/input-clear.svg.js +1 -1
- package/lib/icons/invisible.svg.js +1 -1
- package/lib/icons/left-arrow.svg.js +1 -1
- package/lib/icons/loading-outline.svg.js +1 -1
- package/lib/icons/location.svg.js +1 -1
- package/lib/icons/menu.svg.js +1 -1
- package/lib/icons/minus.svg.js +1 -1
- package/lib/icons/move.svg.js +1 -1
- package/lib/icons/mute.svg.js +1 -1
- package/lib/icons/new-edit.svg.js +1 -1
- package/lib/icons/pause.svg.js +1 -1
- package/lib/icons/pencil.svg.js +1 -1
- package/lib/icons/play.svg.js +1 -1
- package/lib/icons/plus-cicle.svg.js +1 -1
- package/lib/icons/plus-fine.svg.js +1 -1
- package/lib/icons/plus.svg.js +1 -1
- package/lib/icons/post.svg.js +1 -1
- package/lib/icons/question-mark.svg.js +1 -1
- package/lib/icons/question.svg.js +1 -1
- package/lib/icons/redo.svg.js +1 -1
- package/lib/icons/refresh.svg.js +1 -1
- package/lib/icons/reload.svg.js +1 -1
- package/lib/icons/remove.svg.js +1 -1
- package/lib/icons/retry.svg.js +1 -1
- package/lib/icons/right-arrow-bold.svg.js +1 -1
- package/lib/icons/right-arrow.svg.js +1 -1
- package/lib/icons/right-double-arrow.svg.js +1 -1
- package/lib/icons/role.svg.js +1 -1
- package/lib/icons/rotate-left.svg.js +1 -1
- package/lib/icons/rotate-right.svg.js +1 -1
- package/lib/icons/rotate-screen.svg.js +1 -1
- package/lib/icons/scale-origin.svg.js +1 -1
- package/lib/icons/schedule.svg.js +1 -1
- package/lib/icons/search.svg.js +1 -1
- package/lib/icons/setting.svg.js +1 -1
- package/lib/icons/slider-handle-icon.svg.js +1 -1
- package/lib/icons/sort-asc.svg.js +1 -1
- package/lib/icons/sort-default.svg.js +1 -1
- package/lib/icons/sort-desc.svg.js +1 -1
- package/lib/icons/star.svg.js +1 -1
- package/lib/icons/status-close.svg.js +1 -1
- package/lib/icons/steps-finsh.svg.js +1 -1
- package/lib/icons/sub-plus.svg.js +1 -1
- package/lib/icons/success.svg.js +1 -1
- package/lib/icons/transparent.svg.js +1 -1
- package/lib/icons/trash.svg.js +1 -1
- package/lib/icons/tree-down.svg.js +1 -1
- package/lib/icons/undo-normal.svg.js +1 -1
- package/lib/icons/undo.svg.js +1 -1
- package/lib/icons/unfullscreen.svg.js +1 -1
- package/lib/icons/upload.svg.js +1 -1
- package/lib/icons/user-remove.svg.js +1 -1
- package/lib/icons/view.svg.js +1 -1
- package/lib/icons/volume.svg.js +1 -1
- package/lib/icons/warning-mark.svg.js +1 -1
- package/lib/icons/warning.svg.js +1 -1
- package/lib/icons/window-restore.svg.js +1 -1
- package/lib/icons/zoom-in.svg.js +1 -1
- package/lib/icons/zoom-out.svg.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/scss/helper.scss.js +1 -1
- package/lib/scss/themes/ang.scss.js +1 -1
- package/lib/scss/themes/antd.scss.js +1 -1
- package/lib/scss/themes/cxd.scss.js +1 -1
- package/lib/scss/themes/dark.scss.js +1 -1
- package/lib/scss/themes/default.scss.js +1 -1
- package/lib/themes/ang.css +899 -731
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +899 -731
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +899 -731
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +899 -731
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +899 -731
- package/lib/withRemoteConfig.js +1 -1
- package/lib/withStore.js +1 -1
- package/package.json +6 -5
- package/scss/_components.scss +260 -192
- package/scss/_functions.scss +36 -0
- package/scss/_mixins.scss +83 -0
- package/scss/components/_collapse-group.scss +11 -0
- package/scss/components/_collapse.scss +9 -0
- package/scss/components/_column-toggler.scss +18 -24
- package/scss/components/_debug.scss +59 -7
- package/scss/components/_page.scss +15 -0
- package/scss/components/_popoverable.scss +20 -0
- package/scss/components/_steps.scss +6 -1
- package/scss/components/_tabs.scss +6 -6
- package/scss/components/_timeline.scss +4 -2
- package/scss/components/form/_checks.scss +245 -539
- package/scss/components/form/_tree.scss +23 -1
|
@@ -1,66 +1,22 @@
|
|
|
1
1
|
.#{$ns}Checkbox {
|
|
2
2
|
margin: 0 var(--gap-sm) 0 0;
|
|
3
3
|
font-weight: var(--fontWeightNormal);
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
display: inline-block;
|
|
5
|
+
cursor: pointer;
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
clip: rect(1px 1px 1px 1px);
|
|
10
|
-
clip: rect(1px, 1px, 1px, 1px);
|
|
11
|
-
pointer-events: none;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
&:hover input:not(:disabled) + i {
|
|
15
|
-
border-color: var(--Checkbox-onHover-color);
|
|
16
|
-
// box-shadow: 0 0 px2rem(1px) var(--Checkbox-onHover-color) inset;
|
|
7
|
+
&.disabled {
|
|
8
|
+
cursor: not-allowed;
|
|
17
9
|
}
|
|
18
10
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
margin-left: 0;
|
|
22
|
-
}
|
|
11
|
+
> input {
|
|
12
|
+
display: none;
|
|
23
13
|
}
|
|
24
14
|
|
|
25
15
|
> i {
|
|
26
|
-
cursor: pointer;
|
|
27
16
|
line-height: 1;
|
|
28
|
-
background: var(--Checkbox-gb);
|
|
29
17
|
display: inline-block;
|
|
30
18
|
vertical-align: text-bottom;
|
|
31
19
|
position: relative;
|
|
32
|
-
pointer-events: all;
|
|
33
|
-
|
|
34
|
-
+ span {
|
|
35
|
-
pointer-events: all;
|
|
36
|
-
margin-left: var(--gap-sm);
|
|
37
|
-
cursor: pointer;
|
|
38
|
-
display: inline-block;
|
|
39
|
-
vertical-align: top;
|
|
40
|
-
|
|
41
|
-
> a {
|
|
42
|
-
// float: right;
|
|
43
|
-
margin-left: var(--gap-xs);
|
|
44
|
-
display: none;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&:empty {
|
|
48
|
-
display: none;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
&:before {
|
|
53
|
-
content: '';
|
|
54
|
-
position: absolute;
|
|
55
|
-
left: 50%;
|
|
56
|
-
top: 50%;
|
|
57
|
-
width: 0px;
|
|
58
|
-
height: 0px;
|
|
59
|
-
background: transparent;
|
|
60
|
-
transition: all var(--animation-duration);
|
|
61
|
-
transform-origin: 50% 50%;
|
|
62
|
-
transform: translate(-50%, -50%);
|
|
63
|
-
}
|
|
64
20
|
}
|
|
65
21
|
|
|
66
22
|
&.is-mobile {
|
|
@@ -71,530 +27,295 @@
|
|
|
71
27
|
}
|
|
72
28
|
}
|
|
73
29
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
&--checkbox {
|
|
79
|
-
padding-left: var(--Checkbox-size);
|
|
80
|
-
font-weight: var(--checkbox-checkbox-default-fontWeight);
|
|
81
|
-
font-size: var(--checkbox-checkbox-default-fontSize);
|
|
82
|
-
color: var(--checkbox-checkbox-default-text-color);
|
|
83
|
-
|
|
84
|
-
&:hover {
|
|
85
|
-
color: var(--checkbox-checkbox-hover-text-color);
|
|
30
|
+
&--partial {
|
|
31
|
+
.checkbox-icon {
|
|
32
|
+
content: var(--checkbox-default-partial-default-icon);
|
|
86
33
|
}
|
|
87
|
-
|
|
88
|
-
color: var(--checkbox-checkbox-active-text-color);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
input {
|
|
92
|
-
margin-left: calc(var(--Checkbox-size) * -1);
|
|
93
|
-
|
|
94
|
-
&:checked + i {
|
|
95
|
-
border-width: var(--checkbox-checked-default-top-border-width)
|
|
96
|
-
var(--checkbox-checked-default-right-border-width)
|
|
97
|
-
var(--checkbox-checked-default-bottom-border-width)
|
|
98
|
-
var(--checkbox-checked-default-left-border-width);
|
|
99
|
-
border-style: var(--checkbox-checked-default-top-border-style)
|
|
100
|
-
var(--checkbox-checked-default-right-border-style)
|
|
101
|
-
var(--checkbox-checked-default-bottom-border-style)
|
|
102
|
-
var(--checkbox-checked-default-left-border-style);
|
|
103
|
-
border-color: var(--checkbox-checked-default-top-border-color)
|
|
104
|
-
var(--checkbox-checked-default-right-border-color)
|
|
105
|
-
var(--checkbox-checked-default-bottom-border-color)
|
|
106
|
-
var(--checkbox-checked-default-left-border-color);
|
|
107
|
-
border-radius: var(--checkbox-checked-default-top-left-border-radius)
|
|
108
|
-
var(--checkbox-checked-default-top-right-border-radius)
|
|
109
|
-
var(--checkbox-checked-default-bottom-right-border-radius)
|
|
110
|
-
var(--checkbox-checked-default-bottom-left-border-radius);
|
|
111
|
-
|
|
112
|
-
&:hover {
|
|
113
|
-
border-width: var(--checkbox-checkbox-hover-top-border-width)
|
|
114
|
-
var(--checkbox-checkbox-hover-right-border-width)
|
|
115
|
-
var(--checkbox-checkbox-hover-bottom-border-width)
|
|
116
|
-
var(--checkbox-checkbox-hover-left-border-width);
|
|
117
|
-
border-style: var(--checkbox-checkbox-hover-top-border-style)
|
|
118
|
-
var(--checkbox-checkbox-hover-right-border-style)
|
|
119
|
-
var(--checkbox-checkbox-hover-bottom-border-style)
|
|
120
|
-
var(--checkbox-checkbox-hover-left-border-style);
|
|
121
|
-
border-color: var(--checkbox-checkbox-hover-top-border-color)
|
|
122
|
-
var(--checkbox-checkbox-hover-right-border-color)
|
|
123
|
-
var(--checkbox-checkbox-hover-bottom-border-color)
|
|
124
|
-
var(--checkbox-checkbox-hover-left-border-color);
|
|
125
|
-
border-radius: var(--checkbox-checkbox-hover-top-left-border-radius)
|
|
126
|
-
var(--checkbox-checkbox-hover-top-right-border-radius)
|
|
127
|
-
var(--checkbox-checkbox-hover-bottom-right-border-radius)
|
|
128
|
-
var(--checkbox-checkbox-hover-bottom-left-border-radius);
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
&:before {
|
|
132
|
-
width: var(--Checkbox-inner-size);
|
|
133
|
-
height: var(--Checkbox-inner-size);
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
&[disabled] + i {
|
|
138
|
-
border-color: var(--Checkbox-color) !important;
|
|
139
|
-
cursor: not-allowed;
|
|
140
|
-
background-color: var(--checkbox-checkbox-disabled-bg-color);
|
|
141
|
-
&:before {
|
|
142
|
-
border-width: 0;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
34
|
+
}
|
|
145
35
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
36
|
+
@mixin checkbox-default-style($type) {
|
|
37
|
+
font-size: var(#{$type}-fontSize);
|
|
38
|
+
color: var(#{$type}-text-color);
|
|
39
|
+
> i {
|
|
40
|
+
width: var(#{$type}-height);
|
|
41
|
+
height: var(#{$type}-height);
|
|
42
|
+
border-width: borderWidth(#{$type});
|
|
43
|
+
border-style: borderStyle(#{$type});
|
|
44
|
+
border-color: borderColor(#{$type});
|
|
45
|
+
border-radius: radius(#{$type});
|
|
46
|
+
background: var(#{$type}-bg-color);
|
|
150
47
|
}
|
|
48
|
+
}
|
|
151
49
|
|
|
50
|
+
&--checkbox--default {
|
|
51
|
+
font-weight: var(--checkbox-default-default-fontWeight);
|
|
52
|
+
@include checkbox-default-style(--checkbox-default-default);
|
|
152
53
|
> i {
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
var(--checkbox-checkbox-default-right-border-width)
|
|
161
|
-
var(--checkbox-checkbox-default-bottom-border-width)
|
|
162
|
-
var(--checkbox-checkbox-default-left-border-width);
|
|
163
|
-
border-style: var(--checkbox-checkbox-default-top-border-style)
|
|
164
|
-
var(--checkbox-checkbox-default-right-border-style)
|
|
165
|
-
var(--checkbox-checkbox-default-bottom-border-style)
|
|
166
|
-
var(--checkbox-checkbox-default-left-border-style);
|
|
167
|
-
border-color: var(--checkbox-checkbox-default-top-border-color)
|
|
168
|
-
var(--checkbox-checkbox-default-right-border-color)
|
|
169
|
-
var(--checkbox-checkbox-default-bottom-border-color)
|
|
170
|
-
var(--checkbox-checkbox-default-left-border-color);
|
|
171
|
-
border-radius: var(--checkbox-checkbox-default-top-left-border-radius)
|
|
172
|
-
var(--checkbox-checkbox-default-top-right-border-radius)
|
|
173
|
-
var(--checkbox-checkbox-default-bottom-right-border-radius)
|
|
174
|
-
var(--checkbox-checkbox-default-bottom-left-border-radius);
|
|
175
|
-
background: var(--checkbox-checkbox-default-bg-color);
|
|
176
|
-
|
|
177
|
-
&:hover {
|
|
178
|
-
border-width: var(--checkbox-checkbox-hover-top-border-width)
|
|
179
|
-
var(--checkbox-checkbox-hover-right-border-width)
|
|
180
|
-
var(--checkbox-checkbox-hover-bottom-border-width)
|
|
181
|
-
var(--checkbox-checkbox-hover-left-border-width);
|
|
182
|
-
border-style: var(--checkbox-checkbox-hover-top-border-style)
|
|
183
|
-
var(--checkbox-checkbox-hover-right-border-style)
|
|
184
|
-
var(--checkbox-checkbox-hover-bottom-border-style)
|
|
185
|
-
var(--checkbox-checkbox-hover-left-border-style);
|
|
186
|
-
border-color: var(--checkbox-checkbox-hover-top-border-color)
|
|
187
|
-
var(--checkbox-checkbox-hover-right-border-color)
|
|
188
|
-
var(--checkbox-checkbox-hover-bottom-border-color)
|
|
189
|
-
var(--checkbox-checkbox-hover-left-border-color);
|
|
190
|
-
border-radius: var(--checkbox-checkbox-hover-top-left-border-radius)
|
|
191
|
-
var(--checkbox-checkbox-hover-top-right-border-radius)
|
|
192
|
-
var(--checkbox-checkbox-hover-bottom-right-border-radius)
|
|
193
|
-
var(--checkbox-checkbox-hover-bottom-left-border-radius);
|
|
194
|
-
background: var(--checkbox-checkbox-hover-bg-color);
|
|
195
|
-
}
|
|
196
|
-
&:active {
|
|
197
|
-
border-width: var(--checkbox-checkbox-active-top-border-width)
|
|
198
|
-
var(--checkbox-checkbox-active-right-border-width)
|
|
199
|
-
var(--checkbox-checkbox-active-bottom-border-width)
|
|
200
|
-
var(--checkbox-checkbox-active-left-border-width);
|
|
201
|
-
border-style: var(--checkbox-checkbox-active-top-border-style)
|
|
202
|
-
var(--checkbox-checkbox-active-right-border-style)
|
|
203
|
-
var(--checkbox-checkbox-active-bottom-border-style)
|
|
204
|
-
var(--checkbox-checkbox-active-left-border-style);
|
|
205
|
-
border-color: var(--checkbox-checkbox-active-top-border-color)
|
|
206
|
-
var(--checkbox-checkbox-active-right-border-color)
|
|
207
|
-
var(--checkbox-checkbox-active-bottom-border-color)
|
|
208
|
-
var(--checkbox-checkbox-active-left-border-color);
|
|
209
|
-
border-radius: var(--checkbox-checkbox-active-top-left-border-radius)
|
|
210
|
-
var(--checkbox-checkbox-active-top-right-border-radius)
|
|
211
|
-
var(--checkbox-checkbox-active-bottom-right-border-radius)
|
|
212
|
-
var(--checkbox-checkbox-active-bottom-left-border-radius);
|
|
213
|
-
background: var(--checkbox-checkbox-active-bg-color);
|
|
54
|
+
margin-right: var(--checkbox-default-default-distance);
|
|
55
|
+
.icon {
|
|
56
|
+
height: var(--checkbox-default-checked-default-icon-size);
|
|
57
|
+
width: var(--checkbox-default-checked-default-icon-size);
|
|
58
|
+
color: var(--checkbox-default-checked-default-icon-color);
|
|
59
|
+
transition: all var(--animation-duration);
|
|
60
|
+
transform: scale(0);
|
|
214
61
|
}
|
|
215
62
|
}
|
|
216
63
|
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
& > input + i {
|
|
220
|
-
border-color: var(--button-primary-hover-top-border-color)
|
|
221
|
-
var(--button-primary-hover-right-border-color)
|
|
222
|
-
var(--button-primary-hover-bottom-border-color)
|
|
223
|
-
var(--button-primary-hover-left-border-color);
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
&:active {
|
|
228
|
-
& > i:before {
|
|
229
|
-
background: var(--Checkbox-checked-onHover-bgColor);
|
|
230
|
-
}
|
|
231
|
-
}
|
|
64
|
+
&:hover:not(.disabled):not(.checked) {
|
|
65
|
+
@include checkbox-default-style(--checkbox-default-hover);
|
|
232
66
|
}
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
&--full.#{$ns}Checkbox--checkbox {
|
|
236
|
-
&:not(:disabled) + i:hover {
|
|
237
|
-
border-color: var(--Checkbox-color);
|
|
67
|
+
&:active:not(.disabled):not(.checked) {
|
|
68
|
+
@include checkbox-default-style(--checkbox-default-active);
|
|
238
69
|
}
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
& > i:before {
|
|
247
|
-
background: transparent;
|
|
70
|
+
}
|
|
71
|
+
&--checkbox--default--checked {
|
|
72
|
+
@include checkbox-default-style(--checkbox-default-checked-default);
|
|
73
|
+
> i {
|
|
74
|
+
.icon {
|
|
75
|
+
transform: scale(1);
|
|
248
76
|
}
|
|
249
77
|
}
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
input:checked + i {
|
|
253
|
-
background: var(--Checkbox-checked-onHover-bgColor);
|
|
254
|
-
}
|
|
78
|
+
&:hover:not(.disabled) {
|
|
79
|
+
@include checkbox-default-style(--checkbox-default-checked-hover);
|
|
255
80
|
}
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
&:checked + i {
|
|
259
|
-
border-color: var(--Checkbox-onHover-color);
|
|
260
|
-
background: var(--Checkbox-onHover-color);
|
|
261
|
-
|
|
262
|
-
&:before {
|
|
263
|
-
width: var(--Checkbox--full-inner-size);
|
|
264
|
-
height: calc(var(--Checkbox--full-inner-size) / 2);
|
|
265
|
-
border-color: #fff;
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
&[disabled] + i {
|
|
270
|
-
border-color: var(--Checkbox-color);
|
|
271
|
-
background: var(--checkbox-checkbox-disabled-bg-color);
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
&[disabled]:checked + i {
|
|
275
|
-
&:before {
|
|
276
|
-
border-color: var(--Checkbox-onDisabled-color);
|
|
277
|
-
border-width: 0 0 px2rem(1px) px2rem(1px);
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
&:checked[disabled] + i {
|
|
282
|
-
border-color: var(--Checkbox-color);
|
|
283
|
-
}
|
|
81
|
+
&:active:not(.disabled) {
|
|
82
|
+
@include checkbox-default-style(--checkbox-default-checked-active);
|
|
284
83
|
}
|
|
285
|
-
|
|
84
|
+
}
|
|
85
|
+
&--checkbox--default--disabled--unchecked {
|
|
86
|
+
@include checkbox-default-style(--checkbox-default-disabled);
|
|
87
|
+
}
|
|
88
|
+
&--checkbox--default--disabled--checked {
|
|
89
|
+
@include checkbox-default-style(--checkbox-default-checked-disabled);
|
|
286
90
|
> i {
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
&:before {
|
|
291
|
-
content: '';
|
|
292
|
-
position: absolute;
|
|
293
|
-
left: 50%;
|
|
294
|
-
top: 50%;
|
|
295
|
-
width: 0;
|
|
296
|
-
height: 0;
|
|
297
|
-
border-color: transparent;
|
|
298
|
-
transition: width var(--animation-duration),
|
|
299
|
-
height var(--animation-duration), transform var(--animation-duration);
|
|
300
|
-
border-width: 0 0 px2rem(1px) px2rem(1px);
|
|
301
|
-
transform: translate(-50%, -90%) rotate(-40deg);
|
|
302
|
-
border-style: solid;
|
|
91
|
+
.icon {
|
|
92
|
+
transform: scale(1);
|
|
93
|
+
color: var(--checkbox-default-checked-disabled-icon-color);
|
|
303
94
|
}
|
|
304
95
|
}
|
|
305
96
|
}
|
|
306
97
|
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
&[disabled] + i {
|
|
321
|
-
border-color: var(--Checkbox-onDisabled-color);
|
|
322
|
-
|
|
323
|
-
&:before {
|
|
324
|
-
width: var(--Checkbox-inner-size);
|
|
325
|
-
height: var(--Checkbox-inner-size);
|
|
326
|
-
background: var(--Checkbox-inner-onDisabled-bg);
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
&:checked[disabled] + i {
|
|
331
|
-
width: var(--Checkbox-inner-size);
|
|
332
|
-
height: var(--Checkbox-inner-size);
|
|
333
|
-
background: var(--Checkbox-onDisabled-bg);
|
|
98
|
+
@mixin checkbox-button-style($type) {
|
|
99
|
+
border-color: borderColor(#{$type});
|
|
100
|
+
color: var(#{$type}-text-color);
|
|
101
|
+
> i {
|
|
102
|
+
width: var(#{$type}-icon-bg-size);
|
|
103
|
+
height: var(#{$type}-icon-bg-size);
|
|
104
|
+
background-color: var(#{$type}-icon-bg-color);
|
|
105
|
+
.icon {
|
|
106
|
+
width: var(#{$type}-icon-size);
|
|
107
|
+
height: var(#{$type}-icon-size);
|
|
108
|
+
color: var(#{$type}-icon-color);
|
|
334
109
|
}
|
|
335
110
|
}
|
|
336
111
|
}
|
|
337
|
-
|
|
112
|
+
|
|
113
|
+
&--checkbox--button {
|
|
338
114
|
text-align: center;
|
|
339
|
-
height: var(--
|
|
340
|
-
line-height: var(--
|
|
341
|
-
padding
|
|
342
|
-
|
|
343
|
-
font-size: var(--
|
|
344
|
-
|
|
345
|
-
|
|
115
|
+
height: var(--checkbox-button-default-height);
|
|
116
|
+
line-height: var(--checkbox-button-default-lineHeight);
|
|
117
|
+
padding: padding(--checkbox-button-default);
|
|
118
|
+
min-width: px2rem(80px);
|
|
119
|
+
font-size: var(--checkbox-button-default-fontSize);
|
|
120
|
+
color: var(--checkbox-button-default-text-color);
|
|
121
|
+
border-radius: 0;
|
|
122
|
+
border-color: borderColor(--checkbox-button-default);
|
|
123
|
+
border-width: borderWidth(--checkbox-button-default);
|
|
124
|
+
border-style: borderStyle(--checkbox-button-default);
|
|
125
|
+
margin-right: calc(
|
|
126
|
+
var(--checkbox-button-default-right-border-width) * -1
|
|
127
|
+
) !important;
|
|
346
128
|
position: relative;
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
margin-right: 0;
|
|
351
|
-
border-radius: calc(var(--Checkbox-borderRadius) * 2);
|
|
352
|
-
min-width: var(--Checkbox-button-min-width);
|
|
353
|
-
> span {
|
|
354
|
-
line-height: var(--Checkbox-button-line-height);
|
|
355
|
-
}
|
|
356
|
-
&:hover:not(:disabled) {
|
|
357
|
-
color: var(--Checkbox-onHover-color);
|
|
358
|
-
border-color: var(--Checkbox-onHover-color);
|
|
359
|
-
box-shadow: -1px 0 0 0 var(--Checkbox-onHover-color);
|
|
360
|
-
&:first-child {
|
|
361
|
-
box-shadow: none;
|
|
362
|
-
}
|
|
129
|
+
&.first {
|
|
130
|
+
border-radius: var(--checkbox-button-default-top-left-border-radius) 0 0
|
|
131
|
+
var(--checkbox-button-default-bottom-left-border-radius);
|
|
363
132
|
}
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
background: transparent;
|
|
368
|
-
border-color: var(--button-primary-hover-top-border-color) transparent
|
|
369
|
-
transparent var(--button-primary-hover-left-border-color);
|
|
370
|
-
}
|
|
133
|
+
&.last {
|
|
134
|
+
border-radius: 0 var(--checkbox-button-default-top-right-border-radius)
|
|
135
|
+
var(--checkbox-button-default-bottom-right-border-radius) 0;
|
|
371
136
|
}
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
transparent var(--Checkbox-checked-onHover-bgColor);
|
|
378
|
-
}
|
|
137
|
+
&.first.last {
|
|
138
|
+
border-radius: var(--checkbox-button-default-top-left-border-radius)
|
|
139
|
+
var(--checkbox-button-default-top-right-border-radius)
|
|
140
|
+
var(--checkbox-button-default-bottom-right-border-radius)
|
|
141
|
+
var(--checkbox-button-default-bottom-left-border-radius);
|
|
379
142
|
}
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
height: 0;
|
|
388
|
-
border-width: px2rem(8px);
|
|
389
|
-
border-color: var(--Checkbox-onHover-color) transparent transparent
|
|
390
|
-
var(--Checkbox-onHover-color);
|
|
391
|
-
border-radius: 0;
|
|
392
|
-
|
|
393
|
-
&:before {
|
|
394
|
-
position: absolute;
|
|
395
|
-
top: 0;
|
|
396
|
-
left: 0;
|
|
397
|
-
width: var(--Checkbox--full-inner-size);
|
|
398
|
-
height: calc(var(--Checkbox--full-inner-size) / 2);
|
|
399
|
-
transform: translate(-80%, -160%) rotate(-50deg) scale(0.8);
|
|
400
|
-
background: transparent;
|
|
401
|
-
}
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
&[disabled] + i {
|
|
405
|
-
border-color: var(--Checkbox-onDisabled-color);
|
|
406
|
-
background: transparent;
|
|
407
|
-
&:before {
|
|
408
|
-
background: transparent;
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
&:checked[disabled] + i {
|
|
413
|
-
background: transparent;
|
|
414
|
-
border-width: px2rem(7px);
|
|
415
|
-
border-color: var(--Checkbox-inner-disabled-checked-bg) transparent
|
|
416
|
-
transparent var(--Checkbox-inner-disabled-checked-bg);
|
|
417
|
-
&:before {
|
|
418
|
-
background: transparent;
|
|
419
|
-
border-color: var(--Checkbox-inner-onDisabled-color) !important;
|
|
420
|
-
}
|
|
421
|
-
}
|
|
143
|
+
&.last-line {
|
|
144
|
+
margin-bottom: 0 !important;
|
|
145
|
+
}
|
|
146
|
+
&:hover:not(.disabled):not(.checked) {
|
|
147
|
+
color: var(--checkbox-button-hover-text-color);
|
|
148
|
+
border-color: borderColor(--checkbox-button-hover);
|
|
149
|
+
z-index: 1;
|
|
422
150
|
}
|
|
151
|
+
}
|
|
152
|
+
&--checkbox--button--checked {
|
|
153
|
+
z-index: 1;
|
|
154
|
+
@include checkbox-button-style(--checkbox-button-checked-default);
|
|
423
155
|
> i {
|
|
424
156
|
position: absolute;
|
|
425
157
|
top: 0;
|
|
426
158
|
left: 0;
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
background: transparent;
|
|
431
|
-
|
|
432
|
-
+ span {
|
|
433
|
-
max-width: px2rem(100px);
|
|
434
|
-
text-overflow: ellipsis;
|
|
435
|
-
white-space: nowrap;
|
|
436
|
-
overflow: hidden;
|
|
159
|
+
clip-path: polygon(0% 0%, 0% 100%, 100% 0%);
|
|
160
|
+
.icon {
|
|
161
|
+
transform: scale(0.8) translate(-20%, -20%);
|
|
437
162
|
}
|
|
438
163
|
}
|
|
439
|
-
}
|
|
440
|
-
&--button--checked.#{$ns}Checkbox--checkbox.#{$ns}Checkbox--button {
|
|
441
|
-
border-color: var(--Checkbox-onHover-color);
|
|
442
|
-
color: var(--Checkbox-onHover-color);
|
|
443
|
-
box-shadow: -1px 0 0 0 var(--Checkbox-onHover-color);
|
|
444
|
-
&:first-child {
|
|
445
|
-
box-shadow: none;
|
|
446
|
-
}
|
|
447
164
|
|
|
448
165
|
&:hover {
|
|
449
|
-
|
|
450
|
-
color: var(--menu-active-color);
|
|
451
|
-
box-shadow: -1px 0 0 0 var(--menu-active-color);
|
|
166
|
+
@include checkbox-button-style(--checkbox-button-checked-hover);
|
|
452
167
|
}
|
|
453
168
|
&:active {
|
|
454
|
-
|
|
455
|
-
color: var(--Checkbox-checked-onHover-bgColor);
|
|
456
|
-
box-shadow: -1px 0 0 0 var(--Checkbox-checked-onHover-bgColor);
|
|
169
|
+
@include checkbox-button-style(--checkbox-button-checked-active);
|
|
457
170
|
}
|
|
458
171
|
}
|
|
459
|
-
&--button--disabled--unchecked
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
border-color: var(--Checkbox-color) !important;
|
|
464
|
-
box-shadow: -1px 0 0 0 var(--Checkbox-color) !important;
|
|
465
|
-
&:first-child {
|
|
466
|
-
box-shadow: none !important;
|
|
467
|
-
}
|
|
468
|
-
}
|
|
172
|
+
&--checkbox--button--disabled--unchecked {
|
|
173
|
+
color: var(--checkbox-button-disabled-text-color);
|
|
174
|
+
background: var(--checkbox-button-disabled-bg-color);
|
|
175
|
+
border-color: borderColor(--checkbox-button-disabled);
|
|
469
176
|
}
|
|
470
|
-
&--button--disabled--checked
|
|
471
|
-
background: var(--
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
177
|
+
&--checkbox--button--disabled--checked {
|
|
178
|
+
background: var(--checkbox-button-checked-disabled-bg-color);
|
|
179
|
+
@include checkbox-button-style(--checkbox-button-checked-disabled);
|
|
180
|
+
> i {
|
|
181
|
+
position: absolute;
|
|
182
|
+
top: 0;
|
|
183
|
+
left: 0;
|
|
184
|
+
clip-path: polygon(0% 0%, 0% 100%, 100% 0%);
|
|
185
|
+
.icon {
|
|
186
|
+
transform: scale(0.8) translate(-20%, -20%);
|
|
187
|
+
}
|
|
476
188
|
}
|
|
477
189
|
}
|
|
478
|
-
&--radio {
|
|
479
|
-
padding-left: var(--Radio-size);
|
|
480
190
|
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
background-color: var(--radio-default-active-bg-color);
|
|
487
|
-
|
|
488
|
-
+ span {
|
|
489
|
-
color: var(--radio-default-active-text-color);
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
&:before {
|
|
493
|
-
width: var(--Radio-inner-size);
|
|
494
|
-
height: var(--Radio-inner-size);
|
|
495
|
-
background: var(--Radio-onHover-color);
|
|
496
|
-
border-radius: 50%;
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
&[disabled] + i {
|
|
501
|
-
border-color: var(--Radio-onDisabled-color);
|
|
502
|
-
background: var(--Radio-onDisabled-bg);
|
|
503
|
-
cursor: not-allowed;
|
|
504
|
-
|
|
505
|
-
&:before {
|
|
506
|
-
background: var(--Radio-onDisabled-color);
|
|
507
|
-
}
|
|
508
|
-
}
|
|
509
|
-
|
|
510
|
-
&[disabled] + i + span {
|
|
511
|
-
cursor: not-allowed;
|
|
512
|
-
color: var(--radio-default-disabled-text-color);
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
&:focus + i {
|
|
516
|
-
box-shadow: var(--Radio-onFocus-boxShadow);
|
|
517
|
-
}
|
|
518
|
-
}
|
|
191
|
+
&--radio--default {
|
|
192
|
+
color: var(--radio-default-default-text-color);
|
|
193
|
+
font-size: var(--radio-default-default-fontSize);
|
|
194
|
+
font-weight: var(--radio-default-default-fontWeight);
|
|
195
|
+
line-height: var(--radio-default-default-lineHeight);
|
|
519
196
|
|
|
520
197
|
> i {
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
margin-left: calc(var(--Radio-size) * -1);
|
|
198
|
+
width: var(--radio-default-default-point-size);
|
|
199
|
+
height: var(--radio-default-default-point-size);
|
|
200
|
+
border: var(--borders-width-2) var(--borders-style-2)
|
|
201
|
+
var(--radio-default-default-border-color);
|
|
526
202
|
margin-top: px2rem(-2px);
|
|
527
|
-
border-radius:
|
|
203
|
+
border-radius: var(--borders-radius-7);
|
|
528
204
|
background: var(--radio-default-default-bg-color);
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
205
|
+
display: inline-flex;
|
|
206
|
+
align-items: center;
|
|
207
|
+
justify-content: center;
|
|
208
|
+
.icon {
|
|
209
|
+
width: var(--radio-default-checked-icon-size);
|
|
210
|
+
height: var(--radio-default-checked-icon-size);
|
|
211
|
+
color: var(--radio-default-checked-icon-color);
|
|
212
|
+
transition: all var(--animation-duration);
|
|
213
|
+
transform: scale(0);
|
|
214
|
+
display: flex;
|
|
536
215
|
}
|
|
537
216
|
}
|
|
217
|
+
> span {
|
|
218
|
+
margin-left: var(--radio-default-default-distance);
|
|
219
|
+
}
|
|
538
220
|
|
|
539
|
-
&:hover
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
background: var(--radio-default-hover-color);
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
+ span {
|
|
548
|
-
color: var(--radio-default-hover-text-color);
|
|
221
|
+
&:hover:not(.disabled) {
|
|
222
|
+
color: var(--radio-default-hover-text-color);
|
|
223
|
+
> i {
|
|
224
|
+
border-color: var(--radio-default-hover-border-color);
|
|
225
|
+
background-color: var(--radio-default-hover-bg-color);
|
|
549
226
|
}
|
|
550
227
|
}
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
&:before {
|
|
560
|
-
background: var(--Checkbox-inner-onDisabled-bg);
|
|
561
|
-
}
|
|
228
|
+
}
|
|
229
|
+
&--radio--default--checked {
|
|
230
|
+
color: var(--radio-default-checked-text-color);
|
|
231
|
+
> i {
|
|
232
|
+
border-color: var(--radio-default-checked-border-color);
|
|
233
|
+
background-color: var(--radio-default-checked-bg-color);
|
|
234
|
+
.icon {
|
|
235
|
+
transform: scale(1);
|
|
562
236
|
}
|
|
563
237
|
}
|
|
564
238
|
}
|
|
239
|
+
&--radio--default--disabled--unchecked {
|
|
240
|
+
color: var(--radio-default-disabled-text-color);
|
|
241
|
+
> i {
|
|
242
|
+
border-color: var(--radio-default-disabled-border-color);
|
|
243
|
+
background-color: var(--radio-default-disabled-bg-color);
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
&--radio--default--disabled--checked {
|
|
247
|
+
color: var(--radio-default-disabled-text-color);
|
|
248
|
+
> i {
|
|
249
|
+
border-color: var(--radio-default-disabled-border-color);
|
|
250
|
+
background-color: var(--radio-default-disabled-bg-color);
|
|
565
251
|
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
input {
|
|
570
|
-
margin-left: calc(var(--Checkbox--sm-size) * -1);
|
|
571
|
-
|
|
572
|
-
&:checked + i {
|
|
573
|
-
&:before {
|
|
574
|
-
width: var(--Checkbox--sm-inner-size);
|
|
575
|
-
height: var(--Checkbox--sm-inner-size);
|
|
576
|
-
}
|
|
252
|
+
.icon {
|
|
253
|
+
color: var(--radio-default-disabled-icon-color);
|
|
254
|
+
transform: scale(1);
|
|
577
255
|
}
|
|
578
256
|
}
|
|
257
|
+
}
|
|
579
258
|
|
|
259
|
+
&--radio--button {
|
|
260
|
+
text-align: center;
|
|
261
|
+
height: var(--radio-button-default-height);
|
|
262
|
+
padding: padding(--radio-button-default);
|
|
263
|
+
min-width: px2rem(80px);
|
|
264
|
+
font-size: var(--radio-button-default-fontSize);
|
|
265
|
+
color: var(--radio-button-default-text-color);
|
|
266
|
+
line-height: var(--radio-button-default-lineHeight);
|
|
267
|
+
border-radius: radius(--radio-button-default);
|
|
268
|
+
border-color: borderColor(--radio-button-default);
|
|
269
|
+
border-width: borderWidth(--radio-button-default);
|
|
270
|
+
border-style: borderStyle(--radio-button-default);
|
|
271
|
+
|
|
272
|
+
&:hover:not(.disabled):not(.checked) {
|
|
273
|
+
color: var(--radio-button-hover-text-color);
|
|
274
|
+
border-color: borderColor(--radio-button-hover);
|
|
275
|
+
}
|
|
580
276
|
> i {
|
|
581
|
-
|
|
582
|
-
height: var(--Checkbox--sm-size);
|
|
583
|
-
margin-left: calc(var(--Checkbox--sm-size) * -1);
|
|
584
|
-
margin-top: 0;
|
|
585
|
-
|
|
586
|
-
+ span {
|
|
587
|
-
margin-left: var(--gap-xs);
|
|
588
|
-
}
|
|
277
|
+
display: none;
|
|
589
278
|
}
|
|
279
|
+
span {
|
|
280
|
+
margin-left: 0;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
&--radio--button--checked {
|
|
284
|
+
color: var(--radio-button-checked-text-color);
|
|
285
|
+
border-color: borderColor(--radio-button-checked);
|
|
286
|
+
background-color: var(--radio-button-checked-bg-color);
|
|
287
|
+
}
|
|
288
|
+
&--radio--button--disabled--unchecked {
|
|
289
|
+
color: var(--radio-button-disabled-unchecked-text-color);
|
|
290
|
+
border-color: borderColor(--radio-button-disabled-unchecked);
|
|
291
|
+
background: var(--radio-button-disabled-unchecked-bg-color);
|
|
292
|
+
}
|
|
293
|
+
&--radio--button--disabled--checked {
|
|
294
|
+
color: var(--radio-button-disabled-checked-text-color);
|
|
295
|
+
border-color: borderColor(--radio-button-disabled-checked);
|
|
296
|
+
background: var(--radio-button-disabled-checked-bg-color);
|
|
590
297
|
}
|
|
591
298
|
|
|
592
|
-
&--sm
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
299
|
+
&--sm {
|
|
300
|
+
&.#{$ns}Checkbox {
|
|
301
|
+
display: inline-flex;
|
|
302
|
+
align-items: center;
|
|
303
|
+
}
|
|
304
|
+
> i {
|
|
305
|
+
width: var(--checkbox-default-sm-size);
|
|
306
|
+
height: var(--checkbox-default-sm-size);
|
|
307
|
+
.icon {
|
|
308
|
+
width: var(--checkbox-default-sm-icon-size);
|
|
309
|
+
height: var(--checkbox-default-sm-icon-size);
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
&.#{$ns}Checkbox.#{$ns}Checkbox--checkbox--default:hover {
|
|
313
|
+
> i {
|
|
314
|
+
width: var(--checkbox-default-sm-size);
|
|
315
|
+
height: var(--checkbox-default-sm-size);
|
|
316
|
+
.icon {
|
|
317
|
+
width: var(--checkbox-default-sm-icon-size);
|
|
318
|
+
height: var(--checkbox-default-sm-icon-size);
|
|
598
319
|
}
|
|
599
320
|
}
|
|
600
321
|
}
|
|
@@ -602,7 +323,7 @@
|
|
|
602
323
|
|
|
603
324
|
&-desc {
|
|
604
325
|
color: var(--text--muted-color);
|
|
605
|
-
margin-left: var(--
|
|
326
|
+
margin-left: var(--gap-xs);
|
|
606
327
|
margin-top: var(--gap-xs);
|
|
607
328
|
pointer-events: all;
|
|
608
329
|
}
|
|
@@ -637,20 +358,6 @@
|
|
|
637
358
|
var(--radio-default-vertical-marginLeft);
|
|
638
359
|
}
|
|
639
360
|
|
|
640
|
-
.#{$ns}Checkbox--button {
|
|
641
|
-
margin-bottom: 0;
|
|
642
|
-
|
|
643
|
-
&--disabled--unchecked {
|
|
644
|
-
background: var(--FileControl-onDisabled-bg);
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
&-checked {
|
|
648
|
-
&:active {
|
|
649
|
-
border-color: var(--Checkbox-checked-onHover-bgColor);
|
|
650
|
-
}
|
|
651
|
-
}
|
|
652
|
-
}
|
|
653
|
-
|
|
654
361
|
&.is-inline .#{$ns}Checkbox {
|
|
655
362
|
display: inline-block;
|
|
656
363
|
margin: var(--radio-default-default-marginTop)
|
|
@@ -672,20 +379,6 @@
|
|
|
672
379
|
margin-bottom: var(--Form-label-paddingTop);
|
|
673
380
|
}
|
|
674
381
|
|
|
675
|
-
.#{$ns}Checkbox--button {
|
|
676
|
-
margin-bottom: 0;
|
|
677
|
-
|
|
678
|
-
&--disabled--unchecked {
|
|
679
|
-
background: var(--FileControl-onDisabled-bg);
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
&-checked {
|
|
683
|
-
&:active {
|
|
684
|
-
border-color: var(--Checkbox-checked-onHover-bgColor);
|
|
685
|
-
}
|
|
686
|
-
}
|
|
687
|
-
}
|
|
688
|
-
|
|
689
382
|
&.is-inline .#{$ns}Checkbox {
|
|
690
383
|
display: inline-block;
|
|
691
384
|
margin-right: var(--gap-md);
|
|
@@ -726,3 +419,16 @@
|
|
|
726
419
|
background: var(--ButtonGroup--primary-isActive-bg);
|
|
727
420
|
}
|
|
728
421
|
}
|
|
422
|
+
.#{$ns}Grid {
|
|
423
|
+
> div > .#{$ns}Checkbox--checkbox--button {
|
|
424
|
+
border-radius: radius(--checkbox-button-default);
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
.checkbox-icon {
|
|
429
|
+
content: var(--checkbox-default-checked-default-icon);
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
.radio-icon {
|
|
433
|
+
content: var(--radio-default-checked-icon);
|
|
434
|
+
}
|