@erst-vg/vg-design-wrapper 2.0.0 → 2.0.2
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/CHANGELOG.md +9 -0
- package/dist/src/components/VgKalturaVideo.vue.d.ts +39 -0
- package/dist/src/components/VgVideo.vue.d.ts +28 -0
- package/dist/src/components/VgVideoToolVideo.vue.d.ts +39 -0
- package/dist/src/components/VgVimeoVideo.vue.d.ts +39 -0
- package/dist/src/index.d.ts +2 -1
- package/dist/tests/unit/components/VgKalturaVideo.spec.d.ts +1 -0
- package/dist/tests/unit/components/VgVideo.spec.d.ts +1 -0
- package/dist/tests/unit/components/VgVideoToolVideo.spec.d.ts +1 -0
- package/dist/tests/unit/components/VgVimeoVideo.spec.d.ts +1 -0
- package/dist/vg-design-wrapper.js +3773 -1813
- package/dist/vg-design-wrapper.umd.cjs +66 -61
- package/package.json +6 -5
- package/src/components/VgAccordion.vue +1 -1
- package/src/components/VgDesignWrapper.vue +1 -0
- package/src/components/VgLoginButton.vue +1 -1
- package/src/styles/custom/_vgAccordion.scss +1 -0
- package/src/styles/vg/accordion/_vg-accordion.scss +1 -1
- package/src/styles/vg/buttons/_vg-buttons.scss +4 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@erst-vg/vg-design-wrapper",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -38,12 +38,13 @@
|
|
|
38
38
|
"clean": "rm -rf ./src/styles/vg ./src/assets && mkdir -p src/assets/icons/ src/styles/vg",
|
|
39
39
|
"clean-windows": "rmdir src\\styles\\vg src\\assets /s && mkdir src\\assets\\icons src\\styles\\vg",
|
|
40
40
|
"prepack-windows": "npm run clean-windows && xcopy ..\\content-web\\src\\main\\vue\\src\\styles\\external\\** .\\src\\styles\\vg /e && xcopy ..\\content-web\\src\\main\\vue\\src\\assets\\icons\\*.svg .\\src\\assets\\icons /e",
|
|
41
|
-
"lint": "cross-env
|
|
41
|
+
"lint": "cross-env eslint \"**/*.{ts,js,vue}\" --fix --format=pretty",
|
|
42
42
|
"prettierfix": "prettier --write \"**/*.{vue,ts}\" ",
|
|
43
43
|
"prettiercheck": "prettier --check \"**/*.{vue,ts}\" "
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@types/node": "
|
|
46
|
+
"@types/node": "24.9.2",
|
|
47
|
+
"axios": "1.12.2",
|
|
47
48
|
"dkfds": "npm:@erst-vg/dkfds-vite@8.0.1",
|
|
48
49
|
"lodash": "4.17.21",
|
|
49
50
|
"sass": "1.93.2",
|
|
@@ -59,6 +60,7 @@
|
|
|
59
60
|
"@typescript-eslint/eslint-plugin": "8.45.0",
|
|
60
61
|
"@vitejs/plugin-vue": "5.2.3",
|
|
61
62
|
"@vitest/coverage-v8": "3.2.4",
|
|
63
|
+
"@vue/test-utils": "2.4.6",
|
|
62
64
|
"cross-env": "7.0.3",
|
|
63
65
|
"eslint": "9.37.0",
|
|
64
66
|
"eslint-config-prettier": "10.1.8",
|
|
@@ -76,8 +78,7 @@
|
|
|
76
78
|
"vite-plugin-css-injected-by-js": "3.5.1",
|
|
77
79
|
"vite-plugin-dts": "4.1.0",
|
|
78
80
|
"vitest": "3.2.4",
|
|
79
|
-
"vue-tsc": "2.0.29"
|
|
80
|
-
"@vue/test-utils": "2.4.6"
|
|
81
|
+
"vue-tsc": "2.0.29"
|
|
81
82
|
},
|
|
82
83
|
"lint-staged": {
|
|
83
84
|
"*.{ts,vue}": [
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<li v-for="(data, index) in accordions" :key="index" data-testid="accordion" data-cy="accordion">
|
|
16
16
|
<div class="top-wrapper">
|
|
17
17
|
<slot name="before" :data="data" :index="index" />
|
|
18
|
-
<component :is="heading">
|
|
18
|
+
<component :is="heading" class="my-0">
|
|
19
19
|
<button
|
|
20
20
|
type="button"
|
|
21
21
|
class="accordion-button"
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="applikation-container" data-testid="applikation-container">
|
|
3
3
|
<div v-if="customSvgIcons.length > 0" class="hide-base-svg">
|
|
4
|
+
<!-- eslint-disable-next-line vue/no-v-html -->
|
|
4
5
|
<svg xmlns="http://www.w3.org/2000/svg" v-html="customSvgIcons"></svg>
|
|
5
6
|
</div>
|
|
6
7
|
<slot />
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<button type="button" class="button mitid-button d-inline-flex align-items-center"><VgIcon icon="mitId" class="mr-4" />Log
|
|
2
|
+
<button type="button" class="button mitid-button d-inline-flex align-items-center"><VgIcon icon="mitId" class="mr-4" />Log ind med MitID</button>
|
|
3
3
|
</template>
|
|
4
4
|
|
|
5
5
|
<script setup lang="ts">
|