@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/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.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 ESLINT_USE_FLAT_CONFIG=false eslint \"**/*.{ts,js,vue}\" --fix --format=pretty",
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": "^22.5.3",
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 med MitID</button>
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">
@@ -20,6 +20,7 @@
20
20
  h5,
21
21
  h6 {
22
22
  max-width: 100%;
23
+ font-family: var(--site-primary-font);
23
24
  }
24
25
  }
25
26
  }
@@ -3,7 +3,7 @@
3
3
 
4
4
  .accordion-wrapper.ydelse {
5
5
  & > :last-child {
6
- margin-bottom: 32px;
6
+ margin-bottom: 16px;
7
7
  }
8
8
 
9
9
  button.accordion-bulk-button {
@@ -242,6 +242,10 @@
242
242
  }
243
243
  }
244
244
 
245
+ .no-decoration {
246
+ text-decoration: none !important;
247
+ }
248
+
245
249
  .redaktion {
246
250
  button.lightbg {
247
251
  color: $color-black;