dso-toolkit 62.3.2 → 62.4.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 +9 -0
- package/dist/dso.css +99 -8
- package/dist/index.js +1 -0
- package/package.json +1 -1
- package/src/components/headings/headings.mixins.scss +13 -3
- package/src/components/navbar/navbar.mixins.scss +10 -2
- package/src/components/navbar/navbar.scss +104 -0
- package/src/variables/units.scss +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,15 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
|
|
|
5
5
|
|
|
6
6
|
## Next
|
|
7
7
|
|
|
8
|
+
### 🕯️ 62.4.0 - 21-11-2023
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
* Zoekoverlay: Uitbreiding "extension" op Nav en nieuw component "Mark Bar" ([#2387](https://github.com/dso-toolkit/dso-toolkit/issues/2387))
|
|
12
|
+
* Headings: Responsive font size ([#2210](https://github.com/dso-toolkit/dso-toolkit/issues/2210))
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
* Viewer Grid: Dubbele scrollbar ([#2444](https://github.com/dso-toolkit/dso-toolkit/issues/2444))
|
|
16
|
+
|
|
8
17
|
## 🍬 62.3.2 - 13-11-2023
|
|
9
18
|
|
|
10
19
|
### Fixed
|
package/dist/dso.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/* DSO Toolkit version: 62.
|
|
2
|
-
:root { --dso-toolkit-version: 62.
|
|
1
|
+
/* DSO Toolkit version: 62.4.0 */
|
|
2
|
+
:root { --dso-toolkit-version: 62.4.0 }
|
|
3
3
|
|
|
4
4
|
@font-face {
|
|
5
5
|
font-family: "Asap";
|
|
@@ -3798,11 +3798,16 @@ footer a:not(.dso-primary):not(.dso-secondary):not(.dso-tertiary):visited, foote
|
|
|
3798
3798
|
}
|
|
3799
3799
|
.form fieldset > legend, form fieldset > legend, .dso-section-body fieldset > legend {
|
|
3800
3800
|
color: #275937;
|
|
3801
|
-
font-size: 1.
|
|
3801
|
+
font-size: 1.125rem;
|
|
3802
3802
|
font-weight: 600;
|
|
3803
3803
|
border-bottom: 0;
|
|
3804
3804
|
margin-bottom: 32px;
|
|
3805
3805
|
}
|
|
3806
|
+
@media screen and (min-width: 480px) {
|
|
3807
|
+
.form fieldset > legend, form fieldset > legend, .dso-section-body fieldset > legend {
|
|
3808
|
+
font-size: 1.25rem;
|
|
3809
|
+
}
|
|
3810
|
+
}
|
|
3806
3811
|
.form fieldset > legend h1,
|
|
3807
3812
|
.form fieldset > legend h2,
|
|
3808
3813
|
.form fieldset > legend h3,
|
|
@@ -5263,9 +5268,14 @@ h1,
|
|
|
5263
5268
|
}
|
|
5264
5269
|
|
|
5265
5270
|
h1 {
|
|
5266
|
-
font-size:
|
|
5271
|
+
font-size: 1.5rem;
|
|
5267
5272
|
font-weight: 700;
|
|
5268
5273
|
}
|
|
5274
|
+
@media screen and (min-width: 480px) {
|
|
5275
|
+
h1 {
|
|
5276
|
+
font-size: 2rem;
|
|
5277
|
+
}
|
|
5278
|
+
}
|
|
5269
5279
|
|
|
5270
5280
|
h2,
|
|
5271
5281
|
.h2 {
|
|
@@ -5274,9 +5284,14 @@ h2,
|
|
|
5274
5284
|
|
|
5275
5285
|
h2 {
|
|
5276
5286
|
color: #275937;
|
|
5277
|
-
font-size: 1.
|
|
5287
|
+
font-size: 1.25rem;
|
|
5278
5288
|
font-weight: 700;
|
|
5279
5289
|
}
|
|
5290
|
+
@media screen and (min-width: 480px) {
|
|
5291
|
+
h2 {
|
|
5292
|
+
font-size: 1.5rem;
|
|
5293
|
+
}
|
|
5294
|
+
}
|
|
5280
5295
|
|
|
5281
5296
|
h3,
|
|
5282
5297
|
.h3 {
|
|
@@ -5285,9 +5300,14 @@ h3,
|
|
|
5285
5300
|
|
|
5286
5301
|
h3 {
|
|
5287
5302
|
color: #275937;
|
|
5288
|
-
font-size: 1.
|
|
5303
|
+
font-size: 1.125rem;
|
|
5289
5304
|
font-weight: 600;
|
|
5290
5305
|
}
|
|
5306
|
+
@media screen and (min-width: 480px) {
|
|
5307
|
+
h3 {
|
|
5308
|
+
font-size: 1.25rem;
|
|
5309
|
+
}
|
|
5310
|
+
}
|
|
5291
5311
|
|
|
5292
5312
|
h4,
|
|
5293
5313
|
.h4,
|
|
@@ -6693,11 +6713,14 @@ nav .dso-link-list a:visited {
|
|
|
6693
6713
|
display: none;
|
|
6694
6714
|
}
|
|
6695
6715
|
}
|
|
6716
|
+
.dso-navbar.dso-has-navbar-extension .dso-nav > li:last-child {
|
|
6717
|
+
margin-inline-end: 8rem;
|
|
6718
|
+
}
|
|
6696
6719
|
|
|
6697
6720
|
.dso-nav {
|
|
6698
6721
|
list-style: none;
|
|
6699
|
-
margin-
|
|
6700
|
-
padding-
|
|
6722
|
+
margin-block-end: 0;
|
|
6723
|
+
padding-inline-start: 0;
|
|
6701
6724
|
}
|
|
6702
6725
|
.dso-nav > li > a,
|
|
6703
6726
|
.dso-nav > li > button {
|
|
@@ -6764,6 +6787,74 @@ nav .dso-link-list a:visited {
|
|
|
6764
6787
|
display: block;
|
|
6765
6788
|
}
|
|
6766
6789
|
}
|
|
6790
|
+
.dso-navbar + .dso-navbar-extension {
|
|
6791
|
+
position: relative;
|
|
6792
|
+
isolation: isolate;
|
|
6793
|
+
}
|
|
6794
|
+
.dso-navbar + .dso-navbar-extension.dso-animate .dso-navbar-extension-container {
|
|
6795
|
+
transition: grid-template-rows 0.5s, visibility 0.5s, margin-block-end 0.5s;
|
|
6796
|
+
}
|
|
6797
|
+
.dso-navbar + .dso-navbar-extension .dso-navbar-extension-container {
|
|
6798
|
+
position: relative;
|
|
6799
|
+
inset-block-start: -1px;
|
|
6800
|
+
display: grid;
|
|
6801
|
+
grid-template-rows: 0fr;
|
|
6802
|
+
margin-block-end: 0;
|
|
6803
|
+
visibility: hidden;
|
|
6804
|
+
inline-size: 100%;
|
|
6805
|
+
}
|
|
6806
|
+
.dso-navbar + .dso-navbar-extension .dso-navbar-extension-expand-button {
|
|
6807
|
+
position: absolute;
|
|
6808
|
+
inset-inline-end: 0;
|
|
6809
|
+
inset-block-start: 1px;
|
|
6810
|
+
z-index: 1;
|
|
6811
|
+
translate: 0 -100%;
|
|
6812
|
+
background-color: transparent;
|
|
6813
|
+
padding-inline: 16px;
|
|
6814
|
+
padding-block: 6px;
|
|
6815
|
+
border: 2px solid transparent;
|
|
6816
|
+
border-start-start-radius: 4px;
|
|
6817
|
+
border-start-end-radius: 4px;
|
|
6818
|
+
font-weight: 600;
|
|
6819
|
+
color: #39870c;
|
|
6820
|
+
}
|
|
6821
|
+
.dso-navbar + .dso-navbar-extension .dso-navbar-extension-expand-button svg.di,
|
|
6822
|
+
.dso-navbar + .dso-navbar-extension .dso-navbar-extension-expand-button dso-icon {
|
|
6823
|
+
margin-inline-end: 8px;
|
|
6824
|
+
}
|
|
6825
|
+
.dso-navbar + .dso-navbar-extension .dso-navbar-extension-expand-button:hover, .dso-navbar + .dso-navbar-extension .dso-navbar-extension-expand-button:focus {
|
|
6826
|
+
text-decoration: underline;
|
|
6827
|
+
}
|
|
6828
|
+
.dso-navbar + .dso-navbar-extension .dso-navbar-extension-expand-button.dso-active {
|
|
6829
|
+
background-color: #f2f2f2;
|
|
6830
|
+
border-color: #ccc;
|
|
6831
|
+
color: #191919;
|
|
6832
|
+
}
|
|
6833
|
+
.dso-navbar + .dso-navbar-extension .dso-navbar-extension-expand-button.dso-active::after {
|
|
6834
|
+
content: "";
|
|
6835
|
+
position: absolute;
|
|
6836
|
+
inset-inline-start: 0;
|
|
6837
|
+
inset-block-end: -2px;
|
|
6838
|
+
inline-size: 100%;
|
|
6839
|
+
block-size: 2px;
|
|
6840
|
+
background-color: #f2f2f2;
|
|
6841
|
+
}
|
|
6842
|
+
.dso-navbar + .dso-navbar-extension .dso-navbar-extension-expand-button.dso-active + .dso-navbar-extension-container {
|
|
6843
|
+
visibility: visible;
|
|
6844
|
+
grid-template-rows: 1fr;
|
|
6845
|
+
margin-block-end: 8px;
|
|
6846
|
+
}
|
|
6847
|
+
.dso-navbar + .dso-navbar-extension .dso-navbar-extension-expand-button.dso-active + .dso-navbar-extension-container .dso-navbar-extension-content {
|
|
6848
|
+
border: 2px solid #ccc;
|
|
6849
|
+
}
|
|
6850
|
+
.dso-navbar + .dso-navbar-extension .dso-navbar-extension-content {
|
|
6851
|
+
overflow: hidden;
|
|
6852
|
+
padding-inline: 16px;
|
|
6853
|
+
background-color: #f2f2f2;
|
|
6854
|
+
border-start-start-radius: 4px;
|
|
6855
|
+
border-end-end-radius: 4px;
|
|
6856
|
+
border-end-start-radius: 4px;
|
|
6857
|
+
}
|
|
6767
6858
|
|
|
6768
6859
|
@media screen and (min-width: 768px) {
|
|
6769
6860
|
.dso-nav {
|
package/dist/index.js
CHANGED
|
@@ -50,6 +50,7 @@ export { Type } from "./components/list/list.models.js";
|
|
|
50
50
|
export { storiesOfList } from "./components/list/list.stories-of.js";
|
|
51
51
|
export { storiesOfListButton } from "./components/list-button/list-button.stories-of.js";
|
|
52
52
|
export { storiesOfLogo } from "./components/logo/logo.stories-of.js";
|
|
53
|
+
export * from "./components/mark-bar";
|
|
53
54
|
export { storiesOfModal } from "./components/modal/modal.stories-of.js";
|
|
54
55
|
export { storiesOfMapControls, } from "./components/map-controls/map-controls.stories-of.js";
|
|
55
56
|
export { storiesOfNavbar } from "./components/navbar/navbar.stories-of.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@use "../../variables/colors";
|
|
2
2
|
@use "../../variables/typography";
|
|
3
3
|
@use "../../variables/units";
|
|
4
|
+
@use "../../variables/media-query-breakpoints";
|
|
4
5
|
|
|
5
6
|
@mixin base() {
|
|
6
7
|
color: colors.$bosgroen;
|
|
@@ -21,20 +22,29 @@
|
|
|
21
22
|
}
|
|
22
23
|
|
|
23
24
|
@mixin h1() {
|
|
24
|
-
font-size: units.$font-size-
|
|
25
|
+
font-size: units.$font-size-h2;
|
|
25
26
|
font-weight: 700;
|
|
27
|
+
@media screen and (min-width: media-query-breakpoints.$screen-xs-min) {
|
|
28
|
+
font-size: units.$font-size-h1;
|
|
29
|
+
}
|
|
26
30
|
}
|
|
27
31
|
|
|
28
32
|
@mixin h2() {
|
|
29
33
|
color: colors.$bosgroen;
|
|
30
|
-
font-size: units.$font-size-
|
|
34
|
+
font-size: units.$font-size-h3;
|
|
31
35
|
font-weight: 700;
|
|
36
|
+
@media screen and (min-width: media-query-breakpoints.$screen-xs-min) {
|
|
37
|
+
font-size: units.$font-size-h2;
|
|
38
|
+
}
|
|
32
39
|
}
|
|
33
40
|
|
|
34
41
|
@mixin h3() {
|
|
35
42
|
color: colors.$bosgroen;
|
|
36
|
-
font-size: units.$font-size-
|
|
43
|
+
font-size: units.$font-size-h3s;
|
|
37
44
|
font-weight: 600;
|
|
45
|
+
@media screen and (min-width: media-query-breakpoints.$screen-xs-min) {
|
|
46
|
+
font-size: units.$font-size-h3;
|
|
47
|
+
}
|
|
38
48
|
}
|
|
39
49
|
|
|
40
50
|
@mixin h4() {
|
|
@@ -28,12 +28,20 @@
|
|
|
28
28
|
display: none;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
+
|
|
32
|
+
&.dso-has-navbar-extension {
|
|
33
|
+
.dso-nav {
|
|
34
|
+
> li:last-child {
|
|
35
|
+
margin-inline-end: 8rem;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
31
39
|
}
|
|
32
40
|
|
|
33
41
|
.dso-nav {
|
|
34
42
|
list-style: none;
|
|
35
|
-
margin-
|
|
36
|
-
padding-
|
|
43
|
+
margin-block-end: 0;
|
|
44
|
+
padding-inline-start: 0;
|
|
37
45
|
|
|
38
46
|
> li {
|
|
39
47
|
> a,
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
@use "../../variables/units";
|
|
2
|
+
@use "../../variables/scaffolding";
|
|
3
|
+
@use "../../variables/colors";
|
|
1
4
|
@use "../../variables/media-query-breakpoints";
|
|
2
5
|
|
|
3
6
|
@use "./navbar.mixins" as navbar;
|
|
@@ -22,6 +25,107 @@
|
|
|
22
25
|
}
|
|
23
26
|
}
|
|
24
27
|
}
|
|
28
|
+
|
|
29
|
+
& + .dso-navbar-extension {
|
|
30
|
+
position: relative;
|
|
31
|
+
isolation: isolate;
|
|
32
|
+
|
|
33
|
+
&.dso-animate {
|
|
34
|
+
.dso-navbar-extension-container {
|
|
35
|
+
transition: grid-template-rows 0.5s, visibility 0.5s, margin-block-end 0.5s;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.dso-navbar-extension-container {
|
|
40
|
+
position: relative;
|
|
41
|
+
inset-block-start: -1px;
|
|
42
|
+
|
|
43
|
+
display: grid;
|
|
44
|
+
grid-template-rows: 0fr;
|
|
45
|
+
|
|
46
|
+
margin-block-end: 0;
|
|
47
|
+
|
|
48
|
+
visibility: hidden;
|
|
49
|
+
|
|
50
|
+
inline-size: 100%;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.dso-navbar-extension-expand-button {
|
|
54
|
+
position: absolute;
|
|
55
|
+
inset-inline-end: 0;
|
|
56
|
+
inset-block-start: 1px;
|
|
57
|
+
z-index: 1;
|
|
58
|
+
|
|
59
|
+
translate: 0 -100%;
|
|
60
|
+
|
|
61
|
+
background-color: transparent;
|
|
62
|
+
|
|
63
|
+
padding-inline: units.$u2;
|
|
64
|
+
padding-block: 6px;
|
|
65
|
+
|
|
66
|
+
border: 2px solid transparent;
|
|
67
|
+
border-start-start-radius: scaffolding.$border-radius-base;
|
|
68
|
+
border-start-end-radius: scaffolding.$border-radius-base;
|
|
69
|
+
|
|
70
|
+
font-weight: 600;
|
|
71
|
+
color: colors.$grasgroen;
|
|
72
|
+
|
|
73
|
+
svg.di,
|
|
74
|
+
dso-icon {
|
|
75
|
+
margin-inline-end: units.$u1;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&:hover,
|
|
79
|
+
&:focus {
|
|
80
|
+
text-decoration: underline;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&.dso-active {
|
|
84
|
+
background-color: colors.$grijs-5;
|
|
85
|
+
|
|
86
|
+
border-color: colors.$grijs-20;
|
|
87
|
+
|
|
88
|
+
color: colors.$grijs-90;
|
|
89
|
+
|
|
90
|
+
&::after {
|
|
91
|
+
content: "";
|
|
92
|
+
|
|
93
|
+
position: absolute;
|
|
94
|
+
inset-inline-start: 0;
|
|
95
|
+
inset-block-end: -2px;
|
|
96
|
+
|
|
97
|
+
inline-size: 100%;
|
|
98
|
+
block-size: 2px;
|
|
99
|
+
|
|
100
|
+
background-color: colors.$grijs-5;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
+ .dso-navbar-extension-container {
|
|
104
|
+
visibility: visible;
|
|
105
|
+
|
|
106
|
+
grid-template-rows: 1fr;
|
|
107
|
+
|
|
108
|
+
margin-block-end: units.$u1;
|
|
109
|
+
|
|
110
|
+
.dso-navbar-extension-content {
|
|
111
|
+
border: 2px solid colors.$grijs-20;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.dso-navbar-extension-content {
|
|
118
|
+
overflow: hidden;
|
|
119
|
+
|
|
120
|
+
padding-inline: units.$u2;
|
|
121
|
+
|
|
122
|
+
background-color: colors.$grijs-5;
|
|
123
|
+
|
|
124
|
+
border-start-start-radius: scaffolding.$border-radius-base;
|
|
125
|
+
border-end-end-radius: scaffolding.$border-radius-base;
|
|
126
|
+
border-end-start-radius: scaffolding.$border-radius-base;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
25
129
|
}
|
|
26
130
|
|
|
27
131
|
.dso-nav {
|