Skip to content

Commit

Permalink
build: update docs deps
Browse files Browse the repository at this point in the history
  • Loading branch information
daief committed Jun 23, 2023
1 parent dac921e commit 284c03a
Show file tree
Hide file tree
Showing 15 changed files with 3,211 additions and 1,453 deletions.
55 changes: 0 additions & 55 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,61 +94,6 @@ export function render() {
- [x] refine theme usage
- [ ] inline-block(radio, checkbox, toggle) vertical-align

## Components

- [x] alert
- [x] artboard
- [x] avatar
- [x] badge
- [x] breadcrumb
- [x] button
- [x] button-group
- [x] card
- [ ] carousel
- [ ] collapse
- [x] counter 🆕 new
- [x] divider
- [x] drawer - 🛠 refactor
- [x] dropdown - 🛠 refactor(popper inside)
- [ ] widgets 🆕 new
- [x] element
- [ ] footer
- [ ] hero
- [x] icon - 🛠 [xicons](https://github.com/07akioni/xicons)
- [x] indicator
- [x] input
- [x] kbd
- [x] link
- [x] mask
- [x] menu
- [x] modal
- [x] navbar
- [x] pagination
- [x] progress
- [x] radial progress
- [x] popper - 🆕 new
- [x] space - 🆕 new
- [x] swap - 🛠 refactor
- [ ] stack
- [ ] stat
- [ ] steps
- [x] tab
- [x] table
- [x] toggle
- [x] tooltip - 🛠 refactor
- [x] form-checkbox
- [x] checkbox-group
- [x] form-input
- [x] form-radio
- [x] radio-group
- [ ] form-range
- [ ] form-select
- [x] form-textarea
- [ ] form-toggle
- [ ] mockup-code
- [ ] mockup-phone
- [ ] mockup-window

## Naming Rules

- event handler name, `onNameAction`: onMaskClick、onEscKeyDown
Expand Down
53 changes: 53 additions & 0 deletions docs/components.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
/* eslint-disable */
/* prettier-ignore */
// @ts-nocheck
// Generated by unplugin-vue-components
// Read more: https://github.com/vuejs/core/pull/3399
export {}

declare module 'vue' {
export interface GlobalComponents {
ChtmlCavvfffdxwazdwwcfuzxxexvuuyewyvaxffbbxywy: typeof import('./src/.demo/ChtmlCavvfffdxwazdwwcfuzxxexvuuyewyvaxffbbxywy.vue')['default']
ChtmlCdawwwxxyvvxdyadvyyyxdcbybbtxvfzxvuxtdwbf: typeof import('./src/.demo/ChtmlCdawwwxxyvvxdyadvyyyxdcbybbtxvfzxvuxtdwbf.vue')['default']
ChtmlCuetyxdxwtxfwzwvexyvxvetbyccxwxyaexxxawva: typeof import('./src/.demo/ChtmlCuetyxdxwtxfwzwvexyvxvetbyccxwxyaexxxawva.vue')['default']
ChtmlCwwfwfvyvwuxdwzzfvfywyxxcaxdfcbzvbabxfayy: typeof import('./src/.demo/ChtmlCwwfwfvyvwuxdwzzfvfywyxxcaxdfcbzvbabxfayy.vue')['default']
ChtmlCyuuztecbbxxyzcutwyefbdwvzfzdbccxctfyyfuy: typeof import('./src/.demo/ChtmlCyuuztecbbxxyzcutwyefbdwvzfzdbccxctfyyfuy.vue')['default']
ChtmlCyyadxbzzefxeuuaxteauvwzzwvwatuzfaffcwcwx: typeof import('./src/.demo/ChtmlCyyadxbzzefxeuuaxteauvwzzwvwatuzfaffcwcwx.vue')['default']
CtsxCaetycwyxwyzfwvbbbwvfxwtyzuxexcvbftayfxzc: typeof import('./src/.demo/CtsxCaetycwyxwyzfwvbbbwvfxwtyzuxexcvbftayfxzc')['default']
CtsxCayzydxufuwcubxeyefaedubfywtxztdywvvbexzw: typeof import('./src/.demo/CtsxCayzydxufuwcubxeyefaedubfywtxztdywvvbexzw')['default']
CtsxCbeywwybdwfxbwfdxbzdxxweaaawyfccwatyxyadc: typeof import('./src/.demo/CtsxCbeywwybdwfxbwfdxbzdxxweaaawyfccwatyxyadc')['default']
CtsxCcuefwdxeaccczbfyzbeycywtuwbwwwwydyxzabea: typeof import('./src/.demo/CtsxCcuefwdxeaccczbfyzbeycywtuwbwwwwydyxzabea')['default']
CtsxCcuzvtweweveyeyabcwfzwtzytxttxcczuxxyxcwx: typeof import('./src/.demo/CtsxCcuzvtweweveyeyabcwfzwtzytxttxcczuxxyxcwx')['default']
CtsxCdxeweawvyuuawfcudyxtdxxzweetcufwfexwvcua: typeof import('./src/.demo/CtsxCdxeweawvyuuawfcudyxtdxxzweetcufwfexwvcua')['default']
CtsxCdyddwuwceddbwuffewtfzywxwwytuxfxtxzdwyay: typeof import('./src/.demo/CtsxCdyddwuwceddbwuffewtfzywxwwytuxfxtxzdwyay')['default']
CtsxCeywvwxevtexwbtfyytzawycyxwweaaaywxawyuuy: typeof import('./src/.demo/CtsxCeywvwxevtexwbtfyytzawycyxwweaaaywxawyuuy')['default']
CtsxCezxzbdbcbdwtvwdfxyaxewufuxafwwuwwtddtxua: typeof import('./src/.demo/CtsxCezxzbdbcbdwtvwdfxyaxewufuxafwwuwwtddtxua')['default']
CtsxCffwtvxetwvybtwfwwvyeyxbwxbwwcxxxuyyuexux: typeof import('./src/.demo/CtsxCffwtvxetwvybtwfwwvyeyxbwxbwwcxxxuyyuexux')['default']
CtsxCtayyyxuwwefdzdvywybuzuvbaxywedvwyvwbytzx: typeof import('./src/.demo/CtsxCtayyyxuwwefdzdvywybuzuvbaxywedvwyvwbytzx')['default']
CtsxCubbbdxcfwcvvyaxxexwyfayxxxyzduxzxwzyyvzt: typeof import('./src/.demo/CtsxCubbbdxcfwcvvyaxxexwyfayxxxyzduxzxwzyyvzt')['default']
CtsxCuutvtwfyvyxcdtzcyzyxubzwwxxtvwwvzydxycct: typeof import('./src/.demo/CtsxCuutvtwfyvyxcdtzcyzyxubzwwxxtvwwvzydxycct')['default']
CtsxCuvczfbeeadvxyuybbxzzydaudffcxtxvwvxbetyz: typeof import('./src/.demo/CtsxCuvczfbeeadvxyuybbxzzydaudffcxtxvwvxbetyz')['default']
CtsxCuywfzyewywvfbuuutyzuwyzwbdfeybatavfbdfeb: typeof import('./src/.demo/CtsxCuywfzyewywvfbuuutyzuwyzwbdfeybatavfbdfeb')['default']
CtsxCvbwtdyfbxbefvwbtyfuywyeawwcdbuwwducbyyzy: typeof import('./src/.demo/CtsxCvbwtdyfbxbefvwbtyfuywyeawwcdbuwwducbyyzy')['default']
CtsxCwtzbyaxeyeueywwwaddddcxddtyatvwvzywbxzww: typeof import('./src/.demo/CtsxCwtzbyaxeyeueywwwaddddcxddtyatvwvzywbxzww')['default']
CtsxCxaxdxzxdyxdweytxwduyxwvwxzytceavytyxwwet: typeof import('./src/.demo/CtsxCxaxdxzxdyxdweytxwduyxwvwxzytceavytyxwwet')['default']
CtsxCxazduyxxvxzwzdvatactduwdefxdyaacvabywuxw: typeof import('./src/.demo/CtsxCxazduyxxvxzwzdvatactduwdefxdyaacvabywuxw')['default']
CtsxCxcwbyvxedyyuveffyfxewuvczcdwdyeffwwybywd: typeof import('./src/.demo/CtsxCxcwbyvxedyyuveffyfxewuvczcdwdyeffwwybywd')['default']
CtsxCxuvuwtwyyyuczuaeaubywzwtzzwbewxwftazcawd: typeof import('./src/.demo/CtsxCxuvuwtwyyyuczuaeaubywzwtzzwbewxwftazcawd')['default']
CtsxCxwtxedceaedbzyvwfzebebyfxbxyytedxyevztuy: typeof import('./src/.demo/CtsxCxwtxedceaedbzyvwfzebebyfxbxyytedxyevztuy')['default']
CtsxCxxfwwxxtuwwvtdwawfbwvwxyafzwvctxxvwywfyb: typeof import('./src/.demo/CtsxCxxfwwxxtuwwvtdwawfbwvwxyafzwvctxxvwywfyb')['default']
CtsxCxyzeytxztaufywatexdwayyebuyuuyzxwwxyuwvz: typeof import('./src/.demo/CtsxCxyzeytxztaufywatexdwayyebuyuuyzxwwxyuwvz')['default']
CtsxCyavdxwdvzxyvxwyzxwyzcxtaufxdwxvwdczdaxfe: typeof import('./src/.demo/CtsxCyavdxwdvzxyvxwyzxwyzcxtaufxdwxvwdczdaxfe')['default']
CtsxCybdbvfxawvywdyvwubuwyccbefbefywtecwuuxax: typeof import('./src/.demo/CtsxCybdbvfxawvywdyvwubuwyccbefbefywtecwuuxax')['default']
CtsxCytwyaybwxzvtcccbeuaybawxyctyfuzuvyfaexyt: typeof import('./src/.demo/CtsxCytwyaybwxzvtcccbeuaybawxyctyfuzuvyfaexyt')['default']
CtsxCyvbecdfxwyxuyefexayduxtavzbcyxedtaxwyzyt: typeof import('./src/.demo/CtsxCyvbecdfxwyxuyefexayduxtavzbcyxedtaxwyzyt')['default']
CtsxCyvtzycbacdxewvcvxcxcytxyayeyzvftttwtfxwu: typeof import('./src/.demo/CtsxCyvtzycbacdxewvcvxcxcytxyayeyzvftttwtfxwu')['default']
CtsxCywdyxtydtczyvexueywyxfyfadazawvfbvyaebwu: typeof import('./src/.demo/CtsxCywdyxtydtczyvexueywyxfyfadazawvfbvyaebwu')['default']
CtsxCywvwazxyvyfabctbtdcexadwadzyyawbyffuvyvb: typeof import('./src/.demo/CtsxCywvwazxyvyfabctbtdcexadwadzyyawbyffuvyvb')['default']
CtsxCyzyvxxybydyxaawyaeyxwcyefvwyuewwfwvwdtuy: typeof import('./src/.demo/CtsxCyzyvxxybydyxaawyaeyxwcyefvwyuewwfwvwdtuy')['default']
CtsxCzxdxwvdtyafwfcbxyxwxxfxyebcwcuafzwyfzdyy: typeof import('./src/.demo/CtsxCzxdxwvdtyafwfcbxyxwxxfxyebcwcuafzwyfzdyy')['default']
CtsxCzxxftcaubwwvutbywadxbwcyvxbuwyuxfxefcfyx: typeof import('./src/.demo/CtsxCzxxftcaubwwvutbywadxbwcyvxbuwyuxfxefcfyx')['default']
RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView']
}
}
28 changes: 15 additions & 13 deletions docs/package.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,42 @@
{
"name": "docs",
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite-ssg build",
"serve": "vite preview"
},
"dependencies": {
"@unhead/vue": "^1.1.27",
"@vueuse/head": "^1.1.26",
"@vicons/fluent": "^0.12.0",
"vue": "3.2.26"
},
"devDependencies": {
"@types/fs-extra": "^9.0.13",
"@types/markdown-it": "^12.2.3",
"@vitejs/plugin-vue": "^2.2.4",
"@vitejs/plugin-vue-jsx": "^1.3.0",
"@vitejs/plugin-vue": "^4.2.3",
"@vitejs/plugin-vue-jsx": "^3.0.1",
"@vue/compiler-sfc": "3.2.26",
"@vue/server-renderer": "3.2.26",
"@vueuse/head": "^0.6.0",
"autoprefixer": "^10.3.6",
"cross-env": "^7.0.3",
"fs-extra": "^10.0.1",
"highlight.js": "^11.2.0",
"html-escaper": "^3.0.3",
"postcss": "^8.0.0",
"tailwindcss": "^3.0.0",
"unplugin-vue-components": "^0.15.4",
"vite": "^2.8.6",
"vite-plugin-components": "^0.13.3",
"vite-plugin-md": "^0.11.9",
"vite-plugin-pages": "^0.18.1",
"vite-plugin-pwa": "^0.11.2",
"vite-ssg": "0.19.0",
"postcss": "^8.4.0",
"tailwindcss": "^3.3.2",
"unplugin-vue-components": "^0.25.1",
"vite": "^4.3.9",
"vite-plugin-md": "^0.21.5",
"vite-plugin-pages": "^0.31.0",
"vite-plugin-pwa": "^0.16.4",
"vite-plugin-vue-markdown": "^0.23.5",
"vite-ssg": "^0.22.2",
"vue-router": "^4.0.14"
},
"engines": {
"node": ">=14.0.0"
"node": ">=18.0.0"
}
}
File renamed without changes.
1 change: 0 additions & 1 deletion docs/src/@types/global.d.ts
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
declare module 'virtual:generated-pages';
2 changes: 2 additions & 0 deletions docs/src/@types/vue.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/// <reference types="vite-plugin-pages/client" />

declare module '*.vue' {
import { defineComponent } from 'vue';
const Component: ReturnType<typeof defineComponent>;
Expand Down
3 changes: 1 addition & 2 deletions docs/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ import {
} from 'daisyui-vue';
import { RouteRecordNormalized, RouterLink, useRoute } from 'vue-router';
import { isBrowser } from './utils/index';
// @ts-ignore
import routes from 'virtual:generated-pages';
import routes from '~pages';
const DOC_THEMT_CACHE_KEY = '__DOCUMENT_THEME__';
Expand Down
12 changes: 12 additions & 0 deletions docs/src/components/app/app-menu.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<script lang="tsx">
import { defineComponent } from 'vue';
export default defineComponent({
name: 'AppMenu',
setup: () => {
return () => <div></div>;
},
});
</script>

<style scoped lang="less"></style>
3 changes: 1 addition & 2 deletions docs/src/pages/components/card.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ glass card
side
image="https://placeimg.com/400/225/arch"
title="Glass"
description="Rerum reiciendis beatae tenetur excepturi aut pariatur est eos. Sit sit
necessitatibus veritatis sed molestiae voluptates incidunt iure sapiente."
description="Rerum reiciendis beatae tenetur excepturi aut pariatur est eos. Sit sit necessitatibus veritatis sed molestiae voluptates incidunt iure sapiente."
>
<dv-card-image class="p-6">
<img class="rounded-2xl" src="https://placeimg.com/400/225/arch" />
Expand Down
6 changes: 6 additions & 0 deletions docs/src/pages/components/join.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<route lang="yml">
meta:
category: layout
</route>

11
File renamed without changes.
6 changes: 4 additions & 2 deletions docs/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { UserConfig } from 'vite';
import Pages from 'vite-plugin-pages';
import Markdown from 'vite-plugin-md';
// import Markdown from 'vite-plugin-md';
import Markdown from 'vite-plugin-vue-markdown';
// import { VitePWA } from 'vite-plugin-pwa';
import Vue from '@vitejs/plugin-vue';
import vueJsx from '@vitejs/plugin-vue-jsx';
Expand Down Expand Up @@ -48,8 +49,8 @@ const wrap = (render) =>
const config: UserConfig = {
base: '/daisyui-vue/',
plugins: [
// @ts-ignore
{
name: 'pre_transformIndexHtml',
enforce: 'pre',
transformIndexHtml: (html) => {
return html.replace(
Expand Down Expand Up @@ -337,6 +338,7 @@ const config: UserConfig = {
},
build: {},
server: {
port: 3000,
fs: {
strict: false,
},
Expand Down
2 changes: 1 addition & 1 deletion packages/develop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"rollup-plugin-postcss": "^4.0.1",
"rollup-plugin-typescript2": "^0.34.0",
"standard-version": "^9.3.2",
"tailwindcss": "^3.0.0",
"tailwindcss": "^3.3.2",
"ts-node": "^10.9.1",
"tslib": "^2.4.0",
"typescript": "^4.8.2",
Expand Down
Loading

0 comments on commit 284c03a

Please sign in to comment.