@phoenix-cg/v-tabs 0.1.22 → 0.2.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.editorconfig +9 -0
- package/.gitattributes +1 -0
- package/.vscode/extensions.json +8 -0
- package/.vscode/settings.json +11 -0
- package/README.md +27 -15
- package/dist/favicon.ico +0 -0
- package/dist/v-tabs.css +1 -1
- package/dist/v-tabs.es.js +2040 -0
- package/dist/v-tabs.umd.js +21 -6480
- package/eslint.config.js +32 -0
- package/index.html +13 -0
- package/jsconfig.json +8 -0
- package/package.json +22 -30
- package/src/App.vue +18 -35
- package/src/assets/base.css +86 -0
- package/src/assets/main.css +21 -0
- package/src/components/VTabs.vue +107 -103
- package/src/export.js +1 -1
- package/src/main.js +4 -6
- package/vite.config.js +25 -0
- package/vitest.config.js +14 -0
- package/.browserslistrc +0 -3
- package/.eslintrc.js +0 -26
- package/babel.config.js +0 -3
- package/dist/demo.html +0 -10
- package/dist/v-tabs.common.js +0 -6470
- package/dist/v-tabs.common.js.map +0 -1
- package/dist/v-tabs.umd.js.map +0 -1
- package/dist/v-tabs.umd.min.js +0 -2
- package/dist/v-tabs.umd.min.js.map +0 -1
- package/jest.config.js +0 -3
- package/public/index.html +0 -17
- package/src/assets/logo.png +0 -0
- package/tests/unit/VTabs.spec.js +0 -12
package/.editorconfig
ADDED
package/.gitattributes
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
* text=auto eol=lf
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"explorer.fileNesting.enabled": true,
|
|
3
|
+
"explorer.fileNesting.patterns": {
|
|
4
|
+
"tsconfig.json": "tsconfig.*.json, env.d.ts",
|
|
5
|
+
"vite.config.*": "jsconfig*, vitest.config.*, cypress.config.*, playwright.config.*",
|
|
6
|
+
"package.json": "package-lock.json, pnpm*, .yarnrc*, yarn*, .eslint*, eslint*, .prettier*, prettier*, .editorconfig"
|
|
7
|
+
},
|
|
8
|
+
"editor.codeActionsOnSave": {
|
|
9
|
+
"source.fixAll": "explicit"
|
|
10
|
+
}
|
|
11
|
+
}
|
package/README.md
CHANGED
|
@@ -1,29 +1,41 @@
|
|
|
1
|
-
#
|
|
1
|
+
# tabs
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
This template should help get you started developing with Vue 3 in Vite.
|
|
4
|
+
|
|
5
|
+
## Recommended IDE Setup
|
|
6
|
+
|
|
7
|
+
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur).
|
|
8
|
+
|
|
9
|
+
## Customize configuration
|
|
10
|
+
|
|
11
|
+
See [Vite Configuration Reference](https://vite.dev/config/).
|
|
12
|
+
|
|
13
|
+
## Project Setup
|
|
14
|
+
|
|
15
|
+
```sh
|
|
5
16
|
npm install
|
|
6
17
|
```
|
|
7
18
|
|
|
8
|
-
###
|
|
9
|
-
```
|
|
10
|
-
npm run serve
|
|
11
|
-
```
|
|
19
|
+
### Compile and Hot-Reload for Development
|
|
12
20
|
|
|
13
|
-
|
|
21
|
+
```sh
|
|
22
|
+
npm run dev
|
|
14
23
|
```
|
|
24
|
+
|
|
25
|
+
### Compile and Minify for Production
|
|
26
|
+
|
|
27
|
+
```sh
|
|
15
28
|
npm run build
|
|
16
29
|
```
|
|
17
30
|
|
|
18
|
-
### Run
|
|
19
|
-
|
|
31
|
+
### Run Unit Tests with [Vitest](https://vitest.dev/)
|
|
32
|
+
|
|
33
|
+
```sh
|
|
20
34
|
npm run test:unit
|
|
21
35
|
```
|
|
22
36
|
|
|
23
|
-
###
|
|
24
|
-
|
|
37
|
+
### Lint with [ESLint](https://eslint.org/)
|
|
38
|
+
|
|
39
|
+
```sh
|
|
25
40
|
npm run lint
|
|
26
41
|
```
|
|
27
|
-
|
|
28
|
-
### Customize configuration
|
|
29
|
-
See [Configuration Reference](https://cli.vuejs.org/config/).
|
package/dist/favicon.ico
ADDED
|
Binary file
|
package/dist/v-tabs.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.v-tabs{position:relative}.v-tabs_inner{display:flex}.v-tabs_tab{padding:10px 20px;background:#ddd;cursor:pointer;-webkit-user-select:none
|
|
1
|
+
.v-tabs{position:relative}.v-tabs_inner{display:flex}.v-tabs_tab{padding:10px 20px;background:#ddd;cursor:pointer;-webkit-user-select:none;user-select:none}.v-tabs_tab.__active{background:#b6b5b5}.v-tabs.__disabled{pointer-events:none;opacity:.5}.v-tabs_slider{position:absolute;height:2px;background:#000;left:0;bottom:0;transition:all .2s ease-in-out}
|