Skip to content

Commit

Permalink
docs(docs): add sku doc
Browse files Browse the repository at this point in the history
  • Loading branch information
lixiaofa committed Aug 24, 2023
1 parent 3a37776 commit 244028e
Show file tree
Hide file tree
Showing 7 changed files with 2,885 additions and 988 deletions.
82 changes: 41 additions & 41 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"vue": "^3.2.47"
},
"dependencies": {
"@element-plus/icons-vue": "^2.0.6",
"@element-plus/icons-vue": "^2.1.0",
"@fast-plus/components": "workspace:*",
"@fast-plus/constants": "workspace:*",
"@fast-plus/directives": "workspace:*",
Expand All @@ -53,73 +53,73 @@
"@fast-plus/test-utils": "workspace:*",
"@fast-plus/theme-chalk": "workspace:*",
"@fast-plus/utils": "workspace:*",
"@floating-ui/dom": "^1.0.1",
"@floating-ui/dom": "^1.5.1",
"@popperjs/core": "npm:@sxzz/popperjs-es@^2.11.7",
"@types/lodash": "^4.14.182",
"@types/lodash-es": "^4.17.6",
"@vueuse/core": "^9.1.0",
"@types/lodash": "^4.14.197",
"@types/lodash-es": "^4.17.8",
"@vueuse/core": "^9.13.0",
"async-validator": "^4.2.5",
"dayjs": "^1.11.3",
"element-plus": "^2.3.6",
"dayjs": "^1.11.9",
"element-plus": "^2.3.9",
"escape-html": "^1.0.3",
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
"lodash-unified": "^1.0.2",
"lodash-unified": "^1.0.3",
"memoize-one": "^6.0.0",
"normalize-wheel-es": "^1.2.0"
},
"devDependencies": {
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@esbuild-kit/cjs-loader": "^2.4.2",
"@fast-plus/build": "workspace:^0.0.1",
"@fast-plus/build-utils": "workspace:^0.0.1",
"@fast-plus/build": "workspace:^",
"@fast-plus/build-utils": "workspace:^",
"@fast-plus/eslint-config": "workspace:*",
"@pnpm/find-workspace-packages": "^4.0.16",
"@pnpm/find-workspace-packages": "^4.0.43",
"@pnpm/logger": "^4.0.0",
"@pnpm/types": "^8.4.0",
"@pnpm/types": "^8.10.0",
"@types/fs-extra": "^9.0.13",
"@types/gulp": "^4.0.9",
"@types/jsdom": "^16.2.14",
"@types/node": "*",
"@types/sass": "^1.43.1",
"@vitejs/plugin-vue": "^2.3.3",
"@types/gulp": "^4.0.13",
"@types/jsdom": "^16.2.15",
"@types/node": "^20.5.4",
"@types/sass": "^1.45.0",
"@vitejs/plugin-vue": "^2.3.4",
"@vitejs/plugin-vue-jsx": "^1.3.10",
"@vitest/coverage-v8": "^0.32.2",
"@vitest/coverage-v8": "^0.32.4",
"@vitest/ui": "0.16.0",
"@vue/test-utils": "^2.0.0",
"@vue/test-utils": "^2.4.1",
"@vue/tsconfig": "^0.1.3",
"c8": "^7.11.3",
"chalk": "^5.0.1",
"concurrently": "^7.2.2",
"c8": "^7.14.0",
"chalk": "^5.3.0",
"concurrently": "^7.6.0",
"consola": "^2.15.3",
"csstype": "^2.6.20",
"cz-git": "^1.3.8",
"czg": "^1.3.8",
"eslint": "^8.18.0",
"eslint-define-config": "^1.5.1",
"csstype": "^2.6.21",
"cz-git": "^1.7.1",
"czg": "^1.7.1",
"eslint": "^8.47.0",
"eslint-define-config": "^1.23.0",
"expect-type": "^0.13.0",
"fast-glob": "^3.2.11",
"husky": "^8.0.1",
"fast-glob": "^3.3.1",
"husky": "^8.0.3",
"jsdom": "16.4.0",
"lint-staged": "^13.0.3",
"lint-staged": "^13.3.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"puppeteer": "^17.1.3",
"remove": "^0.1.5",
"resize-observer-polyfill": "^1.5.1",
"rimraf": "^3.0.2",
"sass": "^1.53.0",
"sass": "^1.66.1",
"ts-morph": "^14.0.0",
"tsx": "^3.6.0",
"type-fest": "^2.14.0",
"typescript": "^5.1.3",
"unplugin-element-plus": "^0.4.0",
"tsx": "^3.12.7",
"type-fest": "^2.19.0",
"typescript": "^5.1.6",
"unplugin-element-plus": "^0.4.1",
"unplugin-vue-macros": "^0.11.2",
"vitest": "^0.32.2",
"vue": "^3.2.47",
"vue-router": "^4.0.16",
"vue-tsc": "^1.8.3"
"vitest": "^0.32.4",
"vue": "^3.3.4",
"vue-router": "^4.2.4",
"vue-tsc": "^1.8.8"
},
"engines": {
"node": ">= 16"
Expand Down
4 changes: 2 additions & 2 deletions packages/components/sku/src/sku-actions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
<script lang="ts" setup>
import { ActionBar, ActionBarButton } from 'vant'
import { useNamespace } from '@fast-plus/hooks'
import 'vant/es/action-bar/style'
import 'vant/es/action-bar-button/style'
import 'vant/lib/action-bar/style'
import 'vant/lib/action-bar-button/style'
defineOptions({
name: 'FSSkuActions',
Expand Down
4 changes: 2 additions & 2 deletions packages/components/sku/src/sku-header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
import { Divider, Image } from 'vant'
import { useNamespace } from '@fast-plus/hooks'
import { skuHeaderEmits, skuHeaderProps } from './sku-header'
import 'vant/es/image/style'
import 'vant/es/divider/style'
import 'vant/lib/image/style'
import 'vant/lib/divider/style'

defineOptions({
name: 'FSSkuHeader',
Expand Down
2 changes: 1 addition & 1 deletion packages/components/sku/src/sku-row.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { Divider } from 'vant'
import { useNamespace } from '@fast-plus/hooks'
import { skuRowProps } from './sku-row'

import 'vant/es/divider/style'
import 'vant/lib/divider/style'

defineOptions({
name: 'FSSkuRow',
Expand Down
2 changes: 1 addition & 1 deletion packages/components/sku/src/sku-stepper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<script lang="ts" setup>
import { Stepper } from 'vant'
import { useNamespace } from '@fast-plus/hooks'
import 'vant/es/stepper/style'
import 'vant/lib/stepper/style'
import { skuStepperEmits, skuStepperProps } from './sku-stepper'
import { useSkuStepper } from './use-sku-stepper'
Expand Down
4 changes: 2 additions & 2 deletions packages/components/sku/src/sku.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ import { onBeforeMount } from 'vue'
import { Image, Popup, showImagePreview } from 'vant'
import { useNamespace } from '@fast-plus/hooks'
import { skuEmits, skuProps } from './sku'
import 'vant/es/popup/style'
import 'vant/lib/popup/style'
import 'vant/es/image-preview/style'
import 'vant/es/lazyload/style'
import 'vant/lib/lazyload/style'
import SkuHeader from './sku-header.vue'
import SkuHeaderItem from './sku-header-item.vue'
Expand Down
Loading

0 comments on commit 244028e

Please sign in to comment.