Skip to content

Commit e4befb5

Browse files
committed
v0.5.10
1 parent 3031da6 commit e4befb5

File tree

52 files changed

+1358
-2130
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+1358
-2130
lines changed

package.json

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vuefront",
3-
"version": "0.5.9",
3+
"version": "0.5.10",
44
"description": "vuefront",
55
"files": [
66
"lib",
@@ -25,7 +25,7 @@
2525
},
2626
"peerDependencies": {
2727
"fsevents": "^2.3.2",
28-
"vue": "^3.2.11"
28+
"vue": "^3.2.30"
2929
},
3030
"dependencies": {
3131
"@bundled-es-modules/axios": "^0.21.1",
@@ -36,32 +36,31 @@
3636
"@vuelidate/core": "^2.0.0-alpha.34",
3737
"@vuelidate/validators": "^2.0.0-alpha.26",
3838
"color": "^4.2.0",
39-
"faker": "^6.6.6",
4039
"graphql-tag": "^2.12.6",
4140
"graphql-tools": "^8.2.0",
4241
"isomorphic-form-data": "^2.0.0",
4342
"lodash": "^4.17.21",
4443
"mini-svg-data-uri": "^1.4.3",
4544
"omit-deep-lodash": "^1.1.6",
46-
"tailwindcss": "3.0.18",
45+
"tailwindcss": "3.0.19",
4746
"traverse": "^0.6.6",
4847
"vue-easy-lightbox": "^1.2.3",
4948
"vue-meta": "^3.0.0-alpha.2",
5049
"vue-skeletor": "^1.0.6"
5150
},
5251
"devDependencies": {
53-
"@babel/cli": "^7.16.8",
54-
"@babel/core": "^7.16.12",
52+
"@babel/cli": "^7.17.0",
53+
"@babel/core": "^7.17.0",
5554
"@babel/preset-env": "^7.16.11",
5655
"@babel/preset-typescript": "^7.16.7",
56+
"@faker-js/faker": "^6.0.0-alpha.5",
5757
"@graphql-tools/mock": "^8.5.1",
58-
"@types/faker": "^6.6.8",
5958
"@types/isomorphic-form-data": "^2.0.0",
6059
"@types/lodash": "^4.14.178",
61-
"@types/node": "^17.0.14",
60+
"@types/node": "^17.0.16",
6261
"@types/omit-deep-lodash": "^1.1.1",
63-
"@typescript-eslint/eslint-plugin": "^5.10.2",
64-
"@typescript-eslint/parser": "^5.10.2",
62+
"@typescript-eslint/eslint-plugin": "^5.11.0",
63+
"@typescript-eslint/parser": "^5.11.0",
6564
"autoprefixer": "^10.4.2",
6665
"babel-plugin-detective": "^2.0.0",
6766
"babel-plugin-module-resolver": "^4.1.0",
@@ -72,16 +71,16 @@
7271
"eslint": "^8.8.0",
7372
"eslint-config-prettier": "^8.3.0",
7473
"eslint-plugin-prettier": "^4.0.0",
75-
"eslint-plugin-vue": "^8.4.0",
74+
"eslint-plugin-vue": "^8.4.1",
7675
"graphql": "^16.3.0",
7776
"nodemon": "^2.0.15",
7877
"postcss": "8",
7978
"prettier": "^2.5.1",
8079
"typescript": "^4.5.5",
8180
"vite": "^2.7.13",
82-
"vue": "^3.2.11",
81+
"vue": "^3.2.30",
8382
"vue-i18n": "9.1.7",
84-
"vue-router": "^4.0.0-beta.4",
83+
"vue-router": "^4.0.12",
8584
"vuex": "^4.0.2"
8685
}
8786
}

src/components/extensions/common/extra-links/extra-links.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import VfECommonExtraLinks from "./extra-links.vue";
2-
import faker from "faker";
2+
import faker from "@faker-js/faker";
33
// More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
44
export default {
55
title: "extension/common/extra-links",

src/components/molecules/cart-footer/cart-footer.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import VfMCartFooter from "./cart-footer.vue";
22
import "./cart-footer.scss";
3-
import faker from "faker";
3+
import faker from "@faker-js/faker";
44
// More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
55
export default {
66
title: "molecule/cart-footer",

src/components/molecules/cart-product-table-row/cart-product-table-row.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import VfMCartProductTableRow from "./cart-product-table-row.vue";
22
import "./cart-product-table-row.scss";
3-
import faker from "faker";
3+
import faker from "@faker-js/faker";
44
// More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
55
export default {
66
title: "molecule/cart-product-table-row",

src/components/molecules/cart-product/cart-product.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import VfMCartProduct from "./cart-product.vue";
22
import "./cart-product.scss";
3-
import faker from "faker";
3+
import faker from "@faker-js/faker";
44
// More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
55
export default {
66
title: "molecule/cart-product",

src/components/molecules/row/row.stories.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import VfMRow from "./row.vue";
22
import VfMCol from "../col/col.vue";
33
import VfAImage from "../../atoms/image/image.vue";
44
import "./row.scss";
5-
import "../col/col.scss";
65
import "../../atoms/image/image.scss";
76
// More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
87
export default {
Lines changed: 38 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
import VfMTable from "./table.vue";
2+
import VfMThead from "./thead.vue";
3+
import VfMTbody from "./tbody.vue";
4+
import VfMTr from "./tr.vue";
5+
import VfMTh from "./th.vue";
6+
import VfMTd from "./td.vue";
27
import "./table.scss";
38
// More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
49
export default {
@@ -11,27 +16,45 @@ export default {
1116
// More on component templates: https://storybook.js.org/docs/vue/writing-stories/introduction#using-args
1217
const Template = (args) => ({
1318
// Components used in your story `template` are defined in the `components` object
14-
components: { VfMTable },
19+
components: { VfMTable, VfMThead, VfMTh, VfMTr, VfMTbody, VfMTd },
1520
// The story's `args` need to be mapped into the template through the `setup()` method
1621
setup() {
1722
return { args };
1823
},
1924
// And then the `args` are bound to your component with `v-bind="args"`
20-
template: `<vf-m-table v-bind="args"/>`,
25+
template: `<vf-m-table v-bind="args">
26+
<vf-m-thead>
27+
<vf-m-tr>
28+
<vf-m-th>Age</vf-m-th>
29+
<vf-m-th>First Name</vf-m-th>
30+
<vf-m-th>Last Name</vf-m-th>
31+
</vf-m-tr>
32+
</vf-m-thead>
33+
<vf-m-tbody>
34+
<vf-m-tr>
35+
<vf-m-td>40</vf-m-td>
36+
<vf-m-td>Dickerson</vf-m-td>
37+
<vf-m-td>Macdonald</vf-m-td>
38+
</vf-m-tr>
39+
<vf-m-tr>
40+
<vf-m-td>21</vf-m-td>
41+
<vf-m-td>Larsen</vf-m-td>
42+
<vf-m-td>Shaw</vf-m-td>
43+
</vf-m-tr>
44+
<vf-m-tr>
45+
<vf-m-td>89</vf-m-td>
46+
<vf-m-td>Geneva</vf-m-td>
47+
<vf-m-td>Wilson</vf-m-td>
48+
</vf-m-tr>
49+
<vf-m-tr>
50+
<vf-m-td>38</vf-m-td>
51+
<vf-m-td>Jami</vf-m-td>
52+
<vf-m-td>Carney</vf-m-td>
53+
</vf-m-tr>
54+
</vf-m-tbody>
55+
</vf-m-table>`,
2156
});
2257

2358
export const Default = Template.bind({});
2459
// More on args: https://storybook.js.org/docs/vue/writing-stories/args
25-
Default.args = {
26-
fields: [
27-
{ label: "Age", key: "age" },
28-
{ label: "First Name", key: "first_name" },
29-
{ label: "Last Name", key: "last_name" },
30-
],
31-
items: [
32-
{ age: 40, first_name: "Dickerson", last_name: "Macdonald" },
33-
{ age: 21, first_name: "Larsen", last_name: "Shaw" },
34-
{ age: 89, first_name: "Geneva", last_name: "Wilson" },
35-
{ age: 38, first_name: "Jami", last_name: "Carney" },
36-
],
37-
};
60+
Default.args = {};

src/components/organisms/account-edit-form/account-edit-form.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import VfOAccountEditForm from "./account-edit-form.vue";
2-
import faker from "faker";
2+
import faker from "@faker-js/faker";
33

44
// More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
55
export default {

src/components/organisms/address-edit-form/address-edit-form.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import VfOAddressEditForm from "./address-edit-form.vue";
2-
import faker from "faker";
2+
import faker from "@faker-js/faker";
33
// More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
44
export default {
55
title: "organism/address-edit-form",

src/components/organisms/blog-category-post/blog-category-post.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import VfOBlogCategoryPost from "./blog-category-post.vue";
2-
import faker from "faker";
2+
import faker from "@faker-js/faker";
33
import { getPost } from "../../../utils/fakeData";
44
// More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
55
export default {

src/components/organisms/breadcrumb/breadcrumbs.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import VfOBreadcrumb from "./breadcrumb.vue";
2-
import faker from "faker";
2+
import faker from "@faker-js/faker";
33
// More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
44
export default {
55
title: "organism/breadcrumb",

src/components/organisms/cart-products/cart-products.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import VfOCartProducts from "./cart-products.vue";
2-
import faker from "faker";
2+
import faker from "@faker-js/faker";
33
// More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
44
export default {
55
title: "organism/cart-products",

src/components/organisms/cart-sidebar/cart-sidebar.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import VfOCartSidebar from "./cart-sidebar.vue";
2-
import faker from "faker";
2+
import faker from "@faker-js/faker";
33
// More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
44
export default {
55
title: "organism/cart-sidebar",

src/components/organisms/category-grid/category-grid.loader.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import VfLOCategoryGrid from "./category-grid.loader.vue";
2-
import faker from "faker";
2+
import faker from "@faker-js/faker";
33
// More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
44
export default {
55
title: "loader/organism/category-grid",

src/components/organisms/category-grid/category-grid.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import VfOCategoryGrid from "./category-grid.vue";
2-
import faker from 'faker'
2+
import faker from "@faker-js/faker"
33
// More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
44
export default {
55
title: "organism/category-grid",

src/components/organisms/category-info/category-info.loader.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import VfLOCategoryInfo from "./category-info.loader.vue";
2-
import faker from "faker";
2+
import faker from "@faker-js/faker";
33
// More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
44
export default {
55
title: "loader/organism/category-info",

src/components/organisms/category-info/category-info.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import VfOCategoryInfo from "./category-info.vue";
22
import "./category-info.scss";
3-
import faker from "faker";
3+
import faker from "@faker-js/faker";
44
// More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
55
export default {
66
title: "organism/category-info",

src/components/organisms/category-product/category-product.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import VfOCategoryProduct from "./category-product.vue";
2-
import faker from "faker";
2+
import faker from "@faker-js/faker";
33
// More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
44
export default {
55
title: "organism/category-product",

src/components/organisms/compare-actions/compare-actions.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import VfOCompareActions from "./compare-actions.vue";
2-
import faker from "faker";
2+
import faker from "@faker-js/faker";
33
// More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
44
export default {
55
title: "organism/compare-actions",

src/components/organisms/contact-form/compare-actions.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import VfOContactForm from "./contact-form.vue";
2-
import faker from "faker";
2+
import faker from "@faker-js/faker";
33
// More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
44
export default {
55
title: "organism/contact-form",

src/components/organisms/location-grid/location-grid.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import VfOLocationGrid from "./location-grid.vue";
2-
import faker from "faker";
2+
import faker from "@faker-js/faker";
33
import { getLocation } from "../../../utils/fakeData";
44
// More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
55
export default {

src/components/organisms/manufacturer-product/manufacturer-product.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import VfOManufacturerProduct from "./manufacturer-product.vue";
2-
import faker from "faker";
2+
import faker from "@faker-js/faker";
33
// More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
44
export default {
55
title: "organism/manufacturer-product",

src/components/organisms/modal/modal.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import VfOModal from "./modal.vue";
22
import VfAButton from "../../atoms/button/button.vue";
33
import { ref } from "vue";
4-
import faker from "faker";
4+
import faker from "@faker-js/faker";
55
import "./modal.scss";
66
import "../../atoms/button/button.scss";
77
// More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export

src/components/organisms/notification-snack-bar/notification-snack-bar.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import VfONotificationSnackBar from "./notification-snack-bar.vue";
22
import VfAButton from "../../atoms/button/button.vue";
33
import { ref } from "vue";
4-
import faker from "faker";
4+
import faker from "@faker-js/faker";
55
import { useStore } from "vuex";
66
import "../../atoms/button/button.scss";
77
// More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export

src/components/organisms/notification-toast/notification-toast.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import VfONotificationToast from "./notification-toast.vue";
22
import VfAButton from "../../atoms/button/button.vue";
33
import { ref } from "vue";
4-
import faker from "faker";
4+
import faker from "@faker-js/faker";
55
import { useStore } from "vuex";
66
import "../../atoms/button/button.scss";
77
import "./notification-toast.scss";

src/components/organisms/post-grid/post-grid.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import VfOPostGrid from "./post-grid.vue";
2-
import faker from "faker";
2+
import faker from "@faker-js/faker";
33
import { getPost } from "../../../utils/fakeData";
44
// More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
55
export default {

src/components/organisms/post-module/post-module.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import VfOPostModule from "./post-module.vue";
22
import "./post-module.scss";
3-
import faker from "faker";
3+
import faker from "@faker-js/faker";
44
import { getPost } from "../../../utils/fakeData";
55
// More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
66
export default {

src/components/organisms/post-reviews/post-reviews.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import VfOPostReviews from "./post-reviews.vue";
2-
import faker from "faker";
2+
import faker from "@faker-js/faker";
33
import "./post-reviews.scss";
44
import { getPost } from "../../../utils/fakeData";
55

src/components/organisms/product-buy/product-buy.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import VfOProductBuy from "./product-buy.vue";
2-
import faker from "faker";
2+
import faker from "@faker-js/faker";
33
// More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
44
export default {
55
title: "organism/product-buy",

src/components/organisms/product-grid/product-grid.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import VfOProductGrid from "./product-grid.vue";
2-
import faker from "faker";
2+
import faker from "@faker-js/faker";
33
// More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
44
export default {
55
title: "organism/product-grid",

src/components/organisms/product-module/product-module.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import VfOProductModule from "./product-module.vue";
2-
import faker from "faker";
2+
import faker from "@faker-js/faker";
33
// More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
44
export default {
55
title: "organism/product-module",

src/components/organisms/product-options/product-options.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import VfOProductOptions from "./product-options.vue";
2-
import faker from "faker";
2+
import faker from "@faker-js/faker";
33
// More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
44
export default {
55
title: "organism/product-options",

src/components/templates/account/account/account.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import VfTAccount from "./account.vue";
2-
import faker from "faker";
2+
import faker from "@faker-js/faker";
33

44
// More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
55
export default {

src/components/templates/account/address/address.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import VfTAddress from "./address.vue";
2-
import faker from "faker";
2+
import faker from "@faker-js/faker";
33

44
// More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
55
export default {

src/components/templates/account/addressCreate/addressCreate.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import VfTAddressCreate from "./addressCreate.vue";
2-
import faker from "faker";
2+
import faker from "@faker-js/faker";
33

44
// More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
55
export default {

src/components/templates/account/addressEdit/addressEdit.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import VfTAddressEdit from "./addressEdit.vue";
2-
import faker from "faker";
2+
import faker from "@faker-js/faker";
33
// More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
44
export default {
55
title: "template/account/address-edit",

0 commit comments

Comments
 (0)