dso-toolkit 58.1.0 → 58.2.0

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 CHANGED
@@ -5,6 +5,23 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
5
5
 
6
6
  ## Next
7
7
 
8
+ ## 58.2.0 - 07-09-2023
9
+
10
+ ### Added
11
+ * Autosuggest: niet gevonden melding en eerste suggestie voorlezen ([#2267](https://github.com/dso-toolkit/dso-toolkit/issues/2267))
12
+
13
+ ### Fixed
14
+ * Toggletip: Open Toggletip scrolled mee met de pagina ([#2301](https://github.com/dso-toolkit/dso-toolkit/issues/2301))
15
+ * Banner: Tooltip/toggletip verkeerde link-kleur ([#2305](https://github.com/dso-toolkit/dso-toolkit/issues/2305))
16
+
17
+ ### Docs
18
+ * Button: Documentatie bijwerken ([#1898](https://github.com/dso-toolkit/dso-toolkit/issues/1898))
19
+
20
+ ### Tasks
21
+ * Packages: Dependency updates ([#2241](https://github.com/dso-toolkit/dso-toolkit/issues/2241))
22
+ * Storybook: Lit comments in HTML tab verwijderen ([#1987](https://github.com/dso-toolkit/dso-toolkit/issues/1987))
23
+ * Build: Custom property met toolkit versie ([#2184](https://github.com/dso-toolkit/dso-toolkit/issues/2184))
24
+
8
25
  ## 58.1.0 - 28-08-2023
9
26
 
10
27
  ### Tasks
package/dist/dso.css CHANGED
@@ -1,3 +1,6 @@
1
+ /* DSO Toolkit version: 58.2.0 */
2
+ :root { --dso-toolkit-version: 58.2.0 }
3
+
1
4
  @font-face {
2
5
  font-family: "Asap";
3
6
  font-style: normal;
@@ -46,6 +49,12 @@
46
49
  font-weight: 700;
47
50
  src: local("Asap Bold italic"), local("Asap-Bolditalic"), url("../assets/fonts/Asap/Asap-BoldItalic.woff2") format("woff2"), url("../assets/fonts/Asap/Asap-BoldItalic.woff") format("woff");
48
51
  }
52
+ :root {
53
+ --link-color: #39870c;
54
+ --link-hover-color: #676cb0;
55
+ --link-visited-color: #8b4a6a;
56
+ }
57
+
49
58
  :where(dso-action-list) + :where(.dso-form-buttons) {
50
59
  margin-block-start: 32px;
51
60
  }
@@ -986,18 +995,18 @@ dso-alert a.extern::after {
986
995
 
987
996
  a {
988
997
  background-color: transparent;
989
- color: #39870c;
998
+ color: var(--link-color);
990
999
  text-decoration: underline;
991
1000
  }
992
1001
  a:hover, a:focus {
993
- color: #676cb0;
1002
+ color: var(--link-hover-color);
994
1003
  text-decoration: underline;
995
1004
  }
996
1005
  a:active {
997
1006
  text-decoration: none;
998
1007
  }
999
1008
  a:visited {
1000
- color: #8b4a6a;
1009
+ color: var(--link-visited-color);
1001
1010
  }
1002
1011
  a.download::after, a.extern::after {
1003
1012
  content: "";
@@ -1124,6 +1133,7 @@ a.extern::after {
1124
1133
  .dso-banner:not(.row) {
1125
1134
  padding: 16px 0;
1126
1135
  position: relative;
1136
+ --link-color: #000;
1127
1137
  }
1128
1138
  .banner.dso-compact,
1129
1139
  .dso-banner:not(.row).dso-compact {
@@ -1139,7 +1149,7 @@ a.extern::after {
1139
1149
  .dso-banner:not(.row) a:focus,
1140
1150
  .dso-banner:not(.row) a:active,
1141
1151
  .dso-banner:not(.row) a:visited {
1142
- color: #000;
1152
+ color: var(--link-color);
1143
1153
  }
1144
1154
  .banner a:active,
1145
1155
  .dso-banner:not(.row) a:active {
@@ -1327,11 +1337,14 @@ a.extern::after {
1327
1337
  width: 24px;
1328
1338
  }
1329
1339
 
1340
+ dso-banner {
1341
+ --link-color: #000;
1342
+ }
1330
1343
  dso-banner a {
1331
1344
  text-decoration: underline;
1332
1345
  }
1333
1346
  dso-banner a, dso-banner a:hover, dso-banner a:focus, dso-banner a:active, dso-banner a:visited {
1334
- color: #000;
1347
+ color: var(--link-color);
1335
1348
  }
1336
1349
  dso-banner a:active {
1337
1350
  text-decoration: none;
@@ -8004,7 +8017,7 @@ dso-table.dso-is-responsive > .table > tfoot > tr > td {
8004
8017
  }
8005
8018
  .nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
8006
8019
  background-color: #e5e5e5;
8007
- border-color: #39870c;
8020
+ border-color: var(--link-color);
8008
8021
  }
8009
8022
 
8010
8023
  .nav.nav-tabs {
@@ -8240,6 +8253,7 @@ dso-responsive-element.dso-tile-grid[large] {
8240
8253
  word-spacing: normal;
8241
8254
  word-wrap: normal;
8242
8255
  white-space: normal;
8256
+ --link-color: #39870c;
8243
8257
  display: block;
8244
8258
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
8245
8259
  font-size: 14px;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "dso-toolkit",
3
3
  "description": "DSO Toolkit",
4
4
  "license": "SEE LICENSE IN DISCLAIMER.txt",
5
- "version": "58.1.0",
5
+ "version": "58.2.0",
6
6
  "scripts": {
7
7
  "watch": "gulp"
8
8
  },
@@ -27,20 +27,21 @@
27
27
  "homepage": "https://www.dso-toolkit.nl/",
28
28
  "devDependencies": {
29
29
  "@prettier/plugin-xml": "^2.2.0",
30
- "@storybook/addon-actions": "7.0.22",
31
- "@storybook/addons": "7.0.22",
32
- "@storybook/client-api": "7.0.22",
33
- "@storybook/types": "7.0.22",
30
+ "@storybook/addon-actions": "7.3.2",
31
+ "@storybook/addons": "7.3.2",
32
+ "@storybook/client-api": "7.3.2",
33
+ "@storybook/types": "7.3.2",
34
34
  "@types/css": "^0.0.33",
35
35
  "@types/fancy-log": "^2.0.0",
36
- "@types/gulp": "^4.0.10",
36
+ "@types/gulp": "^4.0.13",
37
37
  "@types/gulp-cheerio": "^0.0.35",
38
38
  "@types/gulp-filter": "^3.0.36",
39
+ "@types/gulp-header": "^2.0.2",
39
40
  "@types/gulp-postcss": "^8.0.3",
40
41
  "@types/gulp-rename": "^2.0.2",
41
42
  "@types/gulp-sass": "^5.0.1",
42
43
  "@types/list-stream": "^1.0.1",
43
- "concurrently": "^8.2.0",
44
+ "concurrently": "^8.2.1",
44
45
  "css": "^3.0.0",
45
46
  "cssnano": "^6.0.1",
46
47
  "del": "^7.0.0",
@@ -48,7 +49,8 @@
48
49
  "fancy-log": "^2.0.0",
49
50
  "gulp": "^4.0.2",
50
51
  "gulp-cheerio": "^1.0.0",
51
- "gulp-filter": "^7.0.0",
52
+ "gulp-filter": "^8.0.0",
53
+ "gulp-header": "^2.0.9",
52
54
  "gulp-postcss": "^9.0.1",
53
55
  "gulp-prettier": "^4.0.0",
54
56
  "gulp-rename": "^2.0.0",
@@ -56,13 +58,13 @@
56
58
  "gulp-svgstore": "^9.0.0",
57
59
  "gulp-typescript": "^6.0.0-alpha.1",
58
60
  "list-stream": "^2.1.0",
59
- "markdown-to-jsx": "^7.2.1",
60
- "postcss": "^8.4.24",
61
+ "markdown-to-jsx": "^7.3.2",
62
+ "postcss": "^8.4.28",
61
63
  "prettier": "^2.8.8",
62
64
  "react": "^18.2.0",
63
65
  "react-dom": "^18.2.0",
64
- "sass": "^1.63.5",
65
- "typescript": "^5.1.3",
66
+ "sass": "^1.66.1",
67
+ "typescript": "~5.1.6",
66
68
  "uuid": "^9.0.0"
67
69
  },
68
70
  "nx": {
@@ -5,7 +5,7 @@
5
5
  @mixin pseudo() {
6
6
  &:hover,
7
7
  &:focus {
8
- color: anchor-variables.$link-hover-color;
8
+ color: var(--link-hover-color);
9
9
  text-decoration: underline;
10
10
  }
11
11
 
@@ -16,14 +16,14 @@
16
16
 
17
17
  @mixin root($is-html-a-element: true) {
18
18
  background-color: transparent;
19
- color: scaffolding.$link-color;
19
+ color: var(--link-color);
20
20
  text-decoration: underline;
21
21
 
22
22
  @include pseudo();
23
23
 
24
24
  @if ($is-html-a-element) {
25
25
  &:visited {
26
- color: anchor-variables.$visited-color;
26
+ color: var(--link-visited-color);
27
27
  }
28
28
  } @else {
29
29
  cursor: pointer;
@@ -1,6 +1,7 @@
1
1
  @use "../../variables/colors";
2
2
 
3
+ $link-color: colors.$grasgroen;
3
4
  $link-hover-color: colors.$scampi;
5
+ $link-visited-color: colors.$mauve;
4
6
 
5
7
  $spacer-width: 4px;
6
- $visited-color: colors.$mauve;
@@ -14,6 +14,8 @@
14
14
  }
15
15
 
16
16
  @mixin children() {
17
+ --link-color: #{colors.$zwart};
18
+
17
19
  a {
18
20
  text-decoration: underline;
19
21
 
@@ -22,7 +24,7 @@
22
24
  &:focus,
23
25
  &:active,
24
26
  &:visited {
25
- color: colors.$zwart;
27
+ color: var(--link-color);
26
28
  }
27
29
 
28
30
  &:active {
@@ -49,7 +49,7 @@
49
49
  &:hover,
50
50
  &:focus {
51
51
  background-color: css-tabs-variables.$nav-link-hover-bg;
52
- border-color: scaffolding.$link-color;
52
+ border-color: var(--link-color);
53
53
  }
54
54
  }
55
55
  }
@@ -26,6 +26,8 @@
26
26
  @mixin root() {
27
27
  @include _reset-text();
28
28
 
29
+ --link-color: #{colors.$grasgroen};
30
+
29
31
  display: block;
30
32
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
31
33
  font-size: typography.$font-size-small;
package/src/dso.scss CHANGED
@@ -1,5 +1,6 @@
1
1
  // Global
2
2
  @use "global/font-faces";
3
+ @use "global/custom-properties.scss";
3
4
  @use "global/spacing";
4
5
  @use "global/utilities";
5
6
 
@@ -0,0 +1,7 @@
1
+ @use "../components/anchor/anchor.variables.scss" as anchor-variables;
2
+
3
+ :root {
4
+ --link-color: #{anchor-variables.$link-color};
5
+ --link-hover-color: #{anchor-variables.$link-hover-color};
6
+ --link-visited-color: #{anchor-variables.$link-visited-color};
7
+ }
@@ -3,8 +3,6 @@
3
3
  $body-bg: #fff;
4
4
  $text-color: colors.$grijs-90;
5
5
 
6
- $link-color: colors.$grasgroen;
7
-
8
6
  $cursor-disabled: default;
9
7
 
10
8
  $border-radius-base: 4px;