amis-rev-ui 6.13.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/LICENSE +201 -0
- package/esm/HTMLFilterContext.d.ts +3 -0
- package/esm/HTMLFilterContext.js +10 -0
- package/esm/components/404.js +35 -0
- package/esm/components/Alert.js +266 -0
- package/esm/components/Alert2.js +58 -0
- package/esm/components/AlphabetIndexer.d.ts +11 -0
- package/esm/components/AlphabetIndexer.js +48 -0
- package/esm/components/AnchorNav.js +153 -0
- package/esm/components/AnchorNavSection.d.ts +2 -0
- package/esm/components/AnchorNavSection.js +7 -0
- package/esm/components/ArrayInput.js +146 -0
- package/esm/components/AsideNav.js +133 -0
- package/esm/components/AssociatedSelection.js +107 -0
- package/esm/components/AutoFoldedList.js +124 -0
- package/esm/components/AutoSizer.d.ts +2 -0
- package/esm/components/AutoSizer.js +8 -0
- package/esm/components/Avatar.js +126 -0
- package/esm/components/Badge.d.ts +20 -0
- package/esm/components/Badge.js +154 -0
- package/esm/components/BaiduMapPicker.js +366 -0
- package/esm/components/BarCode.js +42 -0
- package/esm/components/Breadcrumb.js +160 -0
- package/esm/components/Button.js +64 -0
- package/esm/components/CalendarMobile.js +538 -0
- package/esm/components/Card.js +88 -0
- package/esm/components/Cascader.js +515 -0
- package/esm/components/ChainedDropdownSelection.js +104 -0
- package/esm/components/ChainedSelection.js +184 -0
- package/esm/components/Checkbox.js +87 -0
- package/esm/components/CityArea.js +190 -0
- package/esm/components/CityDB.d.ts +13 -0
- package/esm/components/CityDB.js +3942 -0
- package/esm/components/CodeMirror.d.ts +29 -0
- package/esm/components/CodeMirror.js +140 -0
- package/esm/components/Collapse.js +184 -0
- package/esm/components/CollapseGroup.js +117 -0
- package/esm/components/ColorPicker.js +259 -0
- package/esm/components/Combo.js +212 -0
- package/esm/components/ConditionBuilder.d.ts +2 -0
- package/esm/components/ConditionBuilder.js +7 -0
- package/esm/components/ConfirmBox.js +128 -0
- package/esm/components/ContextMenu.js +310 -0
- package/esm/components/DatePicker.js +716 -0
- package/esm/components/DateRangePicker.js +1385 -0
- package/esm/components/DiffEditor.d.ts +21 -0
- package/esm/components/DiffEditor.js +119 -0
- package/esm/components/DndContainer.js +25 -0
- package/esm/components/Drawer.js +272 -0
- package/esm/components/DropDownSelection.js +77 -0
- package/esm/components/DropdownContextMenus.js +93 -0
- package/esm/components/Editor.js +238 -0
- package/esm/components/Form.d.ts +31 -0
- package/esm/components/Form.js +84 -0
- package/esm/components/FormField.js +78 -0
- package/esm/components/FormulaPicker.d.ts +2 -0
- package/esm/components/FormulaPicker.js +7 -0
- package/esm/components/GaodeMapPicker.js +204 -0
- package/esm/components/GridNav.d.ts +53 -0
- package/esm/components/GridNav.js +125 -0
- package/esm/components/GridNavItem.d.ts +2 -0
- package/esm/components/GridNavItem.js +7 -0
- package/esm/components/GroupedSelection.js +138 -0
- package/esm/components/HeadCellDropDown.d.ts +2 -0
- package/esm/components/HeadCellDropDown.js +7 -0
- package/esm/components/HorizontalScroll.d.ts +74 -0
- package/esm/components/HorizontalScroll.js +271 -0
- package/esm/components/Html.js +55 -0
- package/esm/components/Icon.d.ts +2 -0
- package/esm/components/Icon.js +7 -0
- package/esm/components/ImageGallery.js +396 -0
- package/esm/components/Input.d.ts +18 -0
- package/esm/components/Input.js +75 -0
- package/esm/components/InputBox.js +99 -0
- package/esm/components/InputBoxWithSuggestion.js +70 -0
- package/esm/components/InputJSONSchema.d.ts +2 -0
- package/esm/components/InputJSONSchema.js +7 -0
- package/esm/components/InputTable.js +176 -0
- package/esm/components/JSONSchemaEditor.d.ts +2 -0
- package/esm/components/JSONSchemaEditor.js +7 -0
- package/esm/components/Layout.js +60 -0
- package/esm/components/Link.js +44 -0
- package/esm/components/ListGroup.js +31 -0
- package/esm/components/ListMenu.js +62 -0
- package/esm/components/LocationPicker.js +208 -0
- package/esm/components/Markdown.d.ts +25 -0
- package/esm/components/Markdown.js +70 -0
- package/esm/components/Menu.d.ts +2 -0
- package/esm/components/Menu.js +7 -0
- package/esm/components/MixedInput.js +88 -0
- package/esm/components/MobileDevTool.d.ts +12 -0
- package/esm/components/MobileDevTool.js +312 -0
- package/esm/components/Modal.js +261 -0
- package/esm/components/ModalManager.d.ts +16 -0
- package/esm/components/ModalManager.js +42 -0
- package/esm/components/MultilineText.js +90 -0
- package/esm/components/NumberInput.js +274 -0
- package/esm/components/OverflowTpl.js +100 -0
- package/esm/components/Pagination.js +377 -0
- package/esm/components/PdfViewer.js +83 -0
- package/esm/components/Picker.js +73 -0
- package/esm/components/PickerColumn.js +276 -0
- package/esm/components/PickerContainer.js +157 -0
- package/esm/components/PopOverContainer.d.ts +59 -0
- package/esm/components/PopOverContainer.js +148 -0
- package/esm/components/PopUp.js +85 -0
- package/esm/components/Progress.js +136 -0
- package/esm/components/PullRefresh.js +172 -0
- package/esm/components/Radios.js +129 -0
- package/esm/components/Range.js +516 -0
- package/esm/components/Rating.js +341 -0
- package/esm/components/ResultBox.js +195 -0
- package/esm/components/ResultList.js +253 -0
- package/esm/components/ResultTableList.js +152 -0
- package/esm/components/ResultTreeList.js +241 -0
- package/esm/components/RichText.d.ts +48 -0
- package/esm/components/RichText.js +271 -0
- package/esm/components/SearchBox.js +298 -0
- package/esm/components/Select.js +814 -0
- package/esm/components/SelectMobile.d.ts +38 -0
- package/esm/components/SelectMobile.js +369 -0
- package/esm/components/Selection.js +166 -0
- package/esm/components/Shape.js +429 -0
- package/esm/components/Signature.js +294 -0
- package/esm/components/Slider.js +140 -0
- package/esm/components/SparkLine.js +62 -0
- package/esm/components/Spinner.js +202 -0
- package/esm/components/Steps.js +76 -0
- package/esm/components/Switch.js +73 -0
- package/esm/components/Tab.d.ts +2 -0
- package/esm/components/Tab.js +7 -0
- package/esm/components/Table.d.ts +2 -0
- package/esm/components/Table.js +7 -0
- package/esm/components/TableSelection.js +169 -0
- package/esm/components/Tabs.js +607 -0
- package/esm/components/TabsTransfer.js +221 -0
- package/esm/components/TabsTransferPicker.js +81 -0
- package/esm/components/Tag.js +137 -0
- package/esm/components/Textarea.js +146 -0
- package/esm/components/Timeline.js +60 -0
- package/esm/components/TimelineItem.js +101 -0
- package/esm/components/Tinymce.d.ts +66 -0
- package/esm/components/Tinymce.js +634 -0
- package/esm/components/TitleBar.js +48 -0
- package/esm/components/Toast.js +247 -0
- package/esm/components/Tooltip.js +36 -0
- package/esm/components/TooltipWrapper.js +180 -0
- package/esm/components/Transfer.js +485 -0
- package/esm/components/TransferDropDown.js +98 -0
- package/esm/components/TransferPicker.js +98 -0
- package/esm/components/TransferSearch.js +100 -0
- package/esm/components/Tree.js +1256 -0
- package/esm/components/TreeSelection.js +201 -0
- package/esm/components/UserSelect.js +674 -0
- package/esm/components/UserTabSelect.js +227 -0
- package/esm/components/VerificationCode.js +172 -0
- package/esm/components/VirtualList.d.ts +2 -0
- package/esm/components/VirtualList.js +7 -0
- package/esm/components/WithRemoteConfig.d.ts +70 -0
- package/esm/components/WithRemoteConfig.js +301 -0
- package/esm/components/WithStore.d.ts +13 -0
- package/esm/components/WithStore.js +48 -0
- package/esm/components/calendar/Calendar.d.ts +83 -0
- package/esm/components/calendar/Calendar.js +529 -0
- package/esm/components/calendar/CalendarContainer.d.ts +10 -0
- package/esm/components/calendar/CalendarContainer.js +27 -0
- package/esm/components/calendar/DaysView.js +528 -0
- package/esm/components/calendar/MonthsView.js +175 -0
- package/esm/components/calendar/QuartersView.js +125 -0
- package/esm/components/calendar/TimeView.js +559 -0
- package/esm/components/calendar/YearsView.js +122 -0
- package/esm/components/condition-builder/Expression.js +121 -0
- package/esm/components/condition-builder/Field.js +32 -0
- package/esm/components/condition-builder/Func.js +75 -0
- package/esm/components/condition-builder/Group.js +196 -0
- package/esm/components/condition-builder/GroupOrItem.js +107 -0
- package/esm/components/condition-builder/InputSwitch.js +28 -0
- package/esm/components/condition-builder/Item.js +233 -0
- package/esm/components/condition-builder/Value.js +115 -0
- package/esm/components/condition-builder/config.d.ts +36 -0
- package/esm/components/condition-builder/config.js +120 -0
- package/esm/components/condition-builder/index.js +242 -0
- package/esm/components/condition-builder/types.d.ts +116 -0
- package/esm/components/formula/CodeEditor.js +99 -0
- package/esm/components/formula/Editor.js +446 -0
- package/esm/components/formula/FuncList.js +64 -0
- package/esm/components/formula/Input.js +141 -0
- package/esm/components/formula/Picker.js +454 -0
- package/esm/components/formula/VariableList.js +185 -0
- package/esm/components/formula/plugin.d.ts +51 -0
- package/esm/components/formula/plugin.js +445 -0
- package/esm/components/icons.d.ts +61 -0
- package/esm/components/icons.js +458 -0
- package/esm/components/index.d.ts +138 -0
- package/esm/components/json-schema/Array.d.ts +3 -0
- package/esm/components/json-schema/Array.js +129 -0
- package/esm/components/json-schema/Item.d.ts +5 -0
- package/esm/components/json-schema/Item.js +63 -0
- package/esm/components/json-schema/Object.d.ts +5 -0
- package/esm/components/json-schema/Object.js +272 -0
- package/esm/components/json-schema/index.js +29 -0
- package/esm/components/menu/MenuContext.d.ts +82 -0
- package/esm/components/menu/MenuContext.js +25 -0
- package/esm/components/menu/MenuItem.js +112 -0
- package/esm/components/menu/PanelMenu.js +68 -0
- package/esm/components/menu/SubMenu.js +137 -0
- package/esm/components/menu/index.js +368 -0
- package/esm/components/schema-editor/Array.d.ts +11 -0
- package/esm/components/schema-editor/Array.js +84 -0
- package/esm/components/schema-editor/Common.d.ts +61 -0
- package/esm/components/schema-editor/Common.js +162 -0
- package/esm/components/schema-editor/Item.d.ts +8 -0
- package/esm/components/schema-editor/Item.js +24 -0
- package/esm/components/schema-editor/Object.d.ts +51 -0
- package/esm/components/schema-editor/Object.js +294 -0
- package/esm/components/schema-editor/SchemaVariableList.js +74 -0
- package/esm/components/schema-editor/SchemaVariableListPicker.js +34 -0
- package/esm/components/schema-editor/index.js +122 -0
- package/esm/components/table/Cell.d.ts +36 -0
- package/esm/components/table/Cell.js +43 -0
- package/esm/components/table/ColGroup.d.ts +24 -0
- package/esm/components/table/ColGroup.js +77 -0
- package/esm/components/table/Head.d.ts +45 -0
- package/esm/components/table/Head.js +150 -0
- package/esm/components/table/HeadCellDropDown.js +54 -0
- package/esm/components/table/HeadCellFilter.js +130 -0
- package/esm/components/table/HeadCellSelect.js +51 -0
- package/esm/components/table/HeadCellSort.js +88 -0
- package/esm/components/table/ItemActionsWrapper.d.ts +10 -0
- package/esm/components/table/ItemActionsWrapper.js +29 -0
- package/esm/components/table/Row.d.ts +56 -0
- package/esm/components/table/Row.js +224 -0
- package/esm/components/table/SummaryRow.d.ts +28 -0
- package/esm/components/table/SummaryRow.js +73 -0
- package/esm/components/table/index.js +1095 -0
- package/esm/components/table/util.d.ts +25 -0
- package/esm/components/table/util.js +279 -0
- package/esm/components/virtual-list/AutoSizer.d.ts +19 -0
- package/esm/components/virtual-list/AutoSizer.js +48 -0
- package/esm/components/virtual-list/SizeAndPositionManager.d.ts +70 -0
- package/esm/components/virtual-list/SizeAndPositionManager.js +216 -0
- package/esm/components/virtual-list/constants.d.ts +34 -0
- package/esm/components/virtual-list/constants.js +45 -0
- package/esm/components/virtual-list/index.d.ts +98 -0
- package/esm/components/virtual-list/index.js +288 -0
- package/esm/components/withBadge.d.ts +2 -0
- package/esm/components/withBadge.js +7 -0
- package/esm/hooks/index.d.ts +8 -0
- package/esm/hooks/use-click-away.d.ts +12 -0
- package/esm/hooks/use-click-away.js +55 -0
- package/esm/hooks/use-on-screen.d.ts +2 -0
- package/esm/hooks/use-on-screen.js +28 -0
- package/esm/hooks/use-set-state.d.ts +2 -0
- package/esm/hooks/use-set-state.js +19 -0
- package/esm/hooks/use-sub-form.d.ts +4 -0
- package/esm/hooks/use-sub-form.js +39 -0
- package/esm/hooks/use-touch.d.ts +16 -0
- package/esm/hooks/use-touch.js +77 -0
- package/esm/hooks/use-update-effect.d.ts +3 -0
- package/esm/hooks/use-update-effect.js +21 -0
- package/esm/hooks/use-validation-resolver.d.ts +7 -0
- package/esm/hooks/use-validation-resolver.js +115 -0
- package/esm/icons/alert-danger.svg.js +22 -0
- package/esm/icons/alert-info.svg.js +22 -0
- package/esm/icons/alert-success.svg.js +22 -0
- package/esm/icons/alert-warning.svg.js +22 -0
- package/esm/icons/arrow-double-left.svg.js +24 -0
- package/esm/icons/arrow-double-right.svg.js +24 -0
- package/esm/icons/back.svg.js +21 -0
- package/esm/icons/calendar.svg.js +31 -0
- package/esm/icons/caret.svg.js +21 -0
- package/esm/icons/check.svg.js +21 -0
- package/esm/icons/clock.svg.js +29 -0
- package/esm/icons/close-small.svg.js +24 -0
- package/esm/icons/close.svg.js +21 -0
- package/esm/icons/cloud-upload.svg.js +22 -0
- package/esm/icons/column-filter.svg.js +22 -0
- package/esm/icons/columns.svg.js +21 -0
- package/esm/icons/compress-alt.svg.js +21 -0
- package/esm/icons/copy.svg.js +26 -0
- package/esm/icons/date.svg.js +26 -0
- package/esm/icons/department.svg.js +52 -0
- package/esm/icons/desk-empty.svg.js +73 -0
- package/esm/icons/dot.svg.js +36 -0
- package/esm/icons/down-arrow-bold.svg.js +22 -0
- package/esm/icons/down.svg.js +23 -0
- package/esm/icons/download.svg.js +24 -0
- package/esm/icons/drag-bar.svg.js +53 -0
- package/esm/icons/drag.svg.js +22 -0
- package/esm/icons/edit.svg.js +21 -0
- package/esm/icons/ellipsis-v.svg.js +21 -0
- package/esm/icons/enter.svg.js +20 -0
- package/esm/icons/exchange.svg.js +21 -0
- package/esm/icons/expand-alt.svg.js +21 -0
- package/esm/icons/fail.svg.js +31 -0
- package/esm/icons/file.svg.js +22 -0
- package/esm/icons/filter.svg.js +21 -0
- package/esm/icons/folder.svg.js +24 -0
- package/esm/icons/fullscreen.svg.js +21 -0
- package/esm/icons/function.svg.js +21 -0
- package/esm/icons/home.svg.js +21 -0
- package/esm/icons/if.svg.js +21 -0
- package/esm/icons/image.svg.js +20 -0
- package/esm/icons/info-circle.svg.js +21 -0
- package/esm/icons/info.svg.js +27 -0
- package/esm/icons/input-clear.svg.js +20 -0
- package/esm/icons/invisible.svg.js +22 -0
- package/esm/icons/left-arrow.svg.js +23 -0
- package/esm/icons/loading-outline.svg.js +21 -0
- package/esm/icons/location.svg.js +20 -0
- package/esm/icons/menu.svg.js +20 -0
- package/esm/icons/minus.svg.js +21 -0
- package/esm/icons/move.svg.js +22 -0
- package/esm/icons/mute.svg.js +21 -0
- package/esm/icons/new-edit.svg.js +22 -0
- package/esm/icons/pause.svg.js +21 -0
- package/esm/icons/pencil.svg.js +21 -0
- package/esm/icons/play.svg.js +20 -0
- package/esm/icons/plus-cicle.svg.js +20 -0
- package/esm/icons/plus-fine.svg.js +21 -0
- package/esm/icons/plus.svg.js +21 -0
- package/esm/icons/post.svg.js +48 -0
- package/esm/icons/question-mark.svg.js +26 -0
- package/esm/icons/question.svg.js +21 -0
- package/esm/icons/question2.svg.js +34 -0
- package/esm/icons/redo.svg.js +21 -0
- package/esm/icons/refresh.svg.js +21 -0
- package/esm/icons/reload.svg.js +21 -0
- package/esm/icons/remove.svg.js +21 -0
- package/esm/icons/retry.svg.js +24 -0
- package/esm/icons/right-arrow-bold.svg.js +21 -0
- package/esm/icons/right-arrow.svg.js +23 -0
- package/esm/icons/right-double-arrow.svg.js +22 -0
- package/esm/icons/role.svg.js +43 -0
- package/esm/icons/rotate-left.svg.js +22 -0
- package/esm/icons/rotate-right.svg.js +22 -0
- package/esm/icons/rotate-screen.svg.js +21 -0
- package/esm/icons/scale-origin.svg.js +24 -0
- package/esm/icons/schedule.svg.js +24 -0
- package/esm/icons/search.svg.js +21 -0
- package/esm/icons/setting.svg.js +21 -0
- package/esm/icons/slider-handle-icon.svg.js +22 -0
- package/esm/icons/sort-asc.svg.js +21 -0
- package/esm/icons/sort-default.svg.js +21 -0
- package/esm/icons/sort-desc.svg.js +21 -0
- package/esm/icons/star.svg.js +21 -0
- package/esm/icons/status-close.svg.js +23 -0
- package/esm/icons/steps-finsh.svg.js +22 -0
- package/esm/icons/sub-plus.svg.js +20 -0
- package/esm/icons/success.svg.js +29 -0
- package/esm/icons/transparent.svg.js +38 -0
- package/esm/icons/trash.svg.js +22 -0
- package/esm/icons/tree-down.svg.js +21 -0
- package/esm/icons/undo-normal.svg.js +25 -0
- package/esm/icons/undo.svg.js +21 -0
- package/esm/icons/unfullscreen.svg.js +21 -0
- package/esm/icons/upload.svg.js +21 -0
- package/esm/icons/user-remove.svg.js +33 -0
- package/esm/icons/view.svg.js +22 -0
- package/esm/icons/volume.svg.js +24 -0
- package/esm/icons/warning-mark.svg.js +22 -0
- package/esm/icons/warning.svg.js +21 -0
- package/esm/icons/window-restore.svg.js +21 -0
- package/esm/icons/zoom-in.svg.js +21 -0
- package/esm/icons/zoom-out.svg.js +21 -0
- package/esm/index.d.ts +16 -0
- package/esm/index.js +157 -0
- package/esm/locale/de-DE.d.ts +1 -0
- package/esm/locale/de-DE.js +423 -0
- package/esm/locale/en-US.d.ts +1 -0
- package/esm/locale/en-US.js +429 -0
- package/esm/locale/zh-CN.d.ts +1 -0
- package/esm/locale/zh-CN.js +438 -0
- package/esm/themes/ang.d.ts +3 -0
- package/esm/themes/ang.js +15 -0
- package/esm/themes/antd.d.ts +1 -0
- package/esm/themes/antd.js +42 -0
- package/esm/themes/cxd.d.ts +3 -0
- package/esm/themes/cxd.js +455 -0
- package/esm/themes/dark.d.ts +3 -0
- package/esm/themes/dark.js +23 -0
- package/esm/themes/default.d.ts +4 -0
- package/esm/utils/index.d.ts +2 -0
- package/esm/utils/smoothSignature.d.ts +86 -0
- package/esm/utils/vectorComputed.d.ts +20 -0
- package/esm/utils/vectorComputed.js +75 -0
- package/esm/withRemoteConfig.d.ts +2 -0
- package/esm/withRemoteConfig.js +7 -0
- package/esm/withStore.d.ts +2 -0
- package/esm/withStore.js +7 -0
- package/lib/HTMLFilterContext.d.ts +3 -0
- package/lib/components/AlphabetIndexer.d.ts +11 -0
- package/lib/components/AnchorNavSection.d.ts +2 -0
- package/lib/components/AutoSizer.d.ts +2 -0
- package/lib/components/Badge.d.ts +20 -0
- package/lib/components/BarCode.js +44 -0
- package/lib/components/CityDB.d.ts +13 -0
- package/lib/components/CityDB.js +3945 -0
- package/lib/components/CodeMirror.d.ts +29 -0
- package/lib/components/ColorPicker.js +267 -0
- package/lib/components/ConditionBuilder.d.ts +2 -0
- package/lib/components/DiffEditor.d.ts +21 -0
- package/lib/components/Form.d.ts +31 -0
- package/lib/components/FormulaPicker.d.ts +2 -0
- package/lib/components/GridNav.d.ts +53 -0
- package/lib/components/GridNavItem.d.ts +2 -0
- package/lib/components/HeadCellDropDown.d.ts +2 -0
- package/lib/components/HorizontalScroll.d.ts +74 -0
- package/lib/components/Icon.d.ts +2 -0
- package/lib/components/Input.d.ts +18 -0
- package/lib/components/InputJSONSchema.d.ts +2 -0
- package/lib/components/JSONSchemaEditor.d.ts +2 -0
- package/lib/components/Markdown.d.ts +25 -0
- package/lib/components/Markdown.js +76 -0
- package/lib/components/Menu.d.ts +2 -0
- package/lib/components/MobileDevTool.d.ts +12 -0
- package/lib/components/ModalManager.d.ts +16 -0
- package/lib/components/PdfViewer.js +83 -0
- package/lib/components/PopOverContainer.d.ts +59 -0
- package/lib/components/RichText.d.ts +48 -0
- package/lib/components/RichText.js +275 -0
- package/lib/components/SelectMobile.d.ts +38 -0
- package/lib/components/Tab.d.ts +2 -0
- package/lib/components/Table.d.ts +2 -0
- package/lib/components/Tinymce.d.ts +66 -0
- package/lib/components/Tinymce.js +641 -0
- package/lib/components/VirtualList.d.ts +2 -0
- package/lib/components/WithRemoteConfig.d.ts +70 -0
- package/lib/components/WithStore.d.ts +13 -0
- package/lib/components/calendar/Calendar.d.ts +83 -0
- package/lib/components/calendar/CalendarContainer.d.ts +10 -0
- package/lib/components/condition-builder/config.d.ts +36 -0
- package/lib/components/condition-builder/types.d.ts +116 -0
- package/lib/components/formula/plugin.d.ts +51 -0
- package/lib/components/icons.d.ts +61 -0
- package/lib/components/index.d.ts +138 -0
- package/lib/components/json-schema/Array.d.ts +3 -0
- package/lib/components/json-schema/Item.d.ts +5 -0
- package/lib/components/json-schema/Object.d.ts +5 -0
- package/lib/components/menu/MenuContext.d.ts +82 -0
- package/lib/components/schema-editor/Array.d.ts +11 -0
- package/lib/components/schema-editor/Common.d.ts +61 -0
- package/lib/components/schema-editor/Item.d.ts +8 -0
- package/lib/components/schema-editor/Object.d.ts +51 -0
- package/lib/components/table/Cell.d.ts +36 -0
- package/lib/components/table/ColGroup.d.ts +24 -0
- package/lib/components/table/Head.d.ts +45 -0
- package/lib/components/table/ItemActionsWrapper.d.ts +10 -0
- package/lib/components/table/Row.d.ts +56 -0
- package/lib/components/table/SummaryRow.d.ts +28 -0
- package/lib/components/table/util.d.ts +25 -0
- package/lib/components/virtual-list/AutoSizer.d.ts +19 -0
- package/lib/components/virtual-list/SizeAndPositionManager.d.ts +70 -0
- package/lib/components/virtual-list/constants.d.ts +34 -0
- package/lib/components/virtual-list/index.d.ts +98 -0
- package/lib/components/withBadge.d.ts +2 -0
- package/lib/helper.css +47762 -0
- package/lib/hooks/index.d.ts +8 -0
- package/lib/hooks/use-click-away.d.ts +12 -0
- package/lib/hooks/use-on-screen.d.ts +2 -0
- package/lib/hooks/use-set-state.d.ts +2 -0
- package/lib/hooks/use-sub-form.d.ts +4 -0
- package/lib/hooks/use-touch.d.ts +16 -0
- package/lib/hooks/use-update-effect.d.ts +3 -0
- package/lib/hooks/use-validation-resolver.d.ts +7 -0
- package/lib/index.d.ts +16 -0
- package/lib/index.js +28 -0
- package/lib/locale/de-DE.d.ts +1 -0
- package/lib/locale/en-US.d.ts +1 -0
- package/lib/locale/zh-CN.d.ts +1 -0
- package/lib/scss/helper.scss.js +12 -0
- package/lib/scss/themes/ang.scss.js +12 -0
- package/lib/scss/themes/antd.scss.js +12 -0
- package/lib/scss/themes/cxd.scss.js +12 -0
- package/lib/scss/themes/dark.scss.js +12 -0
- package/lib/scss/themes/default.scss.js +12 -0
- package/lib/themes/ang.css +45895 -0
- package/lib/themes/ang.d.ts +3 -0
- package/lib/themes/antd.css +45882 -0
- package/lib/themes/antd.d.ts +1 -0
- package/lib/themes/cxd.css +45871 -0
- package/lib/themes/cxd.d.ts +3 -0
- package/lib/themes/dark.css +45902 -0
- package/lib/themes/dark.d.ts +3 -0
- package/lib/themes/default.css +45871 -0
- package/lib/themes/default.d.ts +4 -0
- package/lib/utils/index.d.ts +2 -0
- package/lib/utils/smoothSignature.d.ts +86 -0
- package/lib/utils/vectorComputed.d.ts +20 -0
- package/lib/withRemoteConfig.d.ts +2 -0
- package/lib/withStore.d.ts +2 -0
- package/package.json +158 -0
- package/scss/README.md +9 -0
- package/scss/_components.scss +4346 -0
- package/scss/_functions.scss +137 -0
- package/scss/_mixins.scss +805 -0
- package/scss/_properties.scss +898 -0
- package/scss/_thirds.scss +12 -0
- package/scss/_utilities.scss +1757 -0
- package/scss/_variables.scss +439 -0
- package/scss/base/_animate.scss +84 -0
- package/scss/base/_common.scss +19 -0
- package/scss/base/_normalize.scss +376 -0
- package/scss/base/_reset.scss +18 -0
- package/scss/base/_typography.scss +79 -0
- package/scss/components/_alert.scss +123 -0
- package/scss/components/_anchor-nav.scss +158 -0
- package/scss/components/_app.scss +46 -0
- package/scss/components/_array-input.scss +107 -0
- package/scss/components/_audio.scss +146 -0
- package/scss/components/_auto-folder.scss +40 -0
- package/scss/components/_avatar.scss +55 -0
- package/scss/components/_badge.scss +145 -0
- package/scss/components/_barcode.scss +6 -0
- package/scss/components/_breadcrumb.scss +110 -0
- package/scss/components/_button-group.scss +165 -0
- package/scss/components/_button.scss +871 -0
- package/scss/components/_calendar.scss +442 -0
- package/scss/components/_card.scss +389 -0
- package/scss/components/_card2.scss +28 -0
- package/scss/components/_cards.scss +221 -0
- package/scss/components/_carousel.scss +292 -0
- package/scss/components/_cascader.scss +157 -0
- package/scss/components/_chart.scss +22 -0
- package/scss/components/_city-area.scss +37 -0
- package/scss/components/_code.scss +10 -0
- package/scss/components/_collapse-group.scss +83 -0
- package/scss/components/_collapse.scss +245 -0
- package/scss/components/_color.scss +17 -0
- package/scss/components/_column-toggler.scss +261 -0
- package/scss/components/_condition-builder.scss +521 -0
- package/scss/components/_context-menu.scss +204 -0
- package/scss/components/_copyable.scss +10 -0
- package/scss/components/_crud.scss +195 -0
- package/scss/components/_crud2.scss +345 -0
- package/scss/components/_debug.scss +259 -0
- package/scss/components/_divider.scss +81 -0
- package/scss/components/_drawer.scss +393 -0
- package/scss/components/_dropdown-context-menus.scss +27 -0
- package/scss/components/_dropdown.scss +159 -0
- package/scss/components/_each.scss +7 -0
- package/scss/components/_formula.scss +723 -0
- package/scss/components/_grid-nav.scss +128 -0
- package/scss/components/_horizontal-scroll.scss +51 -0
- package/scss/components/_icon.scss +4 -0
- package/scss/components/_image-gallery.scss +331 -0
- package/scss/components/_images.scss +650 -0
- package/scss/components/_input-box.scss +111 -0
- package/scss/components/_json-schema-editor.scss +149 -0
- package/scss/components/_json-schema.scss +166 -0
- package/scss/components/_json.scss +7 -0
- package/scss/components/_link.scss +22 -0
- package/scss/components/_list-menu.scss +114 -0
- package/scss/components/_list.scss +313 -0
- package/scss/components/_log.scss +169 -0
- package/scss/components/_mapping.scss +6 -0
- package/scss/components/_markdown.scss +266 -0
- package/scss/components/_menu.scss +795 -0
- package/scss/components/_mobile-dev-tool.scss +175 -0
- package/scss/components/_modal.scss +282 -0
- package/scss/components/_multiline-text.scss +20 -0
- package/scss/components/_nav.scss +45 -0
- package/scss/components/_overflow-tpl.scss +5 -0
- package/scss/components/_page.scss +198 -0
- package/scss/components/_pagination.scss +403 -0
- package/scss/components/_panel.scss +263 -0
- package/scss/components/_pdf_viewer.scss +47 -0
- package/scss/components/_picker-columns.scss +140 -0
- package/scss/components/_popover.scss +54 -0
- package/scss/components/_popoverable.scss +100 -0
- package/scss/components/_popup.scss +171 -0
- package/scss/components/_portlet.scss +51 -0
- package/scss/components/_print.scss +13 -0
- package/scss/components/_progress.scss +165 -0
- package/scss/components/_property.scss +47 -0
- package/scss/components/_pull-refresh.scss +30 -0
- package/scss/components/_quick-edit.scss +53 -0
- package/scss/components/_remark.scss +58 -0
- package/scss/components/_result-box.scss +380 -0
- package/scss/components/_search-box.scss +267 -0
- package/scss/components/_service.scss +3 -0
- package/scss/components/_shape.scss +19 -0
- package/scss/components/_signature.scss +98 -0
- package/scss/components/_slider.scss +27 -0
- package/scss/components/_sparkline.scss +18 -0
- package/scss/components/_spinner.scss +214 -0
- package/scss/components/_status.scss +118 -0
- package/scss/components/_steps.scss +481 -0
- package/scss/components/_table.scss +1234 -0
- package/scss/components/_table2.scss +1066 -0
- package/scss/components/_tabs.scss +1410 -0
- package/scss/components/_tag.scss +191 -0
- package/scss/components/_timeline.scss +572 -0
- package/scss/components/_toast.scss +342 -0
- package/scss/components/_tooltip.scss +340 -0
- package/scss/components/_tpl.scss +51 -0
- package/scss/components/_verificationCode.scss +33 -0
- package/scss/components/_video.scss +38 -0
- package/scss/components/_wizard.scss +287 -0
- package/scss/components/_wrapper.scss +26 -0
- package/scss/components/form/_chained-select.scss +10 -0
- package/scss/components/form/_checks.scss +433 -0
- package/scss/components/form/_city.scss +33 -0
- package/scss/components/form/_color.scss +148 -0
- package/scss/components/form/_combo.scss +360 -0
- package/scss/components/form/_date-range.scss +332 -0
- package/scss/components/form/_date.scss +807 -0
- package/scss/components/form/_editor.scss +139 -0
- package/scss/components/form/_excel.scss +150 -0
- package/scss/components/form/_fieldset.scss +202 -0
- package/scss/components/form/_file.scss +308 -0
- package/scss/components/form/_form.scss +936 -0
- package/scss/components/form/_group.scss +116 -0
- package/scss/components/form/_icon-picker.scss +113 -0
- package/scss/components/form/_icon-select.scss +245 -0
- package/scss/components/form/_image.scss +359 -0
- package/scss/components/form/_input-group.scss +213 -0
- package/scss/components/form/_input-table.scss +17 -0
- package/scss/components/form/_list.scss +225 -0
- package/scss/components/form/_location.scss +210 -0
- package/scss/components/form/_matrix.scss +7 -0
- package/scss/components/form/_nested-select.scss +149 -0
- package/scss/components/form/_number.scss +633 -0
- package/scss/components/form/_picker.scss +237 -0
- package/scss/components/form/_qr-code.scss +4 -0
- package/scss/components/form/_range.scss +438 -0
- package/scss/components/form/_rating.scss +94 -0
- package/scss/components/form/_repeat.scss +40 -0
- package/scss/components/form/_result-list.scss +98 -0
- package/scss/components/form/_rich-text.scss +163 -0
- package/scss/components/form/_select.scss +712 -0
- package/scss/components/form/_selection.scss +485 -0
- package/scss/components/form/_sub-form.scss +118 -0
- package/scss/components/form/_switch.scss +228 -0
- package/scss/components/form/_tag.scss +146 -0
- package/scss/components/form/_text.scss +508 -0
- package/scss/components/form/_textarea.scss +78 -0
- package/scss/components/form/_tinymce.scss +6 -0
- package/scss/components/form/_transfer.scss +624 -0
- package/scss/components/form/_tree-select.scss +47 -0
- package/scss/components/form/_tree.scss +458 -0
- package/scss/components/form/_user-select.scss +643 -0
- package/scss/components/react-datetime.scss +267 -0
- package/scss/helper/background/_background-color.md +131 -0
- package/scss/helper/background/_background-color.scss +214 -0
- package/scss/helper/border/_border-color.md +109 -0
- package/scss/helper/border/_border-color.scss +178 -0
- package/scss/helper/border/_border-radius.md +86 -0
- package/scss/helper/border/_border-radius.scss +152 -0
- package/scss/helper/border/_border-style.md +11 -0
- package/scss/helper/border/_border-style.scss +40 -0
- package/scss/helper/border/_border-width.md +31 -0
- package/scss/helper/border/_border-width.scss +72 -0
- package/scss/helper/box-alignment/_align-content.md +12 -0
- package/scss/helper/box-alignment/_align-content.scss +44 -0
- package/scss/helper/box-alignment/_align-items.md +11 -0
- package/scss/helper/box-alignment/_align-items.scss +41 -0
- package/scss/helper/box-alignment/_align-self.md +11 -0
- package/scss/helper/box-alignment/_align-self.scss +40 -0
- package/scss/helper/box-alignment/_justify-content.md +12 -0
- package/scss/helper/box-alignment/_justify-content.scss +44 -0
- package/scss/helper/box-alignment/_justify-items.md +11 -0
- package/scss/helper/box-alignment/_justify-items.scss +40 -0
- package/scss/helper/box-alignment/_justify-self.md +11 -0
- package/scss/helper/box-alignment/_justify-self.scss +40 -0
- package/scss/helper/box-alignment/_place-content.md +13 -0
- package/scss/helper/box-alignment/_place-content.scss +48 -0
- package/scss/helper/box-alignment/_place-items.md +11 -0
- package/scss/helper/box-alignment/_place-items.scss +40 -0
- package/scss/helper/box-alignment/_place-self.md +11 -0
- package/scss/helper/box-alignment/_place-self.scss +40 -0
- package/scss/helper/effect/_box-shadow.md +16 -0
- package/scss/helper/effect/_box-shadow.scss +74 -0
- package/scss/helper/effect/_opacity.md +21 -0
- package/scss/helper/effect/_opacity.scss +66 -0
- package/scss/helper/flex/_direction.md +10 -0
- package/scss/helper/flex/_direction.scss +41 -0
- package/scss/helper/flex/_flex.md +10 -0
- package/scss/helper/flex/_flex.scss +38 -0
- package/scss/helper/flex/_grow.md +8 -0
- package/scss/helper/flex/_grow.scss +28 -0
- package/scss/helper/flex/_order.md +20 -0
- package/scss/helper/flex/_order.scss +56 -0
- package/scss/helper/flex/_shrink.md +8 -0
- package/scss/helper/flex/_shrink.scss +27 -0
- package/scss/helper/flex/_wrap.md +9 -0
- package/scss/helper/flex/_wrap.scss +36 -0
- package/scss/helper/grid/_auto-columns.md +10 -0
- package/scss/helper/grid/_auto-columns.scss +38 -0
- package/scss/helper/grid/_auto-flow.md +10 -0
- package/scss/helper/grid/_auto-flow.scss +38 -0
- package/scss/helper/grid/_auto-rows.md +10 -0
- package/scss/helper/grid/_auto-rows.scss +38 -0
- package/scss/helper/grid/_column-start-end.md +48 -0
- package/scss/helper/grid/_column-start-end.scss +201 -0
- package/scss/helper/grid/_columns.md +19 -0
- package/scss/helper/grid/_columns.scss +74 -0
- package/scss/helper/grid/_gap.md +117 -0
- package/scss/helper/grid/_gap.scss +154 -0
- package/scss/helper/grid/_row-start-end.md +48 -0
- package/scss/helper/grid/_row-start-end.scss +201 -0
- package/scss/helper/grid/_rows.md +13 -0
- package/scss/helper/grid/_rows.scss +50 -0
- package/scss/helper/layout/_box-sizing.md +35 -0
- package/scss/helper/layout/_box-sizing.scss +51 -0
- package/scss/helper/layout/_clear.md +27 -0
- package/scss/helper/layout/_clear.scss +56 -0
- package/scss/helper/layout/_display.md +41 -0
- package/scss/helper/layout/_display.scss +82 -0
- package/scss/helper/layout/_float.md +47 -0
- package/scss/helper/layout/_float.scss +71 -0
- package/scss/helper/layout/_overflow.md +34 -0
- package/scss/helper/layout/_overflow.scss +85 -0
- package/scss/helper/layout/_position.md +27 -0
- package/scss/helper/layout/_position.scss +55 -0
- package/scss/helper/layout/_top-right-bottom-left.md +150 -0
- package/scss/helper/layout/_top-right-bottom-left.scss +292 -0
- package/scss/helper/layout/_visibility.md +21 -0
- package/scss/helper/layout/_visibility.scss +42 -0
- package/scss/helper/layout/_z-index.md +37 -0
- package/scss/helper/layout/_z-index.scss +67 -0
- package/scss/helper/sizing/_height.md +103 -0
- package/scss/helper/sizing/_height.scss +161 -0
- package/scss/helper/sizing/_width.md +109 -0
- package/scss/helper/sizing/_width.scss +174 -0
- package/scss/helper/spacing/_margin.md +527 -0
- package/scss/helper/spacing/_margin.scss +821 -0
- package/scss/helper/spacing/_padding.md +265 -0
- package/scss/helper/spacing/_padding.scss +394 -0
- package/scss/helper/spacing/_space-between.md +155 -0
- package/scss/helper/spacing/_space-between.scss +224 -0
- package/scss/helper/typography/_font-family.md +9 -0
- package/scss/helper/typography/_font-family.scss +28 -0
- package/scss/helper/typography/_font-size.md +19 -0
- package/scss/helper/typography/_font-size.scss +40 -0
- package/scss/helper/typography/_font-style.md +8 -0
- package/scss/helper/typography/_font-style.scss +31 -0
- package/scss/helper/typography/_font-weight.md +15 -0
- package/scss/helper/typography/_font-weight.scss +49 -0
- package/scss/helper/typography/_letter-spacing.md +12 -0
- package/scss/helper/typography/_letter-spacing.scss +43 -0
- package/scss/helper/typography/_line-height.md +20 -0
- package/scss/helper/typography/_line-height.scss +59 -0
- package/scss/helper/typography/_list-style-type.md +11 -0
- package/scss/helper/typography/_list-style-type.scss +43 -0
- package/scss/helper/typography/_text-align.md +10 -0
- package/scss/helper/typography/_text-align.scss +34 -0
- package/scss/helper/typography/_text-color.md +110 -0
- package/scss/helper/typography/_text-color.scss +184 -0
- package/scss/helper/typography/_text-decoration.md +9 -0
- package/scss/helper/typography/_text-decoration.scss +34 -0
- package/scss/helper/typography/_text-overflow.md +9 -0
- package/scss/helper/typography/_text-overflow.scss +40 -0
- package/scss/helper/typography/_text-transform.md +10 -0
- package/scss/helper/typography/_text-transform.scss +40 -0
- package/scss/helper/typography/_vertical-align.md +12 -0
- package/scss/helper/typography/_vertical-align.scss +44 -0
- package/scss/helper/typography/_whitespace.md +11 -0
- package/scss/helper/typography/_whitespace.scss +42 -0
- package/scss/helper/typography/_word-break.md +9 -0
- package/scss/helper/typography/_word-break.scss +36 -0
- package/scss/helper.scss +72 -0
- package/scss/layout/_aside.scss +361 -0
- package/scss/layout/_grid.scss +173 -0
- package/scss/layout/_hbox.scss +127 -0
- package/scss/layout/_header.scss +0 -0
- package/scss/layout/_layout.scss +492 -0
- package/scss/layout/_vbox.scss +38 -0
- package/scss/themes/_ang-variables.scss +224 -0
- package/scss/themes/_antd-variables.scss +238 -0
- package/scss/themes/_common.scss +157 -0
- package/scss/themes/_cxd-variables.scss +222 -0
- package/scss/themes/_dark-variables.scss +229 -0
- package/scss/themes/ang-ie11.scss +1 -0
- package/scss/themes/ang.scss +27 -0
- package/scss/themes/antd-ie11.scss +1 -0
- package/scss/themes/antd.scss +5 -0
- package/scss/themes/cxd-ie11.scss +1 -0
- package/scss/themes/cxd.scss +5 -0
- package/scss/themes/dark-ie11.scss +1 -0
- package/scss/themes/dark.scss +34 -0
- package/scss/themes/default.scss +2 -0
- package/scss/themes/extract-antd-color.py +27 -0
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: 边框颜色
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
| Class | Properties |
|
|
6
|
+
| ----------- | ------------------------ |
|
|
7
|
+
| border-black | border-color: #000 |
|
|
8
|
+
| border-white | border-color: #fff |
|
|
9
|
+
| border-primary | border-color: #007bff |
|
|
10
|
+
| border-secondary | border-color: #6c757d |
|
|
11
|
+
| border-success | border-color: #28a745 |
|
|
12
|
+
| border-info | border-color: #007bff |
|
|
13
|
+
| border-warning | border-color: #28a745 |
|
|
14
|
+
| border-danger | border-color: #dc3545 |
|
|
15
|
+
| border-light | border-color: #f8f9fa |
|
|
16
|
+
| border-dark | border-color: #343a40 |
|
|
17
|
+
| border-gray-50 | border-color: #f9fafb |
|
|
18
|
+
| border-gray-100 | border-color: #f3f4f6 |
|
|
19
|
+
| border-gray-200 | border-color: #e5e7eb |
|
|
20
|
+
| border-gray-300 | border-color: #d1d5db |
|
|
21
|
+
| border-gray-400 | border-color: #9ca3af |
|
|
22
|
+
| border-gray-500 | border-color: #6b7280 |
|
|
23
|
+
| border-gray-600 | border-color: #4b5563 |
|
|
24
|
+
| border-gray-700 | border-color: #374151 |
|
|
25
|
+
| border-gray-800 | border-color: #1f2937 |
|
|
26
|
+
| border-gray-900 | border-color: #111827 |
|
|
27
|
+
| border-red-50 | border-color: #fef2f2 |
|
|
28
|
+
| border-red-100 | border-color: #fee2e2 |
|
|
29
|
+
| border-red-200 | border-color: #fecaca |
|
|
30
|
+
| border-red-300 | border-color: #fca5a5 |
|
|
31
|
+
| border-red-400 | border-color: #f87171 |
|
|
32
|
+
| border-red-500 | border-color: #ef4444 |
|
|
33
|
+
| border-red-600 | border-color: #dc2626 |
|
|
34
|
+
| border-red-700 | border-color: #b91c1c |
|
|
35
|
+
| border-red-800 | border-color: #991b1b |
|
|
36
|
+
| border-red-900 | border-color: #7f1d1d |
|
|
37
|
+
| border-yellow-50 | border-color: #fffbeb |
|
|
38
|
+
| border-yellow-100 | border-color: #fef3c7 |
|
|
39
|
+
| border-yellow-200 | border-color: #fde68a |
|
|
40
|
+
| border-yellow-300 | border-color: #fcd34d |
|
|
41
|
+
| border-yellow-400 | border-color: #fbbf24 |
|
|
42
|
+
| border-yellow-500 | border-color: #f59e0b |
|
|
43
|
+
| border-yellow-600 | border-color: #d97706 |
|
|
44
|
+
| border-yellow-700 | border-color: #b45309 |
|
|
45
|
+
| border-yellow-800 | border-color: #92400e |
|
|
46
|
+
| border-yellow-900 | border-color: #78350f |
|
|
47
|
+
| border-green-50 | border-color: #ecfdf5 |
|
|
48
|
+
| border-green-100 | border-color: #d1fae5 |
|
|
49
|
+
| border-green-200 | border-color: #a7f3d0 |
|
|
50
|
+
| border-green-300 | border-color: #6ee7b7 |
|
|
51
|
+
| border-green-400 | border-color: #34d399 |
|
|
52
|
+
| border-green-500 | border-color: #10b981 |
|
|
53
|
+
| border-green-600 | border-color: #059669 |
|
|
54
|
+
| border-green-700 | border-color: #047857 |
|
|
55
|
+
| border-green-800 | border-color: #065f46 |
|
|
56
|
+
| border-green-900 | border-color: #064e3b |
|
|
57
|
+
| border-blue-50 | border-color: #eff6ff |
|
|
58
|
+
| border-blue-100 | border-color: #dbeafe |
|
|
59
|
+
| border-blue-200 | border-color: #bfdbfe |
|
|
60
|
+
| border-blue-300 | border-color: #93c5fd |
|
|
61
|
+
| border-blue-400 | border-color: #60a5fa |
|
|
62
|
+
| border-blue-500 | border-color: #3b82f6 |
|
|
63
|
+
| border-blue-600 | border-color: #2563eb |
|
|
64
|
+
| border-blue-700 | border-color: #1d4ed8 |
|
|
65
|
+
| border-blue-800 | border-color: #1e40af |
|
|
66
|
+
| border-blue-900 | border-color: #1e3a8a |
|
|
67
|
+
| border-cyan-50 | border-color: #ecfeff |
|
|
68
|
+
| border-cyan-100 | border-color: #cffafe |
|
|
69
|
+
| border-cyan-200 | border-color: #a5f3fc |
|
|
70
|
+
| border-cyan-300 | border-color: #67e8f9 |
|
|
71
|
+
| border-cyan-400 | border-color: #22d3ee |
|
|
72
|
+
| border-cyan-500 | border-color: #06b6d4 |
|
|
73
|
+
| border-cyan-600 | border-color: #0891b2 |
|
|
74
|
+
| border-cyan-700 | border-color: #0e7490 |
|
|
75
|
+
| border-cyan-800 | border-color: #155e75 |
|
|
76
|
+
| border-cyan-900 | border-color: #164e63 |
|
|
77
|
+
| border-indigo-50 | border-color: #eef2ff |
|
|
78
|
+
| border-indigo-100 | border-color: #e0e7ff |
|
|
79
|
+
| border-indigo-200 | border-color: #c7d2fe |
|
|
80
|
+
| border-indigo-300 | border-color: #a5b4fc |
|
|
81
|
+
| border-indigo-400 | border-color: #818cf8 |
|
|
82
|
+
| border-indigo-500 | border-color: #6366f1 |
|
|
83
|
+
| border-indigo-600 | border-color: #4f46e5 |
|
|
84
|
+
| border-indigo-700 | border-color: #4338ca |
|
|
85
|
+
| border-indigo-800 | border-color: #3730a3 |
|
|
86
|
+
| border-indigo-900 | border-color: #312e81 |
|
|
87
|
+
| border-purple-50 | border-color: #f5f3ff |
|
|
88
|
+
| border-purple-100 | border-color: #ede9fe |
|
|
89
|
+
| border-purple-200 | border-color: #ddd6fe |
|
|
90
|
+
| border-purple-300 | border-color: #c4b5fd |
|
|
91
|
+
| border-purple-400 | border-color: #a78bfa |
|
|
92
|
+
| border-purple-500 | border-color: #8b5cf6 |
|
|
93
|
+
| border-purple-600 | border-color: #7c3aed |
|
|
94
|
+
| border-purple-700 | border-color: #6d28d9 |
|
|
95
|
+
| border-purple-800 | border-color: #5b21b6 |
|
|
96
|
+
| border-purple-900 | border-color: #4c1d95 |
|
|
97
|
+
| border-pink-50 | border-color: #fdf2f8 |
|
|
98
|
+
| border-pink-100 | border-color: #fce7f3 |
|
|
99
|
+
| border-pink-200 | border-color: #fbcfe8 |
|
|
100
|
+
| border-pink-300 | border-color: #f9a8d4 |
|
|
101
|
+
| border-pink-400 | border-color: #f472b6 |
|
|
102
|
+
| border-pink-500 | border-color: #ec4899 |
|
|
103
|
+
| border-pink-600 | border-color: #db2777 |
|
|
104
|
+
| border-pink-700 | border-color: #be185d |
|
|
105
|
+
| border-pink-800 | border-color: #9d174d |
|
|
106
|
+
| border-pink-900 | border-color: #831843 |
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
还有 hover、active、focus、disabled 扩展,比如 `hover:border-black`
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
/*!markdown
|
|
2
|
+
|
|
3
|
+
---
|
|
4
|
+
title: 边框颜色
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
| Class | Properties |
|
|
8
|
+
| ----------- | ------------------------ |
|
|
9
|
+
| border-black | border-color: #000 |
|
|
10
|
+
| border-white | border-color: #fff |
|
|
11
|
+
| border-primary | border-color: #007bff |
|
|
12
|
+
| border-secondary | border-color: #6c757d |
|
|
13
|
+
| border-success | border-color: #28a745 |
|
|
14
|
+
| border-info | border-color: #007bff |
|
|
15
|
+
| border-warning | border-color: #28a745 |
|
|
16
|
+
| border-danger | border-color: #dc3545 |
|
|
17
|
+
| border-light | border-color: #f8f9fa |
|
|
18
|
+
| border-dark | border-color: #343a40 |
|
|
19
|
+
| border-gray-50 | border-color: #f9fafb |
|
|
20
|
+
| border-gray-100 | border-color: #f3f4f6 |
|
|
21
|
+
| border-gray-200 | border-color: #e5e7eb |
|
|
22
|
+
| border-gray-300 | border-color: #d1d5db |
|
|
23
|
+
| border-gray-400 | border-color: #9ca3af |
|
|
24
|
+
| border-gray-500 | border-color: #6b7280 |
|
|
25
|
+
| border-gray-600 | border-color: #4b5563 |
|
|
26
|
+
| border-gray-700 | border-color: #374151 |
|
|
27
|
+
| border-gray-800 | border-color: #1f2937 |
|
|
28
|
+
| border-gray-900 | border-color: #111827 |
|
|
29
|
+
| border-red-50 | border-color: #fef2f2 |
|
|
30
|
+
| border-red-100 | border-color: #fee2e2 |
|
|
31
|
+
| border-red-200 | border-color: #fecaca |
|
|
32
|
+
| border-red-300 | border-color: #fca5a5 |
|
|
33
|
+
| border-red-400 | border-color: #f87171 |
|
|
34
|
+
| border-red-500 | border-color: #ef4444 |
|
|
35
|
+
| border-red-600 | border-color: #dc2626 |
|
|
36
|
+
| border-red-700 | border-color: #b91c1c |
|
|
37
|
+
| border-red-800 | border-color: #991b1b |
|
|
38
|
+
| border-red-900 | border-color: #7f1d1d |
|
|
39
|
+
| border-yellow-50 | border-color: #fffbeb |
|
|
40
|
+
| border-yellow-100 | border-color: #fef3c7 |
|
|
41
|
+
| border-yellow-200 | border-color: #fde68a |
|
|
42
|
+
| border-yellow-300 | border-color: #fcd34d |
|
|
43
|
+
| border-yellow-400 | border-color: #fbbf24 |
|
|
44
|
+
| border-yellow-500 | border-color: #f59e0b |
|
|
45
|
+
| border-yellow-600 | border-color: #d97706 |
|
|
46
|
+
| border-yellow-700 | border-color: #b45309 |
|
|
47
|
+
| border-yellow-800 | border-color: #92400e |
|
|
48
|
+
| border-yellow-900 | border-color: #78350f |
|
|
49
|
+
| border-green-50 | border-color: #ecfdf5 |
|
|
50
|
+
| border-green-100 | border-color: #d1fae5 |
|
|
51
|
+
| border-green-200 | border-color: #a7f3d0 |
|
|
52
|
+
| border-green-300 | border-color: #6ee7b7 |
|
|
53
|
+
| border-green-400 | border-color: #34d399 |
|
|
54
|
+
| border-green-500 | border-color: #10b981 |
|
|
55
|
+
| border-green-600 | border-color: #059669 |
|
|
56
|
+
| border-green-700 | border-color: #047857 |
|
|
57
|
+
| border-green-800 | border-color: #065f46 |
|
|
58
|
+
| border-green-900 | border-color: #064e3b |
|
|
59
|
+
| border-blue-50 | border-color: #eff6ff |
|
|
60
|
+
| border-blue-100 | border-color: #dbeafe |
|
|
61
|
+
| border-blue-200 | border-color: #bfdbfe |
|
|
62
|
+
| border-blue-300 | border-color: #93c5fd |
|
|
63
|
+
| border-blue-400 | border-color: #60a5fa |
|
|
64
|
+
| border-blue-500 | border-color: #3b82f6 |
|
|
65
|
+
| border-blue-600 | border-color: #2563eb |
|
|
66
|
+
| border-blue-700 | border-color: #1d4ed8 |
|
|
67
|
+
| border-blue-800 | border-color: #1e40af |
|
|
68
|
+
| border-blue-900 | border-color: #1e3a8a |
|
|
69
|
+
| border-cyan-50 | border-color: #ecfeff |
|
|
70
|
+
| border-cyan-100 | border-color: #cffafe |
|
|
71
|
+
| border-cyan-200 | border-color: #a5f3fc |
|
|
72
|
+
| border-cyan-300 | border-color: #67e8f9 |
|
|
73
|
+
| border-cyan-400 | border-color: #22d3ee |
|
|
74
|
+
| border-cyan-500 | border-color: #06b6d4 |
|
|
75
|
+
| border-cyan-600 | border-color: #0891b2 |
|
|
76
|
+
| border-cyan-700 | border-color: #0e7490 |
|
|
77
|
+
| border-cyan-800 | border-color: #155e75 |
|
|
78
|
+
| border-cyan-900 | border-color: #164e63 |
|
|
79
|
+
| border-indigo-50 | border-color: #eef2ff |
|
|
80
|
+
| border-indigo-100 | border-color: #e0e7ff |
|
|
81
|
+
| border-indigo-200 | border-color: #c7d2fe |
|
|
82
|
+
| border-indigo-300 | border-color: #a5b4fc |
|
|
83
|
+
| border-indigo-400 | border-color: #818cf8 |
|
|
84
|
+
| border-indigo-500 | border-color: #6366f1 |
|
|
85
|
+
| border-indigo-600 | border-color: #4f46e5 |
|
|
86
|
+
| border-indigo-700 | border-color: #4338ca |
|
|
87
|
+
| border-indigo-800 | border-color: #3730a3 |
|
|
88
|
+
| border-indigo-900 | border-color: #312e81 |
|
|
89
|
+
| border-purple-50 | border-color: #f5f3ff |
|
|
90
|
+
| border-purple-100 | border-color: #ede9fe |
|
|
91
|
+
| border-purple-200 | border-color: #ddd6fe |
|
|
92
|
+
| border-purple-300 | border-color: #c4b5fd |
|
|
93
|
+
| border-purple-400 | border-color: #a78bfa |
|
|
94
|
+
| border-purple-500 | border-color: #8b5cf6 |
|
|
95
|
+
| border-purple-600 | border-color: #7c3aed |
|
|
96
|
+
| border-purple-700 | border-color: #6d28d9 |
|
|
97
|
+
| border-purple-800 | border-color: #5b21b6 |
|
|
98
|
+
| border-purple-900 | border-color: #4c1d95 |
|
|
99
|
+
| border-pink-50 | border-color: #fdf2f8 |
|
|
100
|
+
| border-pink-100 | border-color: #fce7f3 |
|
|
101
|
+
| border-pink-200 | border-color: #fbcfe8 |
|
|
102
|
+
| border-pink-300 | border-color: #f9a8d4 |
|
|
103
|
+
| border-pink-400 | border-color: #f472b6 |
|
|
104
|
+
| border-pink-500 | border-color: #ec4899 |
|
|
105
|
+
| border-pink-600 | border-color: #db2777 |
|
|
106
|
+
| border-pink-700 | border-color: #be185d |
|
|
107
|
+
| border-pink-800 | border-color: #9d174d |
|
|
108
|
+
| border-pink-900 | border-color: #831843 |
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
还有 hover、active、focus、disabled 扩展,比如 `hover:border-black`
|
|
112
|
+
|
|
113
|
+
*/
|
|
114
|
+
|
|
115
|
+
@mixin border-colors-map(
|
|
116
|
+
$colors: $colors,
|
|
117
|
+
$namePrefix: '',
|
|
118
|
+
$prefix: '.',
|
|
119
|
+
$suffix: ''
|
|
120
|
+
) {
|
|
121
|
+
@each $name, $color in $colors {
|
|
122
|
+
@if (is-map($color)) {
|
|
123
|
+
@include border-colors-map($color, #{'-' + $name}, $prefix, $suffix);
|
|
124
|
+
} @else if $suffix == '.is-active' {
|
|
125
|
+
#{$prefix}border#{$namePrefix}-#{'' + $name}.is-active,
|
|
126
|
+
#{$prefix}border#{$namePrefix}-#{'' + $name}:active {
|
|
127
|
+
border-color: $color;
|
|
128
|
+
}
|
|
129
|
+
} @else if $suffix == '.is-disabled' {
|
|
130
|
+
#{$prefix}border#{$namePrefix}-#{'' + $name}.is-disabled,
|
|
131
|
+
#{$prefix}border#{$namePrefix}-#{'' + $name}:disabled {
|
|
132
|
+
border-color: $color;
|
|
133
|
+
}
|
|
134
|
+
} @else {
|
|
135
|
+
#{$prefix}border#{$namePrefix}-#{'' + $name}#{$suffix} {
|
|
136
|
+
border-color: $color;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
@mixin border-colors($prefix: '.', $suffix: '') {
|
|
143
|
+
@include border-colors-map($colors, '', $prefix, $suffix);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
@include border-colors();
|
|
147
|
+
@include border-colors('.' + selector-escape('hover:'), ':hover');
|
|
148
|
+
@include border-colors('.' + selector-escape('active:'), '.is-active');
|
|
149
|
+
@include border-colors('.' + selector-escape('focus:'), ':focus');
|
|
150
|
+
@include border-colors('.' + selector-escape('disabled:'), '.is-disabled');
|
|
151
|
+
@include border-colors('.group:hover .' + selector-escape('group-hover:'));
|
|
152
|
+
|
|
153
|
+
@each $deivce in map-keys($devices) {
|
|
154
|
+
@include media-device($deivce) {
|
|
155
|
+
@include border-colors('.' + selector-escape($deivce + ':'));
|
|
156
|
+
|
|
157
|
+
@include border-colors(
|
|
158
|
+
'.' + selector-escape($deivce + ':') + selector-escape('hover:'),
|
|
159
|
+
':hover'
|
|
160
|
+
);
|
|
161
|
+
@include border-colors(
|
|
162
|
+
'.' + selector-escape($deivce + ':') + selector-escape('active:'),
|
|
163
|
+
'.is-active'
|
|
164
|
+
);
|
|
165
|
+
@include border-colors(
|
|
166
|
+
'.' + selector-escape($deivce + ':') + selector-escape('focus:'),
|
|
167
|
+
':focus'
|
|
168
|
+
);
|
|
169
|
+
@include border-colors(
|
|
170
|
+
'.' + selector-escape($deivce + ':') + selector-escape('disabled:'),
|
|
171
|
+
'.is-disabled'
|
|
172
|
+
);
|
|
173
|
+
@include border-colors(
|
|
174
|
+
'.group:hover .' + selector-escape($deivce + ':') +
|
|
175
|
+
selector-escape('group-hover:')
|
|
176
|
+
);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: 边框圆角
|
|
3
|
+
---
|
|
4
|
+
| Class | Properties |
|
|
5
|
+
| ----------- | ------------------------ |
|
|
6
|
+
| rounded-none | border-radius: 0px |
|
|
7
|
+
| rounded-sm | border-radius: 0.125rem |
|
|
8
|
+
| rounded | border-radius: 0.25rem |
|
|
9
|
+
| rounded-md | border-radius: 0.375rem |
|
|
10
|
+
| rounded-lg | border-radius: 0.5rem |
|
|
11
|
+
| rounded-xl | border-radius: 0.75rem |
|
|
12
|
+
| rounded-2xl | border-radius: 1rem |
|
|
13
|
+
| rounded-3xl | border-radius: 1.5rem |
|
|
14
|
+
| rounded-full | border-radius: 9999px |
|
|
15
|
+
| rounded-t-none | border-top-left-radius: 0px; border-top-right-radius: 0px |
|
|
16
|
+
| rounded-t-sm | border-top-left-radius: 0.125rem; border-top-right-radius: 0.125rem |
|
|
17
|
+
| rounded-t | border-top-left-radius: 0.25rem; border-top-right-radius: 0.25rem |
|
|
18
|
+
| rounded-t-md | border-top-left-radius: 0.375rem; border-top-right-radius: 0.375rem |
|
|
19
|
+
| rounded-t-lg | border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem |
|
|
20
|
+
| rounded-t-xl | border-top-left-radius: 0.75rem; border-top-right-radius: 0.75rem |
|
|
21
|
+
| rounded-t-2xl | border-top-left-radius: 1rem; border-top-right-radius: 1rem |
|
|
22
|
+
| rounded-t-3xl | border-top-left-radius: 1.5rem; border-top-right-radius: 1.5rem |
|
|
23
|
+
| rounded-t-full | border-top-left-radius: 9999px; border-top-right-radius: 9999px |
|
|
24
|
+
| rounded-r-none | border-top-right-radius: 0px; border-bottom-right-radius: 0px |
|
|
25
|
+
| rounded-r-sm | border-top-right-radius: 0.125rem; border-bottom-right-radius: 0.125rem |
|
|
26
|
+
| rounded-r | border-top-right-radius: 0.25rem; border-bottom-right-radius: 0.25rem |
|
|
27
|
+
| rounded-r-md | border-top-right-radius: 0.375rem; border-bottom-right-radius: 0.375rem |
|
|
28
|
+
| rounded-r-lg | border-top-right-radius: 0.5rem; border-bottom-right-radius: 0.5rem |
|
|
29
|
+
| rounded-r-xl | border-top-right-radius: 0.75rem; border-bottom-right-radius: 0.75rem |
|
|
30
|
+
| rounded-r-2xl | border-top-right-radius: 1rem; border-bottom-right-radius: 1rem |
|
|
31
|
+
| rounded-r-3xl | border-top-right-radius: 1.5rem; border-bottom-right-radius: 1.5rem |
|
|
32
|
+
| rounded-r-full | border-top-right-radius: 9999px; border-bottom-right-radius: 9999px |
|
|
33
|
+
| rounded-b-none | border-bottom-right-radius: 0px; border-bottom-left-radius: 0px |
|
|
34
|
+
| rounded-b-sm | border-bottom-right-radius: 0.125rem; border-bottom-left-radius: 0.125rem |
|
|
35
|
+
| rounded-b | border-bottom-right-radius: 0.25rem; border-bottom-left-radius: 0.25rem |
|
|
36
|
+
| rounded-b-md | border-bottom-right-radius: 0.375rem; border-bottom-left-radius: 0.375rem |
|
|
37
|
+
| rounded-b-lg | border-bottom-right-radius: 0.5rem; border-bottom-left-radius: 0.5rem |
|
|
38
|
+
| rounded-b-xl | border-bottom-right-radius: 0.75rem; border-bottom-left-radius: 0.75rem |
|
|
39
|
+
| rounded-b-2xl | border-bottom-right-radius: 1rem; border-bottom-left-radius: 1rem |
|
|
40
|
+
| rounded-b-3xl | border-bottom-right-radius: 1.5rem; border-bottom-left-radius: 1.5rem |
|
|
41
|
+
| rounded-b-full | border-bottom-right-radius: 9999px; border-bottom-left-radius: 9999px |
|
|
42
|
+
| rounded-l-none | border-top-left-radius: 0px; border-bottom-left-radius: 0px |
|
|
43
|
+
| rounded-l-sm | border-top-left-radius: 0.125rem; border-bottom-left-radius: 0.125rem |
|
|
44
|
+
| rounded-l | border-top-left-radius: 0.25rem; border-bottom-left-radius: 0.25rem |
|
|
45
|
+
| rounded-l-md | border-top-left-radius: 0.375rem; border-bottom-left-radius: 0.375rem |
|
|
46
|
+
| rounded-l-lg | border-top-left-radius: 0.5rem; border-bottom-left-radius: 0.5rem |
|
|
47
|
+
| rounded-l-xl | border-top-left-radius: 0.75rem; border-bottom-left-radius: 0.75rem |
|
|
48
|
+
| rounded-l-2xl | border-top-left-radius: 1rem; border-bottom-left-radius: 1rem |
|
|
49
|
+
| rounded-l-3xl | border-top-left-radius: 1.5rem; border-bottom-left-radius: 1.5rem |
|
|
50
|
+
| rounded-l-full | border-top-left-radius: 9999px; border-bottom-left-radius: 9999px |
|
|
51
|
+
| rounded-tl-none | border-top-left-radius: 0px |
|
|
52
|
+
| rounded-tr-none | border-top-right-radius: 0px |
|
|
53
|
+
| rounded-br-none | border-bottom-right-radius: 0px |
|
|
54
|
+
| rounded-bl-none | border-bottom-left-radius: 0px |
|
|
55
|
+
| rounded-tl-sm | border-top-left-radius: 0.125rem |
|
|
56
|
+
| rounded-tr-sm | border-top-right-radius: 0.125rem |
|
|
57
|
+
| rounded-br-sm | border-bottom-right-radius: 0.125rem |
|
|
58
|
+
| rounded-bl-sm | border-bottom-left-radius: 0.125rem |
|
|
59
|
+
| rounded-tl | border-top-left-radius: 0.25rem |
|
|
60
|
+
| rounded-tr | border-top-right-radius: 0.25rem |
|
|
61
|
+
| rounded-br | border-bottom-right-radius: 0.25rem |
|
|
62
|
+
| rounded-bl | border-bottom-left-radius: 0.25rem |
|
|
63
|
+
| rounded-tl-md | border-top-left-radius: 0.375rem |
|
|
64
|
+
| rounded-tr-md | border-top-right-radius: 0.375rem |
|
|
65
|
+
| rounded-br-md | border-bottom-right-radius: 0.375rem |
|
|
66
|
+
| rounded-bl-md | border-bottom-left-radius: 0.375rem |
|
|
67
|
+
| rounded-tl-lg | border-top-left-radius: 0.5rem |
|
|
68
|
+
| rounded-tr-lg | border-top-right-radius: 0.5rem |
|
|
69
|
+
| rounded-br-lg | border-bottom-right-radius: 0.5rem |
|
|
70
|
+
| rounded-bl-lg | border-bottom-left-radius: 0.5rem |
|
|
71
|
+
| rounded-tl-xl | border-top-left-radius: 0.75rem |
|
|
72
|
+
| rounded-tr-xl | border-top-right-radius: 0.75rem |
|
|
73
|
+
| rounded-br-xl | border-bottom-right-radius: 0.75rem |
|
|
74
|
+
| rounded-bl-xl | border-bottom-left-radius: 0.75rem |
|
|
75
|
+
| rounded-tl-2xl | border-top-left-radius: 1rem |
|
|
76
|
+
| rounded-tr-2xl | border-top-right-radius: 1rem |
|
|
77
|
+
| rounded-br-2xl | border-bottom-right-radius: 1rem |
|
|
78
|
+
| rounded-bl-2xl | border-bottom-left-radius: 1rem |
|
|
79
|
+
| rounded-tl-3xl | border-top-left-radius: 1.5rem |
|
|
80
|
+
| rounded-tr-3xl | border-top-right-radius: 1.5rem |
|
|
81
|
+
| rounded-br-3xl | border-bottom-right-radius: 1.5rem |
|
|
82
|
+
| rounded-bl-3xl | border-bottom-left-radius: 1.5rem |
|
|
83
|
+
| rounded-tl-full | border-top-left-radius: 9999px |
|
|
84
|
+
| rounded-tr-full | border-top-right-radius: 9999px |
|
|
85
|
+
| rounded-br-full | border-bottom-right-radius: 9999px |
|
|
86
|
+
| rounded-bl-full | border-bottom-left-radius: 9999px |
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
/*!markdown
|
|
2
|
+
|
|
3
|
+
---
|
|
4
|
+
title: 边框圆角
|
|
5
|
+
---
|
|
6
|
+
| Class | Properties |
|
|
7
|
+
| ----------- | ------------------------ |
|
|
8
|
+
| rounded-none | border-radius: 0px |
|
|
9
|
+
| rounded-sm | border-radius: 0.125rem |
|
|
10
|
+
| rounded | border-radius: 0.25rem |
|
|
11
|
+
| rounded-md | border-radius: 0.375rem |
|
|
12
|
+
| rounded-lg | border-radius: 0.5rem |
|
|
13
|
+
| rounded-xl | border-radius: 0.75rem |
|
|
14
|
+
| rounded-2xl | border-radius: 1rem |
|
|
15
|
+
| rounded-3xl | border-radius: 1.5rem |
|
|
16
|
+
| rounded-full | border-radius: 9999px |
|
|
17
|
+
| rounded-t-none | border-top-left-radius: 0px; border-top-right-radius: 0px |
|
|
18
|
+
| rounded-t-sm | border-top-left-radius: 0.125rem; border-top-right-radius: 0.125rem |
|
|
19
|
+
| rounded-t | border-top-left-radius: 0.25rem; border-top-right-radius: 0.25rem |
|
|
20
|
+
| rounded-t-md | border-top-left-radius: 0.375rem; border-top-right-radius: 0.375rem |
|
|
21
|
+
| rounded-t-lg | border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem |
|
|
22
|
+
| rounded-t-xl | border-top-left-radius: 0.75rem; border-top-right-radius: 0.75rem |
|
|
23
|
+
| rounded-t-2xl | border-top-left-radius: 1rem; border-top-right-radius: 1rem |
|
|
24
|
+
| rounded-t-3xl | border-top-left-radius: 1.5rem; border-top-right-radius: 1.5rem |
|
|
25
|
+
| rounded-t-full | border-top-left-radius: 9999px; border-top-right-radius: 9999px |
|
|
26
|
+
| rounded-r-none | border-top-right-radius: 0px; border-bottom-right-radius: 0px |
|
|
27
|
+
| rounded-r-sm | border-top-right-radius: 0.125rem; border-bottom-right-radius: 0.125rem |
|
|
28
|
+
| rounded-r | border-top-right-radius: 0.25rem; border-bottom-right-radius: 0.25rem |
|
|
29
|
+
| rounded-r-md | border-top-right-radius: 0.375rem; border-bottom-right-radius: 0.375rem |
|
|
30
|
+
| rounded-r-lg | border-top-right-radius: 0.5rem; border-bottom-right-radius: 0.5rem |
|
|
31
|
+
| rounded-r-xl | border-top-right-radius: 0.75rem; border-bottom-right-radius: 0.75rem |
|
|
32
|
+
| rounded-r-2xl | border-top-right-radius: 1rem; border-bottom-right-radius: 1rem |
|
|
33
|
+
| rounded-r-3xl | border-top-right-radius: 1.5rem; border-bottom-right-radius: 1.5rem |
|
|
34
|
+
| rounded-r-full | border-top-right-radius: 9999px; border-bottom-right-radius: 9999px |
|
|
35
|
+
| rounded-b-none | border-bottom-right-radius: 0px; border-bottom-left-radius: 0px |
|
|
36
|
+
| rounded-b-sm | border-bottom-right-radius: 0.125rem; border-bottom-left-radius: 0.125rem |
|
|
37
|
+
| rounded-b | border-bottom-right-radius: 0.25rem; border-bottom-left-radius: 0.25rem |
|
|
38
|
+
| rounded-b-md | border-bottom-right-radius: 0.375rem; border-bottom-left-radius: 0.375rem |
|
|
39
|
+
| rounded-b-lg | border-bottom-right-radius: 0.5rem; border-bottom-left-radius: 0.5rem |
|
|
40
|
+
| rounded-b-xl | border-bottom-right-radius: 0.75rem; border-bottom-left-radius: 0.75rem |
|
|
41
|
+
| rounded-b-2xl | border-bottom-right-radius: 1rem; border-bottom-left-radius: 1rem |
|
|
42
|
+
| rounded-b-3xl | border-bottom-right-radius: 1.5rem; border-bottom-left-radius: 1.5rem |
|
|
43
|
+
| rounded-b-full | border-bottom-right-radius: 9999px; border-bottom-left-radius: 9999px |
|
|
44
|
+
| rounded-l-none | border-top-left-radius: 0px; border-bottom-left-radius: 0px |
|
|
45
|
+
| rounded-l-sm | border-top-left-radius: 0.125rem; border-bottom-left-radius: 0.125rem |
|
|
46
|
+
| rounded-l | border-top-left-radius: 0.25rem; border-bottom-left-radius: 0.25rem |
|
|
47
|
+
| rounded-l-md | border-top-left-radius: 0.375rem; border-bottom-left-radius: 0.375rem |
|
|
48
|
+
| rounded-l-lg | border-top-left-radius: 0.5rem; border-bottom-left-radius: 0.5rem |
|
|
49
|
+
| rounded-l-xl | border-top-left-radius: 0.75rem; border-bottom-left-radius: 0.75rem |
|
|
50
|
+
| rounded-l-2xl | border-top-left-radius: 1rem; border-bottom-left-radius: 1rem |
|
|
51
|
+
| rounded-l-3xl | border-top-left-radius: 1.5rem; border-bottom-left-radius: 1.5rem |
|
|
52
|
+
| rounded-l-full | border-top-left-radius: 9999px; border-bottom-left-radius: 9999px |
|
|
53
|
+
| rounded-tl-none | border-top-left-radius: 0px |
|
|
54
|
+
| rounded-tr-none | border-top-right-radius: 0px |
|
|
55
|
+
| rounded-br-none | border-bottom-right-radius: 0px |
|
|
56
|
+
| rounded-bl-none | border-bottom-left-radius: 0px |
|
|
57
|
+
| rounded-tl-sm | border-top-left-radius: 0.125rem |
|
|
58
|
+
| rounded-tr-sm | border-top-right-radius: 0.125rem |
|
|
59
|
+
| rounded-br-sm | border-bottom-right-radius: 0.125rem |
|
|
60
|
+
| rounded-bl-sm | border-bottom-left-radius: 0.125rem |
|
|
61
|
+
| rounded-tl | border-top-left-radius: 0.25rem |
|
|
62
|
+
| rounded-tr | border-top-right-radius: 0.25rem |
|
|
63
|
+
| rounded-br | border-bottom-right-radius: 0.25rem |
|
|
64
|
+
| rounded-bl | border-bottom-left-radius: 0.25rem |
|
|
65
|
+
| rounded-tl-md | border-top-left-radius: 0.375rem |
|
|
66
|
+
| rounded-tr-md | border-top-right-radius: 0.375rem |
|
|
67
|
+
| rounded-br-md | border-bottom-right-radius: 0.375rem |
|
|
68
|
+
| rounded-bl-md | border-bottom-left-radius: 0.375rem |
|
|
69
|
+
| rounded-tl-lg | border-top-left-radius: 0.5rem |
|
|
70
|
+
| rounded-tr-lg | border-top-right-radius: 0.5rem |
|
|
71
|
+
| rounded-br-lg | border-bottom-right-radius: 0.5rem |
|
|
72
|
+
| rounded-bl-lg | border-bottom-left-radius: 0.5rem |
|
|
73
|
+
| rounded-tl-xl | border-top-left-radius: 0.75rem |
|
|
74
|
+
| rounded-tr-xl | border-top-right-radius: 0.75rem |
|
|
75
|
+
| rounded-br-xl | border-bottom-right-radius: 0.75rem |
|
|
76
|
+
| rounded-bl-xl | border-bottom-left-radius: 0.75rem |
|
|
77
|
+
| rounded-tl-2xl | border-top-left-radius: 1rem |
|
|
78
|
+
| rounded-tr-2xl | border-top-right-radius: 1rem |
|
|
79
|
+
| rounded-br-2xl | border-bottom-right-radius: 1rem |
|
|
80
|
+
| rounded-bl-2xl | border-bottom-left-radius: 1rem |
|
|
81
|
+
| rounded-tl-3xl | border-top-left-radius: 1.5rem |
|
|
82
|
+
| rounded-tr-3xl | border-top-right-radius: 1.5rem |
|
|
83
|
+
| rounded-br-3xl | border-bottom-right-radius: 1.5rem |
|
|
84
|
+
| rounded-bl-3xl | border-bottom-left-radius: 1.5rem |
|
|
85
|
+
| rounded-tl-full | border-top-left-radius: 9999px |
|
|
86
|
+
| rounded-tr-full | border-top-right-radius: 9999px |
|
|
87
|
+
| rounded-br-full | border-bottom-right-radius: 9999px |
|
|
88
|
+
| rounded-bl-full | border-bottom-left-radius: 9999px |
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
*/
|
|
92
|
+
|
|
93
|
+
@mixin border-radius($prefix: '.', $suffix: '') {
|
|
94
|
+
@each $name, $value in $borderRadiuses {
|
|
95
|
+
#{$prefix}rounded#{suffixName($name)}#{$suffix} {
|
|
96
|
+
border-radius: $value;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
@each $name, $value in $borderRadiuses {
|
|
100
|
+
#{$prefix}rounded-t#{suffixName($name)}#{$suffix} {
|
|
101
|
+
border-top-left-radius: $value;
|
|
102
|
+
border-top-right-radius: $value;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
@each $name, $value in $borderRadiuses {
|
|
107
|
+
#{$prefix}rounded-r#{suffixName($name)}#{$suffix} {
|
|
108
|
+
border-top-right-radius: $value;
|
|
109
|
+
border-bottom-right-radius: $value;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
@each $name, $value in $borderRadiuses {
|
|
113
|
+
#{$prefix}rounded-b#{suffixName($name)}#{$suffix} {
|
|
114
|
+
border-bottom-right-radius: $value;
|
|
115
|
+
border-bottom-left-radius: $value;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
@each $name, $value in $borderRadiuses {
|
|
119
|
+
#{$prefix}rounded-l#{suffixName($name)}#{$suffix} {
|
|
120
|
+
border-top-left-radius: $value;
|
|
121
|
+
border-bottom-left-radius: $value;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
@each $name, $value in $borderRadiuses {
|
|
126
|
+
#{$prefix}rounded-tl#{suffixName($name)}#{$suffix} {
|
|
127
|
+
border-top-left-radius: $value;
|
|
128
|
+
}
|
|
129
|
+
#{$prefix}rounded-tr#{suffixName($name)}#{$suffix} {
|
|
130
|
+
border-top-right-radius: $value;
|
|
131
|
+
}
|
|
132
|
+
#{$prefix}rounded-br#{suffixName($name)}#{$suffix} {
|
|
133
|
+
border-bottom-right-radius: $value;
|
|
134
|
+
}
|
|
135
|
+
#{$prefix}rounded-bl#{suffixName($name)}#{$suffix} {
|
|
136
|
+
border-bottom-left-radius: $value;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
@include border-radius();
|
|
142
|
+
@each $deivce in map-keys($devices) {
|
|
143
|
+
@include media-device($deivce) {
|
|
144
|
+
@include border-radius('.' + selector-escape($deivce + ':'));
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
// @include border-radius('.' + selector-escape('hover:'), ':hover');
|
|
149
|
+
// @include border-radius('.' + selector-escape('active:'), '.is-active');
|
|
150
|
+
// @include border-radius('.' + selector-escape('focus:'), ':focus');
|
|
151
|
+
// @include border-radius('.' + selector-escape('disabled:'), '.is-disabled');
|
|
152
|
+
// @include border-radius('.group:hover .' + selector-escape('group-hover:'));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: 边框样式
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
| Class | Properties |
|
|
6
|
+
| ----------- | ------------------------ |
|
|
7
|
+
| border-solid | border-style: solid |
|
|
8
|
+
| border-dashed | border-style: dashed |
|
|
9
|
+
| border-dotted | border-style: dotted |
|
|
10
|
+
| border-double | border-style: double |
|
|
11
|
+
| border-none | border-style: none |
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*!markdown
|
|
2
|
+
|
|
3
|
+
---
|
|
4
|
+
title: 边框样式
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
| Class | Properties |
|
|
8
|
+
| ----------- | ------------------------ |
|
|
9
|
+
| border-solid | border-style: solid |
|
|
10
|
+
| border-dashed | border-style: dashed |
|
|
11
|
+
| border-dotted | border-style: dotted |
|
|
12
|
+
| border-double | border-style: double |
|
|
13
|
+
| border-none | border-style: none |
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
@mixin make-border-style($prefix: '.') {
|
|
19
|
+
@each $name,
|
|
20
|
+
$value
|
|
21
|
+
in (
|
|
22
|
+
'solid': solid,
|
|
23
|
+
'dashed': dashed,
|
|
24
|
+
'dotted': dotted,
|
|
25
|
+
'double': double,
|
|
26
|
+
'none': none
|
|
27
|
+
)
|
|
28
|
+
{
|
|
29
|
+
#{$prefix}border-#{$name} {
|
|
30
|
+
border-style: $value;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@include make-border-style();
|
|
36
|
+
@each $deivce in map-keys($devices) {
|
|
37
|
+
@include media-device($deivce) {
|
|
38
|
+
@include make-border-style('.' + selector-escape($deivce + ':'));
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: 边框宽度
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
| Class | Properties |
|
|
6
|
+
| ----------- | ------------------------ |
|
|
7
|
+
| border | border-width: 1px |
|
|
8
|
+
| border-0 | border-width: 0px |
|
|
9
|
+
| border-2 | border-width: 2px |
|
|
10
|
+
| border-4 | border-width: 4px |
|
|
11
|
+
| border-8 | border-width: 8px |
|
|
12
|
+
| border-t | border-top-width: 1px |
|
|
13
|
+
| border-r | border-right-width: 1px |
|
|
14
|
+
| border-b | border-bottom-width: 1px |
|
|
15
|
+
| border-l | border-left-width: 1px |
|
|
16
|
+
| border-t-0 | border-top-width: 0px |
|
|
17
|
+
| border-r-0 | border-right-width: 0px |
|
|
18
|
+
| border-b-0 | border-bottom-width: 0px |
|
|
19
|
+
| border-l-0 | border-left-width: 0px |
|
|
20
|
+
| border-t-2 | border-top-width: 2px |
|
|
21
|
+
| border-r-2 | border-right-width: 2px |
|
|
22
|
+
| border-b-2 | border-bottom-width: 2px |
|
|
23
|
+
| border-l-2 | border-left-width: 2px |
|
|
24
|
+
| border-t-4 | border-top-width: 4px |
|
|
25
|
+
| border-r-4 | border-right-width: 4px |
|
|
26
|
+
| border-b-4 | border-bottom-width: 4px |
|
|
27
|
+
| border-l-4 | border-left-width: 4px |
|
|
28
|
+
| border-t-8 | border-top-width: 8px |
|
|
29
|
+
| border-r-8 | border-right-width: 8px |
|
|
30
|
+
| border-b-8 | border-bottom-width: 8px |
|
|
31
|
+
| border-l-8 | border-left-width: 8px |
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/*!markdown
|
|
2
|
+
|
|
3
|
+
---
|
|
4
|
+
title: 边框宽度
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
| Class | Properties |
|
|
8
|
+
| ----------- | ------------------------ |
|
|
9
|
+
| border | border-width: 1px |
|
|
10
|
+
| border-0 | border-width: 0px |
|
|
11
|
+
| border-2 | border-width: 2px |
|
|
12
|
+
| border-4 | border-width: 4px |
|
|
13
|
+
| border-8 | border-width: 8px |
|
|
14
|
+
| border-t | border-top-width: 1px |
|
|
15
|
+
| border-r | border-right-width: 1px |
|
|
16
|
+
| border-b | border-bottom-width: 1px |
|
|
17
|
+
| border-l | border-left-width: 1px |
|
|
18
|
+
| border-t-0 | border-top-width: 0px |
|
|
19
|
+
| border-r-0 | border-right-width: 0px |
|
|
20
|
+
| border-b-0 | border-bottom-width: 0px |
|
|
21
|
+
| border-l-0 | border-left-width: 0px |
|
|
22
|
+
| border-t-2 | border-top-width: 2px |
|
|
23
|
+
| border-r-2 | border-right-width: 2px |
|
|
24
|
+
| border-b-2 | border-bottom-width: 2px |
|
|
25
|
+
| border-l-2 | border-left-width: 2px |
|
|
26
|
+
| border-t-4 | border-top-width: 4px |
|
|
27
|
+
| border-r-4 | border-right-width: 4px |
|
|
28
|
+
| border-b-4 | border-bottom-width: 4px |
|
|
29
|
+
| border-l-4 | border-left-width: 4px |
|
|
30
|
+
| border-t-8 | border-top-width: 8px |
|
|
31
|
+
| border-r-8 | border-right-width: 8px |
|
|
32
|
+
| border-b-8 | border-bottom-width: 8px |
|
|
33
|
+
| border-l-8 | border-left-width: 8px |
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
*/
|
|
37
|
+
|
|
38
|
+
@mixin border-widths($prefix: '.', $suffix: '') {
|
|
39
|
+
@each $name, $value in $borderWidths {
|
|
40
|
+
#{$prefix}border#{suffixName($name)}#{$suffix} {
|
|
41
|
+
border-width: $value;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@each $name, $value in $borderWidths {
|
|
46
|
+
#{$prefix}border-t#{suffixName($name)}#{$suffix} {
|
|
47
|
+
border-top-width: $value;
|
|
48
|
+
}
|
|
49
|
+
#{$prefix}border-r#{suffixName($name)}#{$suffix} {
|
|
50
|
+
border-right-width: $value;
|
|
51
|
+
}
|
|
52
|
+
#{$prefix}border-b#{suffixName($name)}#{$suffix} {
|
|
53
|
+
border-bottom-width: $value;
|
|
54
|
+
}
|
|
55
|
+
#{$prefix}border-l#{suffixName($name)}#{$suffix} {
|
|
56
|
+
border-left-width: $value;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@include border-widths();
|
|
62
|
+
@each $deivce in map-keys($devices) {
|
|
63
|
+
@include media-device($deivce) {
|
|
64
|
+
@include border-widths('.' + selector-escape($deivce + ':'));
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
// @include border-radius('.' + selector-escape('hover:'), ':hover');
|
|
69
|
+
// @include border-radius('.' + selector-escape('active:'), '.is-active');
|
|
70
|
+
// @include border-radius('.' + selector-escape('focus:'), ':focus');
|
|
71
|
+
// @include border-radius('.' + selector-escape('disabled:'), '.is-disabled');
|
|
72
|
+
// @include border-radius('.group:hover .' + selector-escape('group-hover:'));
|