diff --git a/docs/.vuepress/components/Sandbox.vue b/docs/.vuepress/components/Sandbox.vue deleted file mode 100644 index 7e7126c..0000000 --- a/docs/.vuepress/components/Sandbox.vue +++ /dev/null @@ -1,281 +0,0 @@ - - - - - - Use the controls below to adjust the props used - by the vue-select components. - The API provides - more props than are shown here, these are some - commonly adjusted settings. - - - Basic Features - - - - - :multiple="{{ configuration.multiple ? 'true' : 'false' }}" - - - - - - - :disabled="{{ configuration.disabled ? 'true' : 'false' }}" - - - - - - - :clearable="{{ configuration.clearable ? 'true' : 'false' }}" - - - - - - - :searchable="{{ configuration.searchable ? 'true' : 'false' }}" - - - - - - - :filterable="{{ configuration.searchable ? 'true' : 'false' }}" - - - - Tagging - - - - - :taggable="{{ configuration.taggable ? 'true' : 'false' }}" - - - - - - - :no-drop="{{ configuration.noDrop ? 'true' : 'false' }}" - - - - - - - :push-tags="{{ configuration.pushTags ? 'true' : 'false' }}" - - - - UX - - - - - :select-on-tab="{{ configuration.selectOnTab ? 'true' : 'false' }}" - - - - - - - :close-on-select="{{ configuration.closeOnSelect ? 'true' : 'false' }}" - - - - Localization / i18n - - - - - dir="rtl" - - - - dir="ltr" - - - - - - - - - - - - - - {{ label }} -- {{ value }} - - - {{ label }} ({{ value }}) - - - - - - - - {{ label }} - - - {{ label }} - - - - - - - - - - - - {{ option.title }} - {{ `${option.author.firstName} ${option.author.lastName}` }} - - - - - - - - - - - - - - - - - - - - diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 9f9163e..85681d6 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -21,7 +21,6 @@ let head = [ rel: 'stylesheet', type: 'text/css', }], - ['link', {rel: 'icon', href: `/vue-logo.png`}], ['meta', {name: 'theme-color', content: '#3eaf7c'}], ['meta', {name: 'apple-mobile-web-app-capable', content: 'yes'}], ['meta', {name: 'apple-mobile-web-app-status-bar-style', content: 'black'}], diff --git a/docs/.vuepress/theme/components/Sandbox.vue b/docs/.vuepress/theme/components/Sandbox.vue new file mode 100644 index 0000000..e0fcfc2 --- /dev/null +++ b/docs/.vuepress/theme/components/Sandbox.vue @@ -0,0 +1,236 @@ + + + + + + + + + + {{ config.title }} + + + + :{{ config.prop }}="{{ props[config.prop] ? 'true' : 'false' }}" + + + + + Localization / i18n + + + + + dir="rtl" + + + + dir="ltr" + + + + + + + + + + + + + + + {{ label }} -- {{ value }} + + + {{ label }} ({{ value }}) + + + + + + + + {{ label }} + + + {{ label }} + + + + + + + + + + + + {{ option.title }} + {{ `${option.author.firstName} ${option.author.lastName}` }} + + + + + + + + + + + + + + + + + + + + diff --git a/docs/.vuepress/theme/layouts/Layout.vue b/docs/.vuepress/theme/layouts/Layout.vue index cf3d264..f360d80 100644 --- a/docs/.vuepress/theme/layouts/Layout.vue +++ b/docs/.vuepress/theme/layouts/Layout.vue @@ -1,19 +1,31 @@ - + +
Use the controls below to adjust the props used - by the vue-select components.
The API provides - more props than are shown here, these are some - commonly adjusted settings.
:multiple="{{ configuration.multiple ? 'true' : 'false' }}"
:disabled="{{ configuration.disabled ? 'true' : 'false' }}"
:clearable="{{ configuration.clearable ? 'true' : 'false' }}"
:searchable="{{ configuration.searchable ? 'true' : 'false' }}"
:filterable="{{ configuration.searchable ? 'true' : 'false' }}"
:taggable="{{ configuration.taggable ? 'true' : 'false' }}"
:no-drop="{{ configuration.noDrop ? 'true' : 'false' }}"
:push-tags="{{ configuration.pushTags ? 'true' : 'false' }}"
:select-on-tab="{{ configuration.selectOnTab ? 'true' : 'false' }}"
:close-on-select="{{ configuration.closeOnSelect ? 'true' : 'false' }}"
dir="rtl"
dir="ltr"
:{{ config.prop }}="{{ props[config.prop] ? 'true' : 'false' }}"