Skip to content

Commit e3f7134

Browse files
Pooya Parsapi0
authored andcommitted
updates per directory structure
1 parent 9e6d18a commit e3f7134

File tree

88 files changed

+244
-250
lines changed

Some content is hidden

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

88 files changed

+244
-250
lines changed

build/rollup.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const { camelCase } = require("lodash");
99
const { name, dependencies } = require("../package.json");
1010

1111
const base = path.resolve(__dirname, "..");
12-
const lib = path.resolve(base, "lib");
12+
const src = path.resolve(base, "src");
1313
const dist = path.resolve(base, "dist");
1414

1515
// Ensure dist directory exists
@@ -26,7 +26,7 @@ const externalExcludes = [
2626
]
2727

2828
module.exports = {
29-
input: path.resolve(lib, "index.js"),
29+
input: path.resolve(src, "index.js"),
3030
external: Object.keys(dependencies).filter(dep => externalExcludes.indexOf(dep) === -1),
3131
name,
3232
plugins: [

src/classes/index.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/components/alert/alert.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
</template>
1414

1515
<script>
16-
import {warn} from '../utils';
17-
import bBtnClose from "./button-close";
16+
import {warn} from '../../utils';
17+
import bBtnClose from "../button/button-close";
1818
1919
export default {
2020
components: {bBtnClose},

src/components/badge/badge.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { mergeData, pluckProps } from "../utils";
2-
import { assign } from "../utils/object";
3-
import Link, { propsFactory as linkPropsFactory } from "./link";
1+
import { mergeData, pluckProps } from "../../utils";
2+
import { assign } from "../../utils/object";
3+
import Link, { propsFactory as linkPropsFactory } from "../link/link";
44

55
let linkProps = linkPropsFactory();
66
delete linkProps.href.default;

src/components/breadcrubmb/breadcrumb-item.js renamed to src/components/breadcrumb/breadcrumb-item.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { mergeData } from "../utils";
2-
import { assign } from "../utils/object";
1+
import { mergeData } from "../../utils";
2+
import { assign } from "../../utils/object";
33
import BreadcrumbLink, { props as crumbLinks } from "./breadcrumb-link";
44

55
export const props = assign({}, crumbLinks, {

src/components/breadcrubmb/breadcrumb-link.js renamed to src/components/breadcrumb/breadcrumb-link.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { mergeData, pluckProps } from "../utils";
2-
import { assign } from "../utils/object";
3-
import Link, { propsFactory as linkPropsFactory } from "./link";
1+
import { mergeData, pluckProps } from "../../utils";
2+
import { assign } from "../../utils/object";
3+
import Link, { propsFactory as linkPropsFactory } from "../link/link";
44

55
export const props = assign(linkPropsFactory(), {
66
text: {
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { mergeData } from "../utils";
2-
import { isArray } from "../utils/array";
3-
import { assign } from "../utils/object";
1+
import { mergeData } from "../../utils";
2+
import { isArray } from "../../utils/array";
3+
import { assign } from "../../utils/object";
44
import BreadcrumbItem from "./breadcrumb-item";
55

66
export const props = {

src/components/button-group/button-group.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { mergeData } from "../utils";
2-
import { arrayIncludes } from "../utils/array";
1+
import { mergeData } from "../../utils";
2+
import { arrayIncludes } from "../../utils/array";
33

44
export const props = {
55
vertical: {

src/components/button-toolbar/button-toolbar.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
</template>
1818

1919
<script>
20-
import { from as arrayFrom } from '../utils/array';
21-
import { isVisible, selectAll } from '../utils/dom';
20+
import { from as arrayFrom } from '../../utils/array';
21+
import { isVisible, selectAll } from '../../utils/dom';
2222
2323
const ITEM_SELECTOR = [
2424
'.btn:not(.disabled):not([disabled])',

src/components/button/button-close.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { mergeData } from "../utils";
1+
import { mergeData } from "../../utils";
22

33
const props = {
44
disabled: {

0 commit comments

Comments
 (0)