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,59 @@
|
|
|
1
|
+
/*!markdown
|
|
2
|
+
|
|
3
|
+
---
|
|
4
|
+
title: Line Height
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
| Class | Properties |
|
|
8
|
+
| ----------- | ------------------------ |
|
|
9
|
+
| leading-3 | line-height: 0.75rem |
|
|
10
|
+
| leading-4 | line-height: 1rem |
|
|
11
|
+
| leading-5 | line-height: 1.25rem |
|
|
12
|
+
| leading-6 | line-height: 1.5rem |
|
|
13
|
+
| leading-7 | line-height: 1.75rem |
|
|
14
|
+
| leading-8 | line-height: 2rem |
|
|
15
|
+
| leading-9 | line-height: 2.25rem |
|
|
16
|
+
| leading-10 | line-height: 2.5rem |
|
|
17
|
+
| leading-none | line-height: 1 |
|
|
18
|
+
| leading-tight | line-height: 1.25 |
|
|
19
|
+
| leading-snug | line-height: 1.375 |
|
|
20
|
+
| leading-normal | line-height: 1.5 |
|
|
21
|
+
| leading-relaxed | line-height: 1.625 |
|
|
22
|
+
| leading-loose | line-height: 2 |
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
*/
|
|
26
|
+
@mixin make-line-height($prefix: '.') {
|
|
27
|
+
@each $name,
|
|
28
|
+
$value
|
|
29
|
+
in (
|
|
30
|
+
'3': 0.75rem,
|
|
31
|
+
'4': 1rem,
|
|
32
|
+
'5': 1.25rem,
|
|
33
|
+
'6': 1.5rem,
|
|
34
|
+
'7': 1.75rem,
|
|
35
|
+
'8': 2rem,
|
|
36
|
+
'9': 2.25rem,
|
|
37
|
+
'10': 2.5rem,
|
|
38
|
+
'none': 1,
|
|
39
|
+
'tight': 1.25,
|
|
40
|
+
'snug': 1.375,
|
|
41
|
+
'normal': 1.5,
|
|
42
|
+
'relaxed': 1.625,
|
|
43
|
+
'loose': 2
|
|
44
|
+
)
|
|
45
|
+
{
|
|
46
|
+
#{$prefix}leading-#{$name} {
|
|
47
|
+
line-height: $value;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@include make-line-height();
|
|
53
|
+
@each $deivce in map-keys($devices) {
|
|
54
|
+
@include media-device($deivce) {
|
|
55
|
+
@include make-line-height('.' + selector-escape($deivce + ':'));
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
// hover ?
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: List Style Type
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
| Class | Properties |
|
|
6
|
+
| ----------- | ------------------------ |
|
|
7
|
+
| list-none | list-style-type: none |
|
|
8
|
+
| list-disc | list-style-type: disc |
|
|
9
|
+
| list-decimal | list-style-type: decimal |
|
|
10
|
+
| list-inside | list-style-position: inside |
|
|
11
|
+
| list-outside | list-style-position: outside |
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/*!markdown
|
|
2
|
+
|
|
3
|
+
---
|
|
4
|
+
title: List Style Type
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
| Class | Properties |
|
|
8
|
+
| ----------- | ------------------------ |
|
|
9
|
+
| list-none | list-style-type: none |
|
|
10
|
+
| list-disc | list-style-type: disc |
|
|
11
|
+
| list-decimal | list-style-type: decimal |
|
|
12
|
+
| list-inside | list-style-position: inside |
|
|
13
|
+
| list-outside | list-style-position: outside |
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
@mixin make-list-style-type($prefix: '.') {
|
|
19
|
+
@each $name, $value in ('none': none, 'disc': disc, 'decimal': decimal) {
|
|
20
|
+
#{$prefix}list-#{$name} {
|
|
21
|
+
list-style-type: $value;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@mixin make-list-style-position($prefix: '.') {
|
|
27
|
+
@each $name, $value in ('inside': inside, 'outside': outside) {
|
|
28
|
+
#{$prefix}list-#{$name} {
|
|
29
|
+
list-style-position: $value;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@include make-list-style-type();
|
|
35
|
+
@include make-list-style-position();
|
|
36
|
+
@each $deivce in map-keys($devices) {
|
|
37
|
+
@include media-device($deivce) {
|
|
38
|
+
@include make-list-style-type('.' + selector-escape($deivce + ':'));
|
|
39
|
+
@include make-list-style-position('.' + selector-escape($deivce + ':'));
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// hover ?
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/*!markdown
|
|
2
|
+
|
|
3
|
+
---
|
|
4
|
+
title: Text Align
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
| Class | Properties |
|
|
8
|
+
| ----------- | ------------------------ |
|
|
9
|
+
| text-left | text-align: left |
|
|
10
|
+
| text-center | text-align: center |
|
|
11
|
+
| text-right | text-align: right |
|
|
12
|
+
| text-justify | text-align: justify |
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
*/
|
|
16
|
+
@mixin make-text-align($prefix: '.') {
|
|
17
|
+
@each $name,
|
|
18
|
+
$value
|
|
19
|
+
in ('left': left, 'center': center, 'right': right, 'justify': justify)
|
|
20
|
+
{
|
|
21
|
+
#{$prefix}text-#{$name} {
|
|
22
|
+
text-align: $value;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@include make-text-align();
|
|
28
|
+
@each $deivce in map-keys($devices) {
|
|
29
|
+
@include media-device($deivce) {
|
|
30
|
+
@include make-text-align('.' + selector-escape($deivce + ':'));
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// hover ?
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Text Color
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
| Class | Properties | 示例效果 |
|
|
6
|
+
| ----------- | ------------------------ | ------------------------ |
|
|
7
|
+
| text-transparent | color: transparent | <span style="color: #transparent">AaBbCcDd</span>|
|
|
8
|
+
| text-current | color: currentColor | <span style="color: #currentColor">AaBbCcDd</span>|
|
|
9
|
+
| text-black | color: #000 | <span style="color: #000">AaBbCcDd</span>|
|
|
10
|
+
| text-white | color: #fff | <span style="color: #fff">AaBbCcDd</span>|
|
|
11
|
+
| text-primary | color: #007bff | <span style="color: #007bff">AaBbCcDd</span>|
|
|
12
|
+
| text-secondary | color: #6c757d | <span style="color: #6c757d">AaBbCcDd</span>|
|
|
13
|
+
| text-success | color: #28a745 | <span style="color: #28a745">AaBbCcDd</span>|
|
|
14
|
+
| text-info | color: #007bff | <span style="color: #007bff">AaBbCcDd</span>|
|
|
15
|
+
| text-warning | color: #fad733 | <span style="color: #fad733">AaBbCcDd</span>|
|
|
16
|
+
| text-danger | color: #dc3545 | <span style="color: #dc3545">AaBbCcDd</span>|
|
|
17
|
+
| text-light | color: #f8f9fa | <span style="color: #f8f9fa">AaBbCcDd</span>|
|
|
18
|
+
| text-dark | color: #343a40 | <span style="color: #343a40">AaBbCcDd</span>|
|
|
19
|
+
| text-gray-50 | color: #f9fafb | <span style="color: #f9fafb">AaBbCcDd</span>|
|
|
20
|
+
| text-gray-100 | color: #f3f4f6 | <span style="color: #f3f4f6">AaBbCcDd</span>|
|
|
21
|
+
| text-gray-200 | color: #e5e7eb | <span style="color: #e5e7eb">AaBbCcDd</span>|
|
|
22
|
+
| text-gray-300 | color: #d1d5db | <span style="color: #d1d5db">AaBbCcDd</span>|
|
|
23
|
+
| text-gray-400 | color: #9ca3af | <span style="color: #9ca3af">AaBbCcDd</span>|
|
|
24
|
+
| text-gray-500 | color: #6b7280 | <span style="color: #6b7280">AaBbCcDd</span>|
|
|
25
|
+
| text-gray-600 | color: #4b5563 | <span style="color: #4b5563">AaBbCcDd</span>|
|
|
26
|
+
| text-gray-700 | color: #374151 | <span style="color: #374151">AaBbCcDd</span>|
|
|
27
|
+
| text-gray-800 | color: #1f2937 | <span style="color: #1f2937">AaBbCcDd</span>|
|
|
28
|
+
| text-gray-900 | color: #111827 | <span style="color: #111827">AaBbCcDd</span>|
|
|
29
|
+
| text-red-50 | color: #fef2f2 | <span style="color: #fef2f2">AaBbCcDd</span>|
|
|
30
|
+
| text-red-100 | color: #fee2e2 | <span style="color: #fee2e2">AaBbCcDd</span>|
|
|
31
|
+
| text-red-200 | color: #fecaca | <span style="color: #fecaca">AaBbCcDd</span>|
|
|
32
|
+
| text-red-300 | color: #fca5a5 | <span style="color: #fca5a5">AaBbCcDd</span>|
|
|
33
|
+
| text-red-400 | color: #f87171 | <span style="color: #f87171">AaBbCcDd</span>|
|
|
34
|
+
| text-red-500 | color: #ef4444 | <span style="color: #ef4444">AaBbCcDd</span>|
|
|
35
|
+
| text-red-600 | color: #dc2626 | <span style="color: #dc2626">AaBbCcDd</span>|
|
|
36
|
+
| text-red-700 | color: #b91c1c | <span style="color: #b91c1c">AaBbCcDd</span>|
|
|
37
|
+
| text-red-800 | color: #991b1b | <span style="color: #991b1b">AaBbCcDd</span>|
|
|
38
|
+
| text-red-900 | color: #7f1d1d | <span style="color: #7f1d1d">AaBbCcDd</span>|
|
|
39
|
+
| text-yellow-50 | color: #fffbeb | <span style="color: #fffbeb">AaBbCcDd</span>|
|
|
40
|
+
| text-yellow-100 | color: #fef3c7 | <span style="color: #fef3c7">AaBbCcDd</span>|
|
|
41
|
+
| text-yellow-200 | color: #fde68a | <span style="color: #fde68a">AaBbCcDd</span>|
|
|
42
|
+
| text-yellow-300 | color: #fcd34d | <span style="color: #fcd34d">AaBbCcDd</span>|
|
|
43
|
+
| text-yellow-400 | color: #fbbf24 | <span style="color: #fbbf24">AaBbCcDd</span>|
|
|
44
|
+
| text-yellow-500 | color: #f59e0b | <span style="color: #f59e0b">AaBbCcDd</span>|
|
|
45
|
+
| text-yellow-600 | color: #d97706 | <span style="color: #d97706">AaBbCcDd</span>|
|
|
46
|
+
| text-yellow-700 | color: #b45309 | <span style="color: #b45309">AaBbCcDd</span>|
|
|
47
|
+
| text-yellow-800 | color: #92400e | <span style="color: #92400e">AaBbCcDd</span>|
|
|
48
|
+
| text-yellow-900 | color: #78350f | <span style="color: #78350f">AaBbCcDd</span>|
|
|
49
|
+
| text-green-50 | color: #ecfdf5 | <span style="color: #ecfdf5">AaBbCcDd</span>|
|
|
50
|
+
| text-green-100 | color: #d1fae5 | <span style="color: #d1fae5">AaBbCcDd</span>|
|
|
51
|
+
| text-green-200 | color: #a7f3d0 | <span style="color: #a7f3d0">AaBbCcDd</span>|
|
|
52
|
+
| text-green-300 | color: #6ee7b7 | <span style="color: #6ee7b7">AaBbCcDd</span>|
|
|
53
|
+
| text-green-400 | color: #34d399 | <span style="color: #34d399">AaBbCcDd</span>|
|
|
54
|
+
| text-green-500 | color: #10b981 | <span style="color: #10b981">AaBbCcDd</span>|
|
|
55
|
+
| text-green-600 | color: #059669 | <span style="color: #059669">AaBbCcDd</span>|
|
|
56
|
+
| text-green-700 | color: #047857 | <span style="color: #047857">AaBbCcDd</span>|
|
|
57
|
+
| text-green-800 | color: #065f46 | <span style="color: #065f46">AaBbCcDd</span>|
|
|
58
|
+
| text-green-900 | color: #064e3b | <span style="color: #064e3b">AaBbCcDd</span>|
|
|
59
|
+
| text-blue-50 | color: #eff6ff | <span style="color: #eff6ff">AaBbCcDd</span>|
|
|
60
|
+
| text-blue-100 | color: #dbeafe | <span style="color: #dbeafe">AaBbCcDd</span>|
|
|
61
|
+
| text-blue-200 | color: #bfdbfe | <span style="color: #bfdbfe">AaBbCcDd</span>|
|
|
62
|
+
| text-blue-300 | color: #93c5fd | <span style="color: #93c5fd">AaBbCcDd</span>|
|
|
63
|
+
| text-blue-400 | color: #60a5fa | <span style="color: #60a5fa">AaBbCcDd</span>|
|
|
64
|
+
| text-blue-500 | color: #3b82f6 | <span style="color: #3b82f6">AaBbCcDd</span>|
|
|
65
|
+
| text-blue-600 | color: #2563eb | <span style="color: #2563eb">AaBbCcDd</span>|
|
|
66
|
+
| text-blue-700 | color: #1d4ed8 | <span style="color: #1d4ed8">AaBbCcDd</span>|
|
|
67
|
+
| text-blue-800 | color: #1e40af | <span style="color: #1e40af">AaBbCcDd</span>|
|
|
68
|
+
| text-blue-900 | color: #1e3a8a | <span style="color: #1e3a8a">AaBbCcDd</span>|
|
|
69
|
+
| text-cyan-50 | color: #ecfeff | <span style="color: #ecfeff">AaBbCcDd</span>|
|
|
70
|
+
| text-cyan-100 | color: #cffafe | <span style="color: #cffafe">AaBbCcDd</span>|
|
|
71
|
+
| text-cyan-200 | color: #a5f3fc | <span style="color: #a5f3fc">AaBbCcDd</span>|
|
|
72
|
+
| text-cyan-300 | color: #67e8f9 | <span style="color: #67e8f9">AaBbCcDd</span>|
|
|
73
|
+
| text-cyan-400 | color: #22d3ee | <span style="color: #22d3ee">AaBbCcDd</span>|
|
|
74
|
+
| text-cyan-500 | color: #06b6d4 | <span style="color: #06b6d4">AaBbCcDd</span>|
|
|
75
|
+
| text-cyan-600 | color: #0891b2 | <span style="color: #0891b2">AaBbCcDd</span>|
|
|
76
|
+
| text-cyan-700 | color: #0e7490 | <span style="color: #0e7490">AaBbCcDd</span>|
|
|
77
|
+
| text-cyan-800 | color: #155e75 | <span style="color: #155e75">AaBbCcDd</span>|
|
|
78
|
+
| text-cyan-900 | color: #164e63 | <span style="color: #164e63">AaBbCcDd</span>|
|
|
79
|
+
| text-indigo-50 | color: #eef2ff | <span style="color: #eef2ff">AaBbCcDd</span>|
|
|
80
|
+
| text-indigo-100 | color: #e0e7ff | <span style="color: #e0e7ff">AaBbCcDd</span>|
|
|
81
|
+
| text-indigo-200 | color: #c7d2fe | <span style="color: #c7d2fe">AaBbCcDd</span>|
|
|
82
|
+
| text-indigo-300 | color: #a5b4fc | <span style="color: #a5b4fc">AaBbCcDd</span>|
|
|
83
|
+
| text-indigo-400 | color: #818cf8 | <span style="color: #818cf8">AaBbCcDd</span>|
|
|
84
|
+
| text-indigo-500 | color: #6366f1 | <span style="color: #6366f1">AaBbCcDd</span>|
|
|
85
|
+
| text-indigo-600 | color: #4f46e5 | <span style="color: #4f46e5">AaBbCcDd</span>|
|
|
86
|
+
| text-indigo-700 | color: #4338ca | <span style="color: #4338ca">AaBbCcDd</span>|
|
|
87
|
+
| text-indigo-800 | color: #3730a3 | <span style="color: #3730a3">AaBbCcDd</span>|
|
|
88
|
+
| text-indigo-900 | color: #312e81 | <span style="color: #312e81">AaBbCcDd</span>|
|
|
89
|
+
| text-purple-50 | color: #f5f3ff | <span style="color: #f5f3ff">AaBbCcDd</span>|
|
|
90
|
+
| text-purple-100 | color: #ede9fe | <span style="color: #ede9fe">AaBbCcDd</span>|
|
|
91
|
+
| text-purple-200 | color: #ddd6fe | <span style="color: #ddd6fe">AaBbCcDd</span>|
|
|
92
|
+
| text-purple-300 | color: #c4b5fd | <span style="color: #c4b5fd">AaBbCcDd</span>|
|
|
93
|
+
| text-purple-400 | color: #a78bfa | <span style="color: #a78bfa">AaBbCcDd</span>|
|
|
94
|
+
| text-purple-500 | color: #8b5cf6 | <span style="color: #8b5cf6">AaBbCcDd</span>|
|
|
95
|
+
| text-purple-600 | color: #7c3aed | <span style="color: #7c3aed">AaBbCcDd</span>|
|
|
96
|
+
| text-purple-700 | color: #6d28d9 | <span style="color: #6d28d9">AaBbCcDd</span>|
|
|
97
|
+
| text-purple-800 | color: #5b21b6 | <span style="color: #5b21b6">AaBbCcDd</span>|
|
|
98
|
+
| text-purple-900 | color: #4c1d95 | <span style="color: #4c1d95">AaBbCcDd</span>|
|
|
99
|
+
| text-pink-50 | color: #fdf2f8 | <span style="color: #fdf2f8">AaBbCcDd</span>|
|
|
100
|
+
| text-pink-100 | color: #fce7f3 | <span style="color: #fce7f3">AaBbCcDd</span>|
|
|
101
|
+
| text-pink-200 | color: #fbcfe8 | <span style="color: #fbcfe8">AaBbCcDd</span>|
|
|
102
|
+
| text-pink-300 | color: #f9a8d4 | <span style="color: #f9a8d4">AaBbCcDd</span>|
|
|
103
|
+
| text-pink-400 | color: #f472b6 | <span style="color: #f472b6">AaBbCcDd</span>|
|
|
104
|
+
| text-pink-500 | color: #ec4899 | <span style="color: #ec4899">AaBbCcDd</span>|
|
|
105
|
+
| text-pink-600 | color: #db2777 | <span style="color: #db2777">AaBbCcDd</span>|
|
|
106
|
+
| text-pink-700 | color: #be185d | <span style="color: #be185d">AaBbCcDd</span>|
|
|
107
|
+
| text-pink-800 | color: #9d174d | <span style="color: #9d174d">AaBbCcDd</span>|
|
|
108
|
+
| text-pink-900 | color: #831843 | <span style="color: #831843">AaBbCcDd</span>|
|
|
109
|
+
|
|
110
|
+
还有 hover、active、focus、disabled 扩展,比如 `hover:text-black`
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
/*!markdown
|
|
2
|
+
|
|
3
|
+
---
|
|
4
|
+
title: Text Color
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
| Class | Properties | 示例效果 |
|
|
8
|
+
| ----------- | ------------------------ | ------------------------ |
|
|
9
|
+
| text-transparent | color: transparent | <span style="color: #transparent">AaBbCcDd</span>|
|
|
10
|
+
| text-current | color: currentColor | <span style="color: #currentColor">AaBbCcDd</span>|
|
|
11
|
+
| text-black | color: #000 | <span style="color: #000">AaBbCcDd</span>|
|
|
12
|
+
| text-white | color: #fff | <span style="color: #fff">AaBbCcDd</span>|
|
|
13
|
+
| text-primary | color: #007bff | <span style="color: #007bff">AaBbCcDd</span>|
|
|
14
|
+
| text-secondary | color: #6c757d | <span style="color: #6c757d">AaBbCcDd</span>|
|
|
15
|
+
| text-success | color: #28a745 | <span style="color: #28a745">AaBbCcDd</span>|
|
|
16
|
+
| text-info | color: #007bff | <span style="color: #007bff">AaBbCcDd</span>|
|
|
17
|
+
| text-warning | color: #fad733 | <span style="color: #fad733">AaBbCcDd</span>|
|
|
18
|
+
| text-danger | color: #dc3545 | <span style="color: #dc3545">AaBbCcDd</span>|
|
|
19
|
+
| text-light | color: #f8f9fa | <span style="color: #f8f9fa">AaBbCcDd</span>|
|
|
20
|
+
| text-dark | color: #343a40 | <span style="color: #343a40">AaBbCcDd</span>|
|
|
21
|
+
| text-gray-50 | color: #f9fafb | <span style="color: #f9fafb">AaBbCcDd</span>|
|
|
22
|
+
| text-gray-100 | color: #f3f4f6 | <span style="color: #f3f4f6">AaBbCcDd</span>|
|
|
23
|
+
| text-gray-200 | color: #e5e7eb | <span style="color: #e5e7eb">AaBbCcDd</span>|
|
|
24
|
+
| text-gray-300 | color: #d1d5db | <span style="color: #d1d5db">AaBbCcDd</span>|
|
|
25
|
+
| text-gray-400 | color: #9ca3af | <span style="color: #9ca3af">AaBbCcDd</span>|
|
|
26
|
+
| text-gray-500 | color: #6b7280 | <span style="color: #6b7280">AaBbCcDd</span>|
|
|
27
|
+
| text-gray-600 | color: #4b5563 | <span style="color: #4b5563">AaBbCcDd</span>|
|
|
28
|
+
| text-gray-700 | color: #374151 | <span style="color: #374151">AaBbCcDd</span>|
|
|
29
|
+
| text-gray-800 | color: #1f2937 | <span style="color: #1f2937">AaBbCcDd</span>|
|
|
30
|
+
| text-gray-900 | color: #111827 | <span style="color: #111827">AaBbCcDd</span>|
|
|
31
|
+
| text-red-50 | color: #fef2f2 | <span style="color: #fef2f2">AaBbCcDd</span>|
|
|
32
|
+
| text-red-100 | color: #fee2e2 | <span style="color: #fee2e2">AaBbCcDd</span>|
|
|
33
|
+
| text-red-200 | color: #fecaca | <span style="color: #fecaca">AaBbCcDd</span>|
|
|
34
|
+
| text-red-300 | color: #fca5a5 | <span style="color: #fca5a5">AaBbCcDd</span>|
|
|
35
|
+
| text-red-400 | color: #f87171 | <span style="color: #f87171">AaBbCcDd</span>|
|
|
36
|
+
| text-red-500 | color: #ef4444 | <span style="color: #ef4444">AaBbCcDd</span>|
|
|
37
|
+
| text-red-600 | color: #dc2626 | <span style="color: #dc2626">AaBbCcDd</span>|
|
|
38
|
+
| text-red-700 | color: #b91c1c | <span style="color: #b91c1c">AaBbCcDd</span>|
|
|
39
|
+
| text-red-800 | color: #991b1b | <span style="color: #991b1b">AaBbCcDd</span>|
|
|
40
|
+
| text-red-900 | color: #7f1d1d | <span style="color: #7f1d1d">AaBbCcDd</span>|
|
|
41
|
+
| text-yellow-50 | color: #fffbeb | <span style="color: #fffbeb">AaBbCcDd</span>|
|
|
42
|
+
| text-yellow-100 | color: #fef3c7 | <span style="color: #fef3c7">AaBbCcDd</span>|
|
|
43
|
+
| text-yellow-200 | color: #fde68a | <span style="color: #fde68a">AaBbCcDd</span>|
|
|
44
|
+
| text-yellow-300 | color: #fcd34d | <span style="color: #fcd34d">AaBbCcDd</span>|
|
|
45
|
+
| text-yellow-400 | color: #fbbf24 | <span style="color: #fbbf24">AaBbCcDd</span>|
|
|
46
|
+
| text-yellow-500 | color: #f59e0b | <span style="color: #f59e0b">AaBbCcDd</span>|
|
|
47
|
+
| text-yellow-600 | color: #d97706 | <span style="color: #d97706">AaBbCcDd</span>|
|
|
48
|
+
| text-yellow-700 | color: #b45309 | <span style="color: #b45309">AaBbCcDd</span>|
|
|
49
|
+
| text-yellow-800 | color: #92400e | <span style="color: #92400e">AaBbCcDd</span>|
|
|
50
|
+
| text-yellow-900 | color: #78350f | <span style="color: #78350f">AaBbCcDd</span>|
|
|
51
|
+
| text-green-50 | color: #ecfdf5 | <span style="color: #ecfdf5">AaBbCcDd</span>|
|
|
52
|
+
| text-green-100 | color: #d1fae5 | <span style="color: #d1fae5">AaBbCcDd</span>|
|
|
53
|
+
| text-green-200 | color: #a7f3d0 | <span style="color: #a7f3d0">AaBbCcDd</span>|
|
|
54
|
+
| text-green-300 | color: #6ee7b7 | <span style="color: #6ee7b7">AaBbCcDd</span>|
|
|
55
|
+
| text-green-400 | color: #34d399 | <span style="color: #34d399">AaBbCcDd</span>|
|
|
56
|
+
| text-green-500 | color: #10b981 | <span style="color: #10b981">AaBbCcDd</span>|
|
|
57
|
+
| text-green-600 | color: #059669 | <span style="color: #059669">AaBbCcDd</span>|
|
|
58
|
+
| text-green-700 | color: #047857 | <span style="color: #047857">AaBbCcDd</span>|
|
|
59
|
+
| text-green-800 | color: #065f46 | <span style="color: #065f46">AaBbCcDd</span>|
|
|
60
|
+
| text-green-900 | color: #064e3b | <span style="color: #064e3b">AaBbCcDd</span>|
|
|
61
|
+
| text-blue-50 | color: #eff6ff | <span style="color: #eff6ff">AaBbCcDd</span>|
|
|
62
|
+
| text-blue-100 | color: #dbeafe | <span style="color: #dbeafe">AaBbCcDd</span>|
|
|
63
|
+
| text-blue-200 | color: #bfdbfe | <span style="color: #bfdbfe">AaBbCcDd</span>|
|
|
64
|
+
| text-blue-300 | color: #93c5fd | <span style="color: #93c5fd">AaBbCcDd</span>|
|
|
65
|
+
| text-blue-400 | color: #60a5fa | <span style="color: #60a5fa">AaBbCcDd</span>|
|
|
66
|
+
| text-blue-500 | color: #3b82f6 | <span style="color: #3b82f6">AaBbCcDd</span>|
|
|
67
|
+
| text-blue-600 | color: #2563eb | <span style="color: #2563eb">AaBbCcDd</span>|
|
|
68
|
+
| text-blue-700 | color: #1d4ed8 | <span style="color: #1d4ed8">AaBbCcDd</span>|
|
|
69
|
+
| text-blue-800 | color: #1e40af | <span style="color: #1e40af">AaBbCcDd</span>|
|
|
70
|
+
| text-blue-900 | color: #1e3a8a | <span style="color: #1e3a8a">AaBbCcDd</span>|
|
|
71
|
+
| text-cyan-50 | color: #ecfeff | <span style="color: #ecfeff">AaBbCcDd</span>|
|
|
72
|
+
| text-cyan-100 | color: #cffafe | <span style="color: #cffafe">AaBbCcDd</span>|
|
|
73
|
+
| text-cyan-200 | color: #a5f3fc | <span style="color: #a5f3fc">AaBbCcDd</span>|
|
|
74
|
+
| text-cyan-300 | color: #67e8f9 | <span style="color: #67e8f9">AaBbCcDd</span>|
|
|
75
|
+
| text-cyan-400 | color: #22d3ee | <span style="color: #22d3ee">AaBbCcDd</span>|
|
|
76
|
+
| text-cyan-500 | color: #06b6d4 | <span style="color: #06b6d4">AaBbCcDd</span>|
|
|
77
|
+
| text-cyan-600 | color: #0891b2 | <span style="color: #0891b2">AaBbCcDd</span>|
|
|
78
|
+
| text-cyan-700 | color: #0e7490 | <span style="color: #0e7490">AaBbCcDd</span>|
|
|
79
|
+
| text-cyan-800 | color: #155e75 | <span style="color: #155e75">AaBbCcDd</span>|
|
|
80
|
+
| text-cyan-900 | color: #164e63 | <span style="color: #164e63">AaBbCcDd</span>|
|
|
81
|
+
| text-indigo-50 | color: #eef2ff | <span style="color: #eef2ff">AaBbCcDd</span>|
|
|
82
|
+
| text-indigo-100 | color: #e0e7ff | <span style="color: #e0e7ff">AaBbCcDd</span>|
|
|
83
|
+
| text-indigo-200 | color: #c7d2fe | <span style="color: #c7d2fe">AaBbCcDd</span>|
|
|
84
|
+
| text-indigo-300 | color: #a5b4fc | <span style="color: #a5b4fc">AaBbCcDd</span>|
|
|
85
|
+
| text-indigo-400 | color: #818cf8 | <span style="color: #818cf8">AaBbCcDd</span>|
|
|
86
|
+
| text-indigo-500 | color: #6366f1 | <span style="color: #6366f1">AaBbCcDd</span>|
|
|
87
|
+
| text-indigo-600 | color: #4f46e5 | <span style="color: #4f46e5">AaBbCcDd</span>|
|
|
88
|
+
| text-indigo-700 | color: #4338ca | <span style="color: #4338ca">AaBbCcDd</span>|
|
|
89
|
+
| text-indigo-800 | color: #3730a3 | <span style="color: #3730a3">AaBbCcDd</span>|
|
|
90
|
+
| text-indigo-900 | color: #312e81 | <span style="color: #312e81">AaBbCcDd</span>|
|
|
91
|
+
| text-purple-50 | color: #f5f3ff | <span style="color: #f5f3ff">AaBbCcDd</span>|
|
|
92
|
+
| text-purple-100 | color: #ede9fe | <span style="color: #ede9fe">AaBbCcDd</span>|
|
|
93
|
+
| text-purple-200 | color: #ddd6fe | <span style="color: #ddd6fe">AaBbCcDd</span>|
|
|
94
|
+
| text-purple-300 | color: #c4b5fd | <span style="color: #c4b5fd">AaBbCcDd</span>|
|
|
95
|
+
| text-purple-400 | color: #a78bfa | <span style="color: #a78bfa">AaBbCcDd</span>|
|
|
96
|
+
| text-purple-500 | color: #8b5cf6 | <span style="color: #8b5cf6">AaBbCcDd</span>|
|
|
97
|
+
| text-purple-600 | color: #7c3aed | <span style="color: #7c3aed">AaBbCcDd</span>|
|
|
98
|
+
| text-purple-700 | color: #6d28d9 | <span style="color: #6d28d9">AaBbCcDd</span>|
|
|
99
|
+
| text-purple-800 | color: #5b21b6 | <span style="color: #5b21b6">AaBbCcDd</span>|
|
|
100
|
+
| text-purple-900 | color: #4c1d95 | <span style="color: #4c1d95">AaBbCcDd</span>|
|
|
101
|
+
| text-pink-50 | color: #fdf2f8 | <span style="color: #fdf2f8">AaBbCcDd</span>|
|
|
102
|
+
| text-pink-100 | color: #fce7f3 | <span style="color: #fce7f3">AaBbCcDd</span>|
|
|
103
|
+
| text-pink-200 | color: #fbcfe8 | <span style="color: #fbcfe8">AaBbCcDd</span>|
|
|
104
|
+
| text-pink-300 | color: #f9a8d4 | <span style="color: #f9a8d4">AaBbCcDd</span>|
|
|
105
|
+
| text-pink-400 | color: #f472b6 | <span style="color: #f472b6">AaBbCcDd</span>|
|
|
106
|
+
| text-pink-500 | color: #ec4899 | <span style="color: #ec4899">AaBbCcDd</span>|
|
|
107
|
+
| text-pink-600 | color: #db2777 | <span style="color: #db2777">AaBbCcDd</span>|
|
|
108
|
+
| text-pink-700 | color: #be185d | <span style="color: #be185d">AaBbCcDd</span>|
|
|
109
|
+
| text-pink-800 | color: #9d174d | <span style="color: #9d174d">AaBbCcDd</span>|
|
|
110
|
+
| text-pink-900 | color: #831843 | <span style="color: #831843">AaBbCcDd</span>|
|
|
111
|
+
|
|
112
|
+
还有 hover、active、focus、disabled 扩展,比如 `hover:text-black`
|
|
113
|
+
|
|
114
|
+
*/
|
|
115
|
+
@mixin text-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 text-colors-map($color, #{'-' + $name}, $prefix, $suffix);
|
|
124
|
+
} @else if $suffix == '.is-active' {
|
|
125
|
+
#{$prefix}text#{$namePrefix}-#{'' + $name}.is-active,
|
|
126
|
+
#{$prefix}text#{$namePrefix}-#{'' + $name}:active {
|
|
127
|
+
color: $color;
|
|
128
|
+
}
|
|
129
|
+
} @else if $suffix == '.is-disabled' {
|
|
130
|
+
#{$prefix}text#{$namePrefix}-#{'' + $name}.is-disabled,
|
|
131
|
+
#{$prefix}text#{$namePrefix}-#{'' + $name}:disabled {
|
|
132
|
+
color: $color;
|
|
133
|
+
}
|
|
134
|
+
} @else {
|
|
135
|
+
#{$prefix}text#{$namePrefix}-#{'' + $name}#{$suffix} {
|
|
136
|
+
color: $color;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
@mixin text-colors($prefix: '.', $suffix: '') {
|
|
143
|
+
#{$prefix}text-transparent#{$suffix} {
|
|
144
|
+
color: transparent;
|
|
145
|
+
}
|
|
146
|
+
#{$prefix}text-current#{$suffix} {
|
|
147
|
+
color: currentColor;
|
|
148
|
+
}
|
|
149
|
+
@include text-colors-map($colors, '', $prefix, $suffix);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
@include text-colors();
|
|
153
|
+
@include text-colors('.' + selector-escape('hover:'), ':hover');
|
|
154
|
+
@include text-colors('.' + selector-escape('active:'), '.is-active');
|
|
155
|
+
@include text-colors('.' + selector-escape('focus:'), ':focus');
|
|
156
|
+
@include text-colors('.' + selector-escape('disabled:'), '.is-disabled');
|
|
157
|
+
@include text-colors('.group:hover .' + selector-escape('group-hover:'));
|
|
158
|
+
|
|
159
|
+
@each $deivce in map-keys($devices) {
|
|
160
|
+
@include media-device($deivce) {
|
|
161
|
+
@include text-colors('.' + selector-escape($deivce + ':'));
|
|
162
|
+
|
|
163
|
+
@include text-colors(
|
|
164
|
+
'.' + selector-escape($deivce + ':') + selector-escape('hover:'),
|
|
165
|
+
':hover'
|
|
166
|
+
);
|
|
167
|
+
@include text-colors(
|
|
168
|
+
'.' + selector-escape($deivce + ':') + selector-escape('active:'),
|
|
169
|
+
'.is-active'
|
|
170
|
+
);
|
|
171
|
+
@include text-colors(
|
|
172
|
+
'.' + selector-escape($deivce + ':') + selector-escape('focus:'),
|
|
173
|
+
':focus'
|
|
174
|
+
);
|
|
175
|
+
@include text-colors(
|
|
176
|
+
'.' + selector-escape($deivce + ':') + selector-escape('disabled:'),
|
|
177
|
+
'.is-disabled'
|
|
178
|
+
);
|
|
179
|
+
@include text-colors(
|
|
180
|
+
'.group:hover .' + selector-escape($deivce + ':') +
|
|
181
|
+
selector-escape('group-hover:')
|
|
182
|
+
);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/*!markdown
|
|
2
|
+
|
|
3
|
+
---
|
|
4
|
+
title: Text Decoration
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
| Class | Properties |
|
|
8
|
+
| ----------- | ------------------------ |
|
|
9
|
+
| underline | text-decoration: underline |
|
|
10
|
+
| line-through | text-decoration: line-through |
|
|
11
|
+
| no-underline | text-decoration: none |
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
*/
|
|
15
|
+
@mixin make-text-decoration($prefix: '.') {
|
|
16
|
+
#{$prefix}underline {
|
|
17
|
+
text-decoration: underline;
|
|
18
|
+
}
|
|
19
|
+
#{$prefix}line-through {
|
|
20
|
+
text-decoration: line-through;
|
|
21
|
+
}
|
|
22
|
+
#{$prefix}no-underline {
|
|
23
|
+
text-decoration: none;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@include make-text-decoration();
|
|
28
|
+
@each $deivce in map-keys($devices) {
|
|
29
|
+
@include media-device($deivce) {
|
|
30
|
+
@include make-text-decoration('.' + selector-escape($deivce + ':'));
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// hover ?
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Text OverFlow
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
| Class | Properties |
|
|
6
|
+
| ----------- | ------------------------ |
|
|
7
|
+
| truncate | overflow: hidden; text-overflow: ellipsis; white-space: nowrap |
|
|
8
|
+
| overflow-ellipsis | text-overflow: ellipsis |
|
|
9
|
+
| overflow-clip | text-overflow: clip |
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*!markdown
|
|
2
|
+
|
|
3
|
+
---
|
|
4
|
+
title: Text OverFlow
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
| Class | Properties |
|
|
8
|
+
| ----------- | ------------------------ |
|
|
9
|
+
| truncate | overflow: hidden; text-overflow: ellipsis; white-space: nowrap |
|
|
10
|
+
| overflow-ellipsis | text-overflow: ellipsis |
|
|
11
|
+
| overflow-clip | text-overflow: clip |
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
@mixin make-text-overflow($prefix: '.') {
|
|
18
|
+
#{$prefix}truncate {
|
|
19
|
+
overflow: hidden;
|
|
20
|
+
text-overflow: ellipsis;
|
|
21
|
+
white-space: nowrap;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
#{$prefix}overflow-ellipsis {
|
|
25
|
+
text-overflow: ellipsis;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
#{$prefix}overflow-clip {
|
|
29
|
+
text-overflow: clip;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@include make-text-overflow();
|
|
34
|
+
@each $deivce in map-keys($devices) {
|
|
35
|
+
@include media-device($deivce) {
|
|
36
|
+
@include make-text-overflow('.' + selector-escape($deivce + ':'));
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// hover ?
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Text Transform
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
| Class | Properties |
|
|
6
|
+
| ----------- | ------------------------ |
|
|
7
|
+
| uppercase | text-transform: uppercase |
|
|
8
|
+
| lowercase | text-transform: lowercase |
|
|
9
|
+
| capitalize | text-transform: capitalize |
|
|
10
|
+
| normal-case | text-transform: none |
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*!markdown
|
|
2
|
+
|
|
3
|
+
---
|
|
4
|
+
title: Text Transform
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
| Class | Properties |
|
|
8
|
+
| ----------- | ------------------------ |
|
|
9
|
+
| uppercase | text-transform: uppercase |
|
|
10
|
+
| lowercase | text-transform: lowercase |
|
|
11
|
+
| capitalize | text-transform: capitalize |
|
|
12
|
+
| normal-case | text-transform: none |
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
*/
|
|
17
|
+
@mixin make-text-transform($prefix: '.') {
|
|
18
|
+
@each $name,
|
|
19
|
+
$value
|
|
20
|
+
in (
|
|
21
|
+
'uppercase': uppercase,
|
|
22
|
+
'lowercase': lowercase,
|
|
23
|
+
'capitalize': capitalize,
|
|
24
|
+
'normal-case': none
|
|
25
|
+
)
|
|
26
|
+
{
|
|
27
|
+
#{$prefix}#{$name} {
|
|
28
|
+
text-transform: $value;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@include make-text-transform();
|
|
34
|
+
@each $deivce in map-keys($devices) {
|
|
35
|
+
@include media-device($deivce) {
|
|
36
|
+
@include make-text-transform('.' + selector-escape($deivce + ':'));
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// hover ?
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Vertial Align
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
| Class | Properties |
|
|
6
|
+
| ----------- | ------------------------ |
|
|
7
|
+
| align-baseline | vertical-align: baseline |
|
|
8
|
+
| align-top | vertical-align: top |
|
|
9
|
+
| align-middle | vertical-align: middle |
|
|
10
|
+
| align-bottom | vertical-align: bottom |
|
|
11
|
+
| align-text-top | vertical-align: text-top |
|
|
12
|
+
| align-text-bottom | vertical-align: text-bottom |
|