chore(docs): adding lang field for markdowns (#4005)

- Add lang field for all *.md files' frontmatters
This commit is contained in:
jeremywu
2021-10-22 19:32:39 +08:00
committed by GitHub
parent bac9bb604b
commit db976bba68
78 changed files with 280 additions and 5 deletions

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Affix
Fix the element to a specific visible area.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Alert
Displays important alert messages.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Avatar
Avatars can be used to represent people or objects. It supports images, Icons, or characters.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Backtop
A button to back to top

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Badge
A number or status mark on buttons and icons.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Border
We standardize the borders that can be used in buttons, cards, pop-ups and other components.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Breadcrumb
Displays the location of the current page, making it easier to browser back.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Button
Commonly used button.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Calendar
Display date.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Card
Integrate information in a card container.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Carousel
Loop a series of images or texts in a limited space

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Cascader
If the options have a clear hierarchical structure, Cascader can be used to view and select them.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Checkbox
A group of options for multiple choices.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Collapse
Use Collapse to store contents.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# ColorPicker
ColorPicker is a color selector supporting multiple color formats.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Color
Element Plus uses a specific set of palettes to specify colors to provide a consistent look and feel for the products you build.

View File

@@ -1,6 +1,6 @@
---
title: Config Provider
locale: en-US
lang: en-US
---
# Config Provider

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Container
Container components for scaffolding basic structure of the page:

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# DatePicker
Use Date Picker for date input.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# DateTimePicker
Select date and time in one picker.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Descriptions
Display multiple fields in list form.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Dialog
Informs users while preserving the current page state.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Divider
The dividing line that separates the content.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Drawer
Sometimes, `Dialog` does not always satisfy our requirements, let's say you have a massive form, or you need space to display something like `terms & conditions`, `Drawer` has almost identical API with `Dialog`, but it introduces different user experience.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Dropdown
Toggleable menu for displaying lists of links and actions.

View File

@@ -1,4 +1,8 @@
## Empty
---
lang: en-US
---
# Empty
Placeholder hints for empty states.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Form
Form consists of `input`, `radio`, `select`, `checkbox` and so on. With form, you can collect, verify and submit data.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Icon
Element Plus provides a set of common icons.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Image
Besides the native features of img, support lazy load, custom placeholder and load failure, etc.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Infinite Scroll
Load more data while reach bottom of the page

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Input Number
Input numerical values with a customizable range.

View File

@@ -1,4 +1,8 @@
# Input
---
lang: en-US
---
# Input
Input data using mouse or keyboard.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Layout
Quickly and easily create layouts with the basic 24-column.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Link
Text hyperlink

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Loading
Show animation while loading data.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Menu
Menu that provides navigation for your website.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Message Box
A set of modal boxes simulating system message box, mainly for alerting information, confirm operations and prompting messages.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Message
Used to show feedback after an activity. The difference with Notification is that the latter is often used to show a system level passive notification.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Notification
Displays a global notification message at a corner of the page.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Page Header
If path of the page is simple, it is recommended to use PageHeader instead of the Breadcrumb.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Pagination
If you have too much data to display in one page, use pagination.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Popconfirm
A simple confirmation dialog of an element click action.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Popover
## Basic usage

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Progress
Progress is used to show the progress of current operation, and inform the user the current status.

View File

@@ -1,4 +1,8 @@
## Radio
---
lang: en-US
---
# Radio
Single selection among multiple options.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Rate
Used for rating

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Result
Used to give feedback on the result of user's operation or access exception.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Scrollbar
Used to replace the browser's native scrollbar.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# <ElBadge value="beta">Select V2 virtualized selector</ElBadge>
:::tip

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Select
When there are plenty of options, use a drop-down menu to display and select desired ones.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Skeleton
When loading data, and you need a rich experience for visual and interactions for your end users, you can choose `skeleton`.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Slider
Drag the slider within a fixed range.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Space
Even though we have [Divider](/en-US/component/divider), but sometimes we need more than one [Divider](/en-US/component/divider) to split the elements apart, so we stack each elements upon [Divider](/en-US/component/divider), but doing so not only makes our code ugly but also makes it difficult to maintain. **Space** is this kind of component provides us both productivity and elegance.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Steps
Guide the user to complete tasks in accordance with the process. Its steps can be set according to the actual application scenario and the number of the steps can't be less than 2.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Switch
Switch is used for switching between two opposing states.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Table
Display multiple data with similar format. You can sort, filter, compare your data in a table.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Tabs
Divide data collections which are related yet belong to different types.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Tag
Used for marking and selection.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# TimePicker
Use Time Picker for time input.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# TimeSelect
Use Time Select for time input.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Timeline
Visually display timeline.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Tooltip
Display prompt information for mouse hover.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Transfer
## Customizable

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# <ElBadge value="beta">Tree V2 virtualized tree</ElBadge>
Tree view with blazing fast scrolling performance for any amount of data

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Tree
Display a set of data with hierarchies.

View File

@@ -1,4 +1,8 @@
## Typography
---
lang: en-US
---
# Typography
We create a font convention to ensure the best presentation across different platforms.

View File

@@ -1,3 +1,7 @@
---
lang: en-US
---
# Upload
Upload files by clicking or drag-and-drop

View File

@@ -1,5 +1,6 @@
---
title: 'Changelog'
lang: en-US
---
<style scoped lang="scss">

View File

@@ -1,5 +1,6 @@
---
title: Design
lang: en-US
---
<style scoped lang="scss">

View File

@@ -1,5 +1,6 @@
---
title: Internationalization
lang: en-US
---
# Internationalization

View File

@@ -1,5 +1,6 @@
---
title: Installation
lang: en-US
---
# Installation

View File

@@ -1,5 +1,6 @@
---
title: Migration
lang: en-US
---
# Migration

View File

@@ -1,5 +1,6 @@
---
title: Navigation
lang: en-US
---
<style scoped lang="scss">

View File

@@ -1,5 +1,6 @@
---
title: Quick Start
lang: en-US
---
# Quick Start

View File

@@ -1,5 +1,6 @@
---
title: Theming
lang: en-US
---
# Custom theme

View File

@@ -1,5 +1,6 @@
---
title: Built-in Transitions
lang: en-US
---
# Built-in Transition

View File

@@ -1,6 +1,7 @@
---
title: A Desktop UI Toolkit for Web
page: true
lang: en-US
---
<ClientOnly>

View File

@@ -1,5 +1,6 @@
---
page: true
lang: en-US
---
<script setup lang="ts">