From 6255c23c1344060cb03d51d333c0d490fb97c6aa Mon Sep 17 00:00:00 2001
From: 07akioni <07akioni2@gmail.com>
Date: Fri, 18 Oct 2019 23:01:36 +0800
Subject: [PATCH 01/24] chore: rename to avoid case sentisitive related issue
---
packages/common/Tree/src/TreeNodeSwitcher.vue | 2 +-
.../{SwitcherIcon.vue => TreeSwitcherIcon.vue} | 0
packages/common/Tree/src/switcherIcon.vue | 17 -----------------
3 files changed, 1 insertion(+), 18 deletions(-)
rename packages/common/Tree/src/{SwitcherIcon.vue => TreeSwitcherIcon.vue} (100%)
delete mode 100644 packages/common/Tree/src/switcherIcon.vue
diff --git a/packages/common/Tree/src/TreeNodeSwitcher.vue b/packages/common/Tree/src/TreeNodeSwitcher.vue
index c2a5b4910..e0896ae68 100644
--- a/packages/common/Tree/src/TreeNodeSwitcher.vue
+++ b/packages/common/Tree/src/TreeNodeSwitcher.vue
@@ -12,7 +12,7 @@
From e8d9fc24cf69d65271ee8323a7ae4bbded08123d Mon Sep 17 00:00:00 2001
From: 07akioni <07akioni2@gmail.com>
Date: Fri, 18 Oct 2019 23:45:23 +0800
Subject: [PATCH 02/24] pref: optimize bundle size of doc
---
build/webpack.private-doc.js | 9 +++++++--
demo/documentation/intro/privateStart.vue.md | 18 ++++++++++++++++++
demo/documentation/intro/start.vue | 15 +++++++++++----
package.json | 3 +++
4 files changed, 39 insertions(+), 6 deletions(-)
create mode 100644 demo/documentation/intro/privateStart.vue.md
diff --git a/build/webpack.private-doc.js b/build/webpack.private-doc.js
index c21ae1f05..5394f6fce 100644
--- a/build/webpack.private-doc.js
+++ b/build/webpack.private-doc.js
@@ -7,9 +7,12 @@ const config = require('./config')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const VueLoaderPlugin = require('vue-loader/lib/plugin')
const ExtractTextPlugin = require('extract-text-webpack-plugin')
+const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin
+const UglifyJsPlugin = require('uglifyjs-webpack-plugin')
+const CompressionPlugin = require('compression-webpack-plugin')
const webpackConfig = {
- mode: 'development',
+ mode: 'production',
entry: './demo/privateIndex.js',
output: {
path: path.resolve(__dirname, '..', 'doc', 'dist'),
@@ -44,7 +47,9 @@ const webpackConfig = {
}
}
}),
- new ExtractTextPlugin('[name].[hash:7].css')
+ new ExtractTextPlugin('[name].[hash:7].css'),
+ new CompressionPlugin()
+ // new BundleAnalyzerPlugin()
]
}
diff --git a/demo/documentation/intro/privateStart.vue.md b/demo/documentation/intro/privateStart.vue.md
new file mode 100644
index 000000000..2c4fe0be7
--- /dev/null
+++ b/demo/documentation/intro/privateStart.vue.md
@@ -0,0 +1,18 @@
+# Getting Started
+
+## Installation
+First install it.
+
+```bash
+npm install --save git+https://github.com/07akioni/naive-ui.git
+```
+
+## Usage
+Add the following lines in you entry point js file.
+
+```js
+import naive from 'naive-ui'
+import 'naive-ui/styles/index.scss'
+
+Vue.use(naive)
+```
\ No newline at end of file
diff --git a/demo/documentation/intro/start.vue b/demo/documentation/intro/start.vue
index 4310f0aa5..533423063 100644
--- a/demo/documentation/intro/start.vue
+++ b/demo/documentation/intro/start.vue
@@ -3,22 +3,29 @@
ref="doc"
class="readme"
>
-
+
+
diff --git a/package.json b/package.json
index d5a8d1c62..32bd260fb 100644
--- a/package.json
+++ b/package.json
@@ -39,6 +39,7 @@
"babel-preset-env": "^1.7.0",
"chai": "^4.2.0",
"codemirror": "^5.47.0",
+ "compression-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^5.0.3",
"cross-env": "^5.2.0",
"css-loader": "^2.1.1",
@@ -81,6 +82,7 @@
"stylelint-config-recommended-scss": "^3.3.0",
"stylelint-scss": "^3.8.0",
"tinycolor2": "^1.4.1",
+ "uglifyjs-webpack-plugin": "^2.2.0",
"url-loader": "^1.1.2",
"vue": "^2.6.10",
"vue-i18n": "^8.14.1",
@@ -88,6 +90,7 @@
"vue-router": "^3.0.6",
"vue-template-compiler": "^2.6.10",
"webpack": "^4.30.0",
+ "webpack-bundle-analyzer": "^3.6.0",
"webpack-cli": "^3.3.2",
"webpack-dev-server": "^3.4.1"
},
From 914ddccfaada949f5b62510678639f3c25e13c13 Mon Sep 17 00:00:00 2001
From: 07akioni <07akioni2@gmail.com>
Date: Sat, 19 Oct 2019 19:52:47 +0800
Subject: [PATCH 03/24] refactor(date-picker): use date-fns rather than moment
---
build/webpack.private-doc.js | 4 +-
.../components/datePicker/enUS/datetime.md | 2 +-
package.json | 9 +-
packages/common/DatePicker/src/main.vue | 168 +++++++++------
.../src/panel/commonCalendarMixin.js | 2 -
packages/common/DatePicker/src/panel/date.vue | 19 +-
.../common/DatePicker/src/panel/daterange.vue | 28 +--
.../common/DatePicker/src/panel/datetime.vue | 21 +-
.../DatePicker/src/panel/datetimerange.vue | 149 +++++++-------
.../DatePicker/src/panel/dualCalendarMixin.js | 90 +++++---
.../DatePicker/src/panel/uniCalendarMixin.js | 194 +++++++++++-------
packages/common/DatePicker/src/utils.js | 74 +++----
packages/common/Scrollbar/src/main.vue | 12 +-
packages/common/TimePicker/src/main.vue | 11 -
packages/mixins/detachable.js | 30 ++-
styles/DatePicker.scss | 2 +-
styles/Input.scss | 3 +-
17 files changed, 465 insertions(+), 353 deletions(-)
diff --git a/build/webpack.private-doc.js b/build/webpack.private-doc.js
index 5394f6fce..2151fadcf 100644
--- a/build/webpack.private-doc.js
+++ b/build/webpack.private-doc.js
@@ -48,8 +48,8 @@ const webpackConfig = {
}
}),
new ExtractTextPlugin('[name].[hash:7].css'),
- new CompressionPlugin()
- // new BundleAnalyzerPlugin()
+ new CompressionPlugin(),
+ new BundleAnalyzerPlugin()
]
}
diff --git a/demo/documentation/components/datePicker/enUS/datetime.md b/demo/documentation/components/datePicker/enUS/datetime.md
index 2e53de563..fc9f814a5 100644
--- a/demo/documentation/components/datePicker/enUS/datetime.md
+++ b/demo/documentation/components/datePicker/enUS/datetime.md
@@ -1,4 +1,4 @@
-# Date
+# Datetime
```html
@@ -18,7 +17,6 @@
diff --git a/demo/demo.vue b/demo/demo.vue
index bcf8b4166..cace06171 100644
--- a/demo/demo.vue
+++ b/demo/demo.vue
@@ -371,18 +371,6 @@ body {
-webkit-text-size-adjust: 100%;
}
-.CodeMirror {
- border: 2px solid #5c657eff;
- height: auto !important;
- z-index: 0;
- border-radius: 8px;
- padding: 8px;
- margin-bottom: 18px;
-}
-.CodeMirror-scroll {
- overflow-y: hidden !important;
- overflow-x: auto !important;
-}
.n-doc {
width: 720px;
margin: 0 auto;
diff --git a/demo/documentation/components/docCodeEditorMixin.js b/demo/documentation/components/docCodeEditorMixin.js
index 6b7f8afda..1f5942319 100644
--- a/demo/documentation/components/docCodeEditorMixin.js
+++ b/demo/documentation/components/docCodeEditorMixin.js
@@ -1,7 +1,3 @@
-import CodeMirror from 'codemirror'
-import 'codemirror/mode/htmlmixed/htmlmixed'
-import 'codemirror/theme/vibrant-ink.css'
-
export default {
mounted () {
const textAreaNotToRender = new Set(this.$refs.doc.querySelectorAll('.not-code textarea'))
@@ -9,11 +5,9 @@ export default {
if (textAreaNotToRender.has(ta)) {
return
}
- CodeMirror.fromTextArea(ta, {
- lineNumbers: false,
- mode: 'htmlmixed',
- theme: 'vibrant-ink'
- })
+ const rows = ta.value.split('\n').length
+ ta.style.width = '100%'
+ ta.setAttribute('rows', rows)
})
}
}
diff --git a/demo/init.js b/demo/init.js
index f3aaa2ee1..e08bff2f8 100644
--- a/demo/init.js
+++ b/demo/init.js
@@ -1,7 +1,6 @@
import Vue from 'vue/dist/vue'
import VueRouter from 'vue-router'
import '../styles/index.scss'
-import 'codemirror/lib/codemirror.css'
import './styles/atom-one-dark-reasonable.scss'
import './styles/atom-one-light.scss'
import './styles/markdown.scss'
diff --git a/doc/NaiveUIDemoLoader.js b/doc/NaiveUIDemoLoader.js
index 64e8b97d1..34003cfff 100644
--- a/doc/NaiveUIDemoLoader.js
+++ b/doc/NaiveUIDemoLoader.js
@@ -1,6 +1,6 @@
// const { getOptions } = require('loader-utils')
// const validateOptions = require('schema-utils')
-const prettier = require('prettier')
+// const prettier = require('prettier')
module.exports = function (content) {
const exampleReg = /([\s\S]*)?/
@@ -13,9 +13,9 @@ module.exports = function (content) {
const script = content.match(scriptReg)[0]
// console.log(styleExample)
styleExample = styleExample === null ? '' : styleExample[1]
- const example = prettier.format((sourceExample + '\n' + script + '\n' + styleExample), {
- parser: 'html',
- printWidth: 80
- }).trim()
- return content.replace(sourceReg, `
`)
+ // const example = prettier.format((sourceExample + '\n' + script + '\n' + styleExample), {
+ // parser: 'html',
+ // printWidth: 80
+ // }).trim()
+ return content.replace(sourceReg, `
`)
}
diff --git a/index.html b/index.html
deleted file mode 100644
index 9ae4a75f9..000000000
--- a/index.html
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
-
2s design
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/package.json b/package.json
index 45ee14851..bb1eee092 100644
--- a/package.json
+++ b/package.json
@@ -38,7 +38,6 @@
"babel-plugin-transform-vue-jsx": "^3.7.0",
"babel-preset-env": "^1.7.0",
"chai": "^4.2.0",
- "codemirror": "^5.47.0",
"compression-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^5.0.3",
"cross-env": "^5.2.0",
@@ -56,7 +55,6 @@
"highlight.js": "^9.15.10",
"html-webpack-plugin": "^3.2.0",
"http-server": "^0.11.1",
- "iview": "^3.4.2",
"jsdom": "^15.1.1",
"karma": "^4.1.0",
"karma-chrome-launcher": "^2.2.0",
@@ -71,7 +69,6 @@
"marked": "^0.7.0",
"memory-fs": "^0.4.1",
"mocha": "^6.1.4",
- "prettier": "^1.18.2",
"prettier-eslint": "^9.0.0",
"progress-bar-webpack-plugin": "^1.12.1",
"regenerator-runtime": "^0.13.2",
@@ -82,7 +79,6 @@
"stylelint-config-recommended-scss": "^3.3.0",
"stylelint-scss": "^3.8.0",
"tinycolor2": "^1.4.1",
- "uglifyjs-webpack-plugin": "^2.2.0",
"url-loader": "^1.1.2",
"vue": "^2.6.10",
"vue-i18n": "^8.14.1",
diff --git a/testColor.js b/playground/testColor.js
similarity index 100%
rename from testColor.js
rename to playground/testColor.js
From ac182ba07f59b0c8b312265a2cc9b00691a5ea61 Mon Sep 17 00:00:00 2001
From: 07akioni <07akioni2@gmail.com>
Date: Mon, 21 Oct 2019 14:49:08 +0800
Subject: [PATCH 13/24] feat(radio): light-theme
---
build/webpack.private-doc.js | 2 -
build/webpack.release.js | 3 +-
.../components/radio/enUS/basic.md | 31 ++
.../components/radio/enUS/buttonGroup.md | 61 ++++
.../components/radio/enUS/group.md | 46 +++
.../components/radio/enUS/index.md | 7 +
.../components/radio/index.entry | 0
.../components/radio/zhCN/index.md | 0
demo/documentation/components/radioDemo.vue | 258 --------------
.../components/scaffoldDemo/index.vue | 32 --
.../components/scaffoldDemo/scaffold.demo.vue | 28 --
demo/init.js | 4 +-
package.json | 1 -
packages/common/Radio/src/RadioButton.vue | 40 ++-
packages/common/Radio/src/RadioGroup.vue | 85 +++--
packages/common/Radio/src/main.vue | 33 +-
styles/Radio.scss | 320 +++++++++---------
styles/themes/dark/components/Radio.scss | 29 ++
styles/themes/dark/index.scss | 2 +
styles/themes/light/components/Radio.scss | 29 ++
styles/themes/light/index.scss | 2 +
think.md | 2 +
22 files changed, 486 insertions(+), 529 deletions(-)
create mode 100644 demo/documentation/components/radio/enUS/basic.md
create mode 100644 demo/documentation/components/radio/enUS/buttonGroup.md
create mode 100644 demo/documentation/components/radio/enUS/group.md
create mode 100644 demo/documentation/components/radio/enUS/index.md
create mode 100644 demo/documentation/components/radio/index.entry
create mode 100644 demo/documentation/components/radio/zhCN/index.md
delete mode 100644 demo/documentation/components/radioDemo.vue
delete mode 100644 demo/documentation/components/scaffoldDemo/index.vue
delete mode 100644 demo/documentation/components/scaffoldDemo/scaffold.demo.vue
create mode 100644 styles/themes/dark/components/Radio.scss
create mode 100644 styles/themes/light/components/Radio.scss
diff --git a/build/webpack.private-doc.js b/build/webpack.private-doc.js
index a8321b927..320278335 100644
--- a/build/webpack.private-doc.js
+++ b/build/webpack.private-doc.js
@@ -8,7 +8,6 @@ const HtmlWebpackPlugin = require('html-webpack-plugin')
const VueLoaderPlugin = require('vue-loader/lib/plugin')
const ExtractTextPlugin = require('extract-text-webpack-plugin')
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin
-const CompressionPlugin = require('compression-webpack-plugin')
const webpackConfig = {
mode: 'production',
@@ -47,7 +46,6 @@ const webpackConfig = {
}
}),
new ExtractTextPlugin('[name].[hash:7].css'),
- new CompressionPlugin(),
new BundleAnalyzerPlugin()
]
}
diff --git a/build/webpack.release.js b/build/webpack.release.js
index 24638048f..6875227a8 100644
--- a/build/webpack.release.js
+++ b/build/webpack.release.js
@@ -63,10 +63,9 @@ const webpackConfig = {
]
},
plugins: [
- new webpack.HotModuleReplacementPlugin(),
new HtmlWebpackPlugin({
template: './demo/index.tpl',
- filename: './index.html'
+ favicon: './demo/assets/images/naivelogo.png'
}),
new VueLoaderPlugin(),
new webpack.LoaderOptionsPlugin({
diff --git a/demo/documentation/components/radio/enUS/basic.md b/demo/documentation/components/radio/enUS/basic.md
new file mode 100644
index 000000000..e5c9735aa
--- /dev/null
+++ b/demo/documentation/components/radio/enUS/basic.md
@@ -0,0 +1,31 @@
+# Basic
+```html
+
+ Definitely Maybe
+
+
+ Be Here Now
+
+
+ Be Here Now
+
+```
+```js
+export default {
+ data () {
+ return {
+ value: null
+ }
+ }
+}
+```
\ No newline at end of file
diff --git a/demo/documentation/components/radio/enUS/buttonGroup.md b/demo/documentation/components/radio/enUS/buttonGroup.md
new file mode 100644
index 000000000..df822cf2b
--- /dev/null
+++ b/demo/documentation/components/radio/enUS/buttonGroup.md
@@ -0,0 +1,61 @@
+# Button Group
+```html
+
+
+ {{ song.label }}
+
+
+
+
+ disable Shakemaker
+
+
+ disable Live Forever
+
+```
+```js
+export default {
+ data () {
+ return {
+ value: null,
+ disabled2: false,
+ disabled1: false,
+ songs: [
+ {
+ value: 'Rock\'n\'Roll Star',
+ label: 'Rock\'n\'Roll Star'
+ },
+ {
+ value: 'Shakermaker',
+ label: 'Shakermaker'
+ },
+ {
+ value: 'Live Forever',
+ label: 'Live Forever'
+ },
+ {
+ value: 'Up in the Sky',
+ label: 'Up in the Sky'
+ },
+ {
+ value: '...',
+ label: '...'
+ }
+ ].map(s => {
+ s.value = s.value.toLowerCase()
+ return s
+ })
+ }
+ }
+}
+```
\ No newline at end of file
diff --git a/demo/documentation/components/radio/enUS/group.md b/demo/documentation/components/radio/enUS/group.md
new file mode 100644
index 000000000..8a2aa9422
--- /dev/null
+++ b/demo/documentation/components/radio/enUS/group.md
@@ -0,0 +1,46 @@
+# Group
+```html
+
+
+ {{ song.label }}
+
+
+```
+```js
+export default {
+ data () {
+ return {
+ value: null,
+ songs: [
+ {
+ value: 'Rock\'n\'Roll Star',
+ label: 'Rock\'n\'Roll Star'
+ },
+ {
+ value: 'Shakermaker',
+ label: 'Shakermaker'
+ },
+ {
+ value: 'Live Forever',
+ label: 'Live Forever'
+ },
+ {
+ value: 'Up in the Sky',
+ label: 'Up in the Sky'
+ },
+ {
+ value: '...',
+ label: '...'
+ }
+ ].map(s => {
+ s.value = s.value.toLowerCase()
+ return s
+ })
+ }
+ }
+}
+```
\ No newline at end of file
diff --git a/demo/documentation/components/radio/enUS/index.md b/demo/documentation/components/radio/enUS/index.md
new file mode 100644
index 000000000..d29ad7edb
--- /dev/null
+++ b/demo/documentation/components/radio/enUS/index.md
@@ -0,0 +1,7 @@
+# Radio
+
+```demo
+basic
+group
+button-group
+```
\ No newline at end of file
diff --git a/demo/documentation/components/radio/index.entry b/demo/documentation/components/radio/index.entry
new file mode 100644
index 000000000..e69de29bb
diff --git a/demo/documentation/components/radio/zhCN/index.md b/demo/documentation/components/radio/zhCN/index.md
new file mode 100644
index 000000000..e69de29bb
diff --git a/demo/documentation/components/radioDemo.vue b/demo/documentation/components/radioDemo.vue
deleted file mode 100644
index 13955bdd2..000000000
--- a/demo/documentation/components/radioDemo.vue
+++ /dev/null
@@ -1,258 +0,0 @@
-
-
-
-
-
-
-
-
- Definitely Maybe
-
-
- Be Here Now
-
-
- Be Here Now
-
-
-
value: {{ JSON.stringify(value1) }}
-
-
-
-
-
-
-
-
-
- {{ song.label }}
-
-
-
-
value: {{ JSON.stringify(value2) }}
-
-
-
-
-
-
-
-
-
- {{ song.label }}
-
-
-
-
-
- disable Shakemaker
-
-
- disable Live Forever
-
-
-
value: {{ JSON.stringify(value3) }}
-
-
-
-
-
-
-
-
-
diff --git a/demo/documentation/components/scaffoldDemo/index.vue b/demo/documentation/components/scaffoldDemo/index.vue
deleted file mode 100644
index 6a8482475..000000000
--- a/demo/documentation/components/scaffoldDemo/index.vue
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
-
diff --git a/demo/documentation/components/scaffoldDemo/scaffold.demo.vue b/demo/documentation/components/scaffoldDemo/scaffold.demo.vue
deleted file mode 100644
index 691ddb5f8..000000000
--- a/demo/documentation/components/scaffoldDemo/scaffold.demo.vue
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
-
-
-
- Write some demo here
-
-
-
Inspect some value here
-
-
-
-
-
-
-
diff --git a/demo/init.js b/demo/init.js
index e08bff2f8..818abaa91 100644
--- a/demo/init.js
+++ b/demo/init.js
@@ -35,7 +35,7 @@ import alert from './documentation/components/alert'
import datePicker from './documentation/components/datePicker'
import inputNumberDemo from './documentation/components/inputNumberDemo'
import nimbusIconDemo from './documentation/components/nimbusIconDemo'
-import radioDemo from './documentation/components/radioDemo'
+import radio from './documentation/components/radio'
import formDemo from './documentation/components/formDemo'
import tabsDemo from './documentation/components/tabsDemo'
import timePicker from './documentation/components/timePicker'
@@ -155,7 +155,7 @@ const routes = [
{ path: '/n-date-picker', component: datePicker },
{ path: '/n-input-number', component: inputNumberDemo },
{ path: '/n-nimbus-icon', component: nimbusIconDemo },
- { path: '/n-radio', component: radioDemo },
+ { path: '/n-radio', component: radio },
{ path: '/n-form', component: formDemo },
{ path: '/n-tabs', component: tabsDemo },
{ path: '/n-time-picker', component: timePicker },
diff --git a/package.json b/package.json
index bb1eee092..0bc85c76e 100644
--- a/package.json
+++ b/package.json
@@ -38,7 +38,6 @@
"babel-plugin-transform-vue-jsx": "^3.7.0",
"babel-preset-env": "^1.7.0",
"chai": "^4.2.0",
- "compression-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^5.0.3",
"cross-env": "^5.2.0",
"css-loader": "^2.1.1",
diff --git a/packages/common/Radio/src/RadioButton.vue b/packages/common/Radio/src/RadioButton.vue
index 8086e9642..70a85a494 100644
--- a/packages/common/Radio/src/RadioButton.vue
+++ b/packages/common/Radio/src/RadioButton.vue
@@ -4,19 +4,14 @@
:class="{
'n-radio-button--disabled': disabled,
'n-radio-button--checked': checked,
-
+ 'simulate-hollow-out-text': shouldSimulateHollowOutText
}"
+ :tabindex="disabled ? -1 : 0"
+ @keyup.enter="handleKeyUpEnter"
@click="handleClick"
>
-
-
-
+
@@ -27,6 +22,11 @@ export default {
prop: 'privateValue',
event: 'input'
},
+ inject: {
+ NRadioGroup: {
+ default: null
+ }
+ },
props: {
value: {
type: [Boolean, String, Number],
@@ -42,14 +42,34 @@ export default {
}
},
computed: {
+ shouldSimulateHollowOutText () {
+ return this.checked && (this.NRadioGroup.synthesizedTheme === 'dark')
+ },
checked () {
- return this.privateValue === this.value
+ if (this.NRadioGroup) {
+ return this.NRadioGroup.value === this.value
+ } else {
+ return this.privateValue === this.value
+ }
}
},
methods: {
+ handleKeyUpEnter () {
+ this.toggle()
+ },
handleClick () {
+ this.toggle()
+ },
+ toggle () {
if (this.disabled) return
if (this.privateValue !== this.value) {
+ this.emitValue(this.value)
+ }
+ },
+ emitValue () {
+ if (this.NRadioGroup) {
+ this.NRadioGroup.$emit('input', this.value)
+ } else {
this.$emit('input', this.value)
}
}
diff --git a/packages/common/Radio/src/RadioGroup.vue b/packages/common/Radio/src/RadioGroup.vue
index b6dea8e6c..42516eb7c 100644
--- a/packages/common/Radio/src/RadioGroup.vue
+++ b/packages/common/Radio/src/RadioGroup.vue
@@ -1,26 +1,27 @@
diff --git a/demo/documentation/components/time/enUS/basic.md b/demo/documentation/components/time/enUS/basic.md
new file mode 100644
index 000000000..585d0f63e
--- /dev/null
+++ b/demo/documentation/components/time/enUS/basic.md
@@ -0,0 +1,15 @@
+# Basic
+```html
+