diff --git a/.eslintrc.js b/.eslintrc.js index 1ea388f..021b64f 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,19 +1,14 @@ +require('@rushstack/eslint-patch/modern-module-resolution'); module.exports = { root: true, - env: { - node: true - }, extends: [ 'plugin:vue/vue3-essential', 'eslint:recommended', '@vue/eslint-config-prettier' ], - plugins: ['spellcheck'], parserOptions: { - ecmaVersion: 'latest', - sourceType: 'module' - }, - ignorePatterns: ['*.config.js', '/dist/*', 'src/components/datatable/src'], + ecmaVersion: 'latest' +}, rules: { 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off', diff --git a/docs/api/props.md b/docs/api/props.md index f7b5282..8e17de2 100644 --- a/docs/api/props.md +++ b/docs/api/props.md @@ -42,6 +42,20 @@ Component uses customTabs for steps handling. Added default value only for sampl All your next button options can be selected with this prop +#### Default Options: + +```js + { + text: 'Next', + icon: 'arrow-right', + hideText: false, + hideIcon: false, + disabled: false + } +``` + +#### Prop: + ```js nextButton: { type: Object, @@ -55,6 +69,20 @@ All your next button options can be selected with this prop All your back button options can be selected with this prop +#### Default Options: + +```js + { + text: 'Back', + icon: 'arrow-left', + hideText: false, + hideIcon: false, + disabled: false + } +``` + +#### Prop: + ```js backButton: { type: Object, @@ -68,6 +96,20 @@ All your back button options can be selected with this prop All your done button options can be selected with this prop +#### Default Options: + +```js + { + text: 'Done', + icon: 'check', + hideText: false, + hideIcon: false, + disabled: false + } +``` + +#### Prop: + ```js doneButton: { type: Object, @@ -178,3 +220,14 @@ Makes the steps square default: false } ``` + +## showProgress + +Controlling display tab progress lines + +```js + showProgress: { + type: Boolean, + default: true + } +``` diff --git a/index.html b/index.html index 11603f8..eb46c7d 100644 --- a/index.html +++ b/index.html @@ -8,6 +8,6 @@
- +