dso-toolkit 58.3.0 → 59.0.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 +25 -0
- package/README.md +7 -3
- package/dist/dso.css +17 -178
- package/package.json +1 -1
- package/src/components/anchor/anchor.mixins.scss +32 -0
- package/src/components/anchor/anchor.scss +5 -15
- package/src/components/banner/banner.scss +0 -5
- package/src/components/delete/_index.scss +1 -0
- package/src/components/delete/delete.mixins.scss +11 -0
- package/src/components/delete/delete.scss +2 -3
- package/src/components/document-component/document-component.scss +12 -10
- package/src/components/insert/_index.scss +2 -0
- package/src/components/insert/insert.mixins.scss +17 -0
- package/src/components/insert/insert.scss +3 -7
- package/src/components/insert/insert.variables.scss +1 -0
- package/src/components/modal/modal.mixins.scss +2 -2
- package/src/dso.scss +0 -1
- package/src/components/tooltip/_index.scss +0 -2
- package/src/components/tooltip/readme.md +0 -3
- package/src/components/tooltip/tooltip.mixins.scss +0 -108
- package/src/components/tooltip/tooltip.scss +0 -60
- package/src/components/tooltip/tooltip.variables.scss +0 -16
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,31 @@ All notable changes to this project will be documented in this file.
|
|
|
3
3
|
|
|
4
4
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
5
5
|
|
|
6
|
+
## Next
|
|
7
|
+
|
|
8
|
+
## 59.0.0 - 24-09-2023
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
* **BREAKING** Document Component: Diverse bevindingen ([#2240](https://github.com/dso-toolkit/dso-toolkit/issues/2240))
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
* Modal: Bij weinig content krimpt de Modal ([#2340](https://github.com/dso-toolkit/dso-toolkit/issues/2340))
|
|
15
|
+
|
|
16
|
+
### Tasks
|
|
17
|
+
* Dangerfile: verduidelijk de foutmeldingen ([#2330](https://github.com/dso-toolkit/dso-toolkit/issues/2330))
|
|
18
|
+
* Templates: Kleine template verbeteringen ([#2278](https://github.com/dso-toolkit/dso-toolkit/issues/2278))
|
|
19
|
+
|
|
20
|
+
### Removed
|
|
21
|
+
* **BREAKING** Banner: Legacy selector verwijderen ([#2304](https://github.com/dso-toolkit/dso-toolkit/issues/2304))
|
|
22
|
+
* **BREAKING** Tooltip: Verwijderen HTML/CSS implementatie ([#2017](https://github.com/dso-toolkit/dso-toolkit/issues/2017))
|
|
23
|
+
|
|
24
|
+
### Docs
|
|
25
|
+
* Repository Readme: voeg Angular toe ([#2319](https://github.com/dso-toolkit/dso-toolkit/issues/2319))
|
|
26
|
+
* Button Row: Tertiare variant toont niet in documentatie ([#2326](https://github.com/dso-toolkit/dso-toolkit/issues/2326))
|
|
27
|
+
|
|
28
|
+
## 58.3.1
|
|
29
|
+
* Angular: Componenten worden niet meer bij customElements geregistreerd, poging 2 ([#2328](https://github.com/dso-toolkit/dso-toolkit/issues/2328))
|
|
30
|
+
|
|
6
31
|
## 58.3.0 - 20-09-2023
|
|
7
32
|
|
|
8
33
|
### Added
|
package/README.md
CHANGED
|
@@ -3,9 +3,11 @@
|
|
|
3
3
|
- [Slack chat](https://dso-toolkit.slack.com/)
|
|
4
4
|
- [Slack chat invite link](https://join.slack.com/t/dso-toolkit/shared_invite/zt-58125gbo-FtPAARcnU47rMgkT7KWikA)
|
|
5
5
|
|
|
6
|
-
# DSO Toolkit - Design System
|
|
6
|
+
# DSO Toolkit - Design System of the Digitaal Stelsel Omgevingswet (DSO)
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
(Digitaal Stelsel Omgevingswet, translated, stands for Digital System for the Environment and Planning Act of the Netherlands)
|
|
9
|
+
|
|
10
|
+
The DSO Toolkit consists of documentation and a style guide. In addition, two implementations are provided: CSS and Web Components. The Web Components for Angular and React get wrappers, see issue #915.
|
|
9
11
|
|
|
10
12
|
## Getting started
|
|
11
13
|
|
|
@@ -85,6 +87,7 @@ The easiest way to start this environment is with one of the following commands:
|
|
|
85
87
|
```
|
|
86
88
|
yarn start
|
|
87
89
|
yarn start --react
|
|
90
|
+
yarn start --angular
|
|
88
91
|
yarn start --all
|
|
89
92
|
```
|
|
90
93
|
|
|
@@ -94,7 +97,8 @@ The following processes are started:
|
|
|
94
97
|
|
|
95
98
|
- **default**: CSS in watch mode, Stencil in watch mode, Storybook and Cypress
|
|
96
99
|
- **--react**: CSS in watch mode, Stencil in watch mode, Storybook for React components
|
|
97
|
-
- **--
|
|
100
|
+
- **--react**: CSS in watch mode, Stencil in watch mode, Storybook for Angular components
|
|
101
|
+
- **--all**: CSS in watch mode, Stencil in watch mode, Storybook, and Storybook for React and Angular components
|
|
98
102
|
|
|
99
103
|
This will start Stencil on http://localhost:45333, Storybook on http://localhost:45000 and the Cypress GUI. Since Stencil and Storybook are running it's possible to develop the components, but keep in mind the tests run in a production environment: This means no Stencil development tools like HMR.
|
|
100
104
|
|
package/dist/dso.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/* DSO Toolkit version:
|
|
2
|
-
:root { --dso-toolkit-version:
|
|
1
|
+
/* DSO Toolkit version: 59.0.0 */
|
|
2
|
+
:root { --dso-toolkit-version: 59.0.0 }
|
|
3
3
|
|
|
4
4
|
@font-face {
|
|
5
5
|
font-family: "Asap";
|
|
@@ -1125,63 +1125,39 @@ a.extern::after {
|
|
|
1125
1125
|
color: #fff;
|
|
1126
1126
|
}
|
|
1127
1127
|
|
|
1128
|
-
.banner {
|
|
1129
|
-
background-color: #b62f41 !important;
|
|
1130
|
-
}
|
|
1131
|
-
|
|
1132
|
-
.banner,
|
|
1133
1128
|
.dso-banner:not(.row) {
|
|
1134
1129
|
padding: 16px 0;
|
|
1135
1130
|
position: relative;
|
|
1136
1131
|
--link-color: #000;
|
|
1137
1132
|
}
|
|
1138
|
-
.banner.dso-compact,
|
|
1139
1133
|
.dso-banner:not(.row).dso-compact {
|
|
1140
1134
|
padding: 12px 0;
|
|
1141
1135
|
}
|
|
1142
|
-
.banner a,
|
|
1143
1136
|
.dso-banner:not(.row) a {
|
|
1144
1137
|
text-decoration: underline;
|
|
1145
1138
|
}
|
|
1146
|
-
.banner a, .banner a:hover, .banner a:focus, .banner a:active, .banner a:visited
|
|
1147
|
-
.dso-banner:not(.row) a,
|
|
1148
|
-
.dso-banner:not(.row) a:hover,
|
|
1149
|
-
.dso-banner:not(.row) a:focus,
|
|
1150
|
-
.dso-banner:not(.row) a:active,
|
|
1151
|
-
.dso-banner:not(.row) a:visited {
|
|
1139
|
+
.dso-banner:not(.row) a, .dso-banner:not(.row) a:hover, .dso-banner:not(.row) a:focus, .dso-banner:not(.row) a:active, .dso-banner:not(.row) a:visited {
|
|
1152
1140
|
color: var(--link-color);
|
|
1153
1141
|
}
|
|
1154
|
-
.banner a:active,
|
|
1155
1142
|
.dso-banner:not(.row) a:active {
|
|
1156
1143
|
text-decoration: none;
|
|
1157
1144
|
}
|
|
1158
|
-
.banner .row > div,
|
|
1159
1145
|
.dso-banner:not(.row) .row > div {
|
|
1160
1146
|
line-height: 1.5;
|
|
1161
1147
|
position: relative;
|
|
1162
1148
|
}
|
|
1163
|
-
.banner .row > div button,
|
|
1164
1149
|
.dso-banner:not(.row) .row > div button {
|
|
1165
1150
|
position: absolute;
|
|
1166
1151
|
right: 16px;
|
|
1167
1152
|
top: 0;
|
|
1168
1153
|
}
|
|
1169
|
-
.banner .row > div button dso-icon,
|
|
1170
|
-
.banner .row > div button svg.di,
|
|
1171
1154
|
.dso-banner:not(.row) .row > div button dso-icon,
|
|
1172
1155
|
.dso-banner:not(.row) .row > div button svg.di {
|
|
1173
1156
|
color: #000;
|
|
1174
1157
|
}
|
|
1175
|
-
.banner .row > div > .dso-rich-content,
|
|
1176
1158
|
.dso-banner:not(.row) .row > div > .dso-rich-content {
|
|
1177
1159
|
padding-right: 24px;
|
|
1178
1160
|
}
|
|
1179
|
-
.banner .row > div > .dso-rich-content h1,
|
|
1180
|
-
.banner .row > div > .dso-rich-content h2,
|
|
1181
|
-
.banner .row > div > .dso-rich-content h3,
|
|
1182
|
-
.banner .row > div > .dso-rich-content h4,
|
|
1183
|
-
.banner .row > div > .dso-rich-content h5,
|
|
1184
|
-
.banner .row > div > .dso-rich-content h6,
|
|
1185
1161
|
.dso-banner:not(.row) .row > div > .dso-rich-content h1,
|
|
1186
1162
|
.dso-banner:not(.row) .row > div > .dso-rich-content h2,
|
|
1187
1163
|
.dso-banner:not(.row) .row > div > .dso-rich-content h3,
|
|
@@ -1193,12 +1169,6 @@ a.extern::after {
|
|
|
1193
1169
|
line-height: 1.5;
|
|
1194
1170
|
margin-bottom: 0;
|
|
1195
1171
|
}
|
|
1196
|
-
.banner .row > div > .dso-rich-content h1 + p,
|
|
1197
|
-
.banner .row > div > .dso-rich-content h2 + p,
|
|
1198
|
-
.banner .row > div > .dso-rich-content h3 + p,
|
|
1199
|
-
.banner .row > div > .dso-rich-content h4 + p,
|
|
1200
|
-
.banner .row > div > .dso-rich-content h5 + p,
|
|
1201
|
-
.banner .row > div > .dso-rich-content h6 + p,
|
|
1202
1172
|
.dso-banner:not(.row) .row > div > .dso-rich-content h1 + p,
|
|
1203
1173
|
.dso-banner:not(.row) .row > div > .dso-rich-content h2 + p,
|
|
1204
1174
|
.dso-banner:not(.row) .row > div > .dso-rich-content h3 + p,
|
|
@@ -1207,12 +1177,6 @@ a.extern::after {
|
|
|
1207
1177
|
.dso-banner:not(.row) .row > div > .dso-rich-content h6 + p {
|
|
1208
1178
|
display: inline;
|
|
1209
1179
|
}
|
|
1210
|
-
.banner .row > div > .dso-rich-content h1 + p + *,
|
|
1211
|
-
.banner .row > div > .dso-rich-content h2 + p + *,
|
|
1212
|
-
.banner .row > div > .dso-rich-content h3 + p + *,
|
|
1213
|
-
.banner .row > div > .dso-rich-content h4 + p + *,
|
|
1214
|
-
.banner .row > div > .dso-rich-content h5 + p + *,
|
|
1215
|
-
.banner .row > div > .dso-rich-content h6 + p + *,
|
|
1216
1180
|
.dso-banner:not(.row) .row > div > .dso-rich-content h1 + p + *,
|
|
1217
1181
|
.dso-banner:not(.row) .row > div > .dso-rich-content h2 + p + *,
|
|
1218
1182
|
.dso-banner:not(.row) .row > div > .dso-rich-content h3 + p + *,
|
|
@@ -1221,20 +1185,16 @@ a.extern::after {
|
|
|
1221
1185
|
.dso-banner:not(.row) .row > div > .dso-rich-content h6 + p + * {
|
|
1222
1186
|
margin-top: 16px;
|
|
1223
1187
|
}
|
|
1224
|
-
.banner .row > div > .dso-rich-content > h2:first-child,
|
|
1225
1188
|
.dso-banner:not(.row) .row > div > .dso-rich-content > h2:first-child {
|
|
1226
1189
|
float: left;
|
|
1227
1190
|
margin-right: 8px;
|
|
1228
1191
|
}
|
|
1229
|
-
.banner .row > div > .dso-rich-content *:first-child,
|
|
1230
1192
|
.dso-banner:not(.row) .row > div > .dso-rich-content *:first-child {
|
|
1231
1193
|
margin-top: 0;
|
|
1232
1194
|
}
|
|
1233
|
-
.banner .row > div > .dso-rich-content *:last-child,
|
|
1234
1195
|
.dso-banner:not(.row) .row > div > .dso-rich-content *:last-child {
|
|
1235
1196
|
margin-bottom: 0;
|
|
1236
1197
|
}
|
|
1237
|
-
.banner .row > div::before,
|
|
1238
1198
|
.dso-banner:not(.row) .row > div::before {
|
|
1239
1199
|
content: "";
|
|
1240
1200
|
display: inline-block;
|
|
@@ -1243,28 +1203,23 @@ a.extern::after {
|
|
|
1243
1203
|
top: 0;
|
|
1244
1204
|
}
|
|
1245
1205
|
@media screen and (min-width: 480px) {
|
|
1246
|
-
.banner:not(.dso-no-icon) .row > div,
|
|
1247
1206
|
.dso-banner:not(.row):not(.dso-no-icon) .row > div {
|
|
1248
1207
|
padding-left: 48px;
|
|
1249
1208
|
}
|
|
1250
1209
|
}
|
|
1251
1210
|
@media screen and (max-width: 479.01px) {
|
|
1252
|
-
.banner:not(.dso-no-icon) .row > div,
|
|
1253
1211
|
.dso-banner:not(.row):not(.dso-no-icon) .row > div {
|
|
1254
1212
|
padding-top: 39px;
|
|
1255
1213
|
}
|
|
1256
|
-
.banner:not(.dso-no-icon) .row > div > .dso-rich-content,
|
|
1257
1214
|
.dso-banner:not(.row):not(.dso-no-icon) .row > div > .dso-rich-content {
|
|
1258
1215
|
padding-right: 0;
|
|
1259
1216
|
}
|
|
1260
1217
|
}
|
|
1261
|
-
.banner.alert-danger,
|
|
1262
1218
|
.dso-banner:not(.row).alert-danger {
|
|
1263
1219
|
color: #000;
|
|
1264
1220
|
background-color: #f5d8dc;
|
|
1265
1221
|
border-color: #f5d8dc;
|
|
1266
1222
|
}
|
|
1267
|
-
.banner.alert-danger:not(.dso-no-icon) .row > div::before,
|
|
1268
1223
|
.dso-banner:not(.row).alert-danger:not(.dso-no-icon) .row > div::before {
|
|
1269
1224
|
background: url("./dso-icons.svg#img-status-danger") no-repeat;
|
|
1270
1225
|
background-position: center;
|
|
@@ -1273,13 +1228,11 @@ a.extern::after {
|
|
|
1273
1228
|
vertical-align: top;
|
|
1274
1229
|
width: 24px;
|
|
1275
1230
|
}
|
|
1276
|
-
.banner.alert-error,
|
|
1277
1231
|
.dso-banner:not(.row).alert-error {
|
|
1278
1232
|
color: #000;
|
|
1279
1233
|
background-color: #f5d8dc;
|
|
1280
1234
|
border-color: #f5d8dc;
|
|
1281
1235
|
}
|
|
1282
|
-
.banner.alert-error:not(.dso-no-icon) .row > div::before,
|
|
1283
1236
|
.dso-banner:not(.row).alert-error:not(.dso-no-icon) .row > div::before {
|
|
1284
1237
|
background: url("./dso-icons.svg#img-status-error") no-repeat;
|
|
1285
1238
|
background-position: center;
|
|
@@ -1288,13 +1241,11 @@ a.extern::after {
|
|
|
1288
1241
|
vertical-align: top;
|
|
1289
1242
|
width: 24px;
|
|
1290
1243
|
}
|
|
1291
|
-
.banner.alert-info,
|
|
1292
1244
|
.dso-banner:not(.row).alert-info {
|
|
1293
1245
|
color: #000;
|
|
1294
1246
|
background-color: #e1ecf7;
|
|
1295
1247
|
border-color: #e1ecf7;
|
|
1296
1248
|
}
|
|
1297
|
-
.banner.alert-info:not(.dso-no-icon) .row > div::before,
|
|
1298
1249
|
.dso-banner:not(.row).alert-info:not(.dso-no-icon) .row > div::before {
|
|
1299
1250
|
background: url("./dso-icons.svg#img-status-info") no-repeat;
|
|
1300
1251
|
background-position: center;
|
|
@@ -1303,13 +1254,11 @@ a.extern::after {
|
|
|
1303
1254
|
vertical-align: top;
|
|
1304
1255
|
width: 24px;
|
|
1305
1256
|
}
|
|
1306
|
-
.banner.alert-warning,
|
|
1307
1257
|
.dso-banner:not(.row).alert-warning {
|
|
1308
1258
|
color: #000;
|
|
1309
1259
|
background-color: #f8f6cc;
|
|
1310
1260
|
border-color: #f8f6cc;
|
|
1311
1261
|
}
|
|
1312
|
-
.banner.alert-warning:not(.dso-no-icon) .row > div::before,
|
|
1313
1262
|
.dso-banner:not(.row).alert-warning:not(.dso-no-icon) .row > div::before {
|
|
1314
1263
|
background: url("./dso-icons.svg#img-status-warning") no-repeat;
|
|
1315
1264
|
background-position: center;
|
|
@@ -1318,7 +1267,6 @@ a.extern::after {
|
|
|
1318
1267
|
vertical-align: top;
|
|
1319
1268
|
width: 24px;
|
|
1320
1269
|
}
|
|
1321
|
-
.banner a.download::after,
|
|
1322
1270
|
.dso-banner:not(.row) a.download::after {
|
|
1323
1271
|
background: url("./dso-icons.svg#img-download-grijs90") no-repeat;
|
|
1324
1272
|
background-position: center;
|
|
@@ -1327,7 +1275,6 @@ a.extern::after {
|
|
|
1327
1275
|
vertical-align: top;
|
|
1328
1276
|
width: 24px;
|
|
1329
1277
|
}
|
|
1330
|
-
.banner a.extern::after,
|
|
1331
1278
|
.dso-banner:not(.row) a.extern::after {
|
|
1332
1279
|
background: url("./dso-icons.svg#img-external-link-grijs90") no-repeat;
|
|
1333
1280
|
background-position: center;
|
|
@@ -2906,6 +2853,10 @@ dl.dso-bordered dd:last-of-type {
|
|
|
2906
2853
|
del {
|
|
2907
2854
|
background-color: #f5d8dc;
|
|
2908
2855
|
color: #000;
|
|
2856
|
+
text-decoration: line-through;
|
|
2857
|
+
}
|
|
2858
|
+
del a {
|
|
2859
|
+
color: #000;
|
|
2909
2860
|
}
|
|
2910
2861
|
|
|
2911
2862
|
.dso-description-term {
|
|
@@ -3002,15 +2953,15 @@ dso-document-component[not-applicable] dso-document-component[not-applicable] {
|
|
|
3002
2953
|
}
|
|
3003
2954
|
|
|
3004
2955
|
dso-responsive-element:not([small]) dso-document-component dso-document-component {
|
|
3005
|
-
--depth: var(--
|
|
3006
|
-
--
|
|
2956
|
+
--depth: var(--a, 1);
|
|
2957
|
+
--b: calc(var(--depth) + 1);
|
|
3007
2958
|
margin-left: 24px;
|
|
3008
2959
|
}
|
|
3009
2960
|
dso-responsive-element:not([small]) dso-document-component dso-document-component[filtered]::before {
|
|
3010
2961
|
left: calc((var(--depth) * 24px + 3px) * -1);
|
|
3011
2962
|
}
|
|
3012
2963
|
dso-responsive-element:not([small]) dso-document-component dso-document-component li {
|
|
3013
|
-
--
|
|
2964
|
+
--a: calc(var(--b));
|
|
3014
2965
|
}
|
|
3015
2966
|
|
|
3016
2967
|
.dso-document-header {
|
|
@@ -5853,10 +5804,13 @@ input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer
|
|
|
5853
5804
|
}
|
|
5854
5805
|
|
|
5855
5806
|
ins {
|
|
5807
|
+
text-decoration: none;
|
|
5856
5808
|
background-color: #e4f1d4;
|
|
5857
5809
|
box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.25);
|
|
5858
5810
|
color: #000;
|
|
5859
|
-
|
|
5811
|
+
}
|
|
5812
|
+
ins a {
|
|
5813
|
+
color: #000;
|
|
5860
5814
|
}
|
|
5861
5815
|
|
|
5862
5816
|
.dso-justify-form-groups {
|
|
@@ -6457,7 +6411,7 @@ mark {
|
|
|
6457
6411
|
background-color: rgba(255, 255, 255, 0.8);
|
|
6458
6412
|
}
|
|
6459
6413
|
.dso-modal .dso-dialog {
|
|
6460
|
-
|
|
6414
|
+
inline-size: 640px;
|
|
6461
6415
|
background-color: #fff;
|
|
6462
6416
|
opacity: 1;
|
|
6463
6417
|
box-shadow: 0 8px 24px 0 rgba(25, 25, 25, 0.4);
|
|
@@ -6629,7 +6583,7 @@ mark {
|
|
|
6629
6583
|
.dso-modal.dso-fullscreen .dso-dialog {
|
|
6630
6584
|
display: flex;
|
|
6631
6585
|
flex-direction: column;
|
|
6632
|
-
|
|
6586
|
+
inline-size: 100%;
|
|
6633
6587
|
block-size: 100%;
|
|
6634
6588
|
}
|
|
6635
6589
|
.dso-modal.dso-fullscreen .dso-dialog > dso-scrollable {
|
|
@@ -6664,7 +6618,7 @@ mark {
|
|
|
6664
6618
|
.dso-modal .dso-dialog {
|
|
6665
6619
|
display: flex;
|
|
6666
6620
|
flex-direction: column;
|
|
6667
|
-
|
|
6621
|
+
inline-size: 100%;
|
|
6668
6622
|
block-size: 100%;
|
|
6669
6623
|
}
|
|
6670
6624
|
.dso-modal .dso-dialog > dso-scrollable {
|
|
@@ -8237,121 +8191,6 @@ dso-responsive-element.dso-tile-grid[large] {
|
|
|
8237
8191
|
grid-template-columns: repeat(5, 1fr);
|
|
8238
8192
|
}
|
|
8239
8193
|
|
|
8240
|
-
.tooltip {
|
|
8241
|
-
font-family: Asap, sans-serif;
|
|
8242
|
-
font-style: normal;
|
|
8243
|
-
font-weight: 400;
|
|
8244
|
-
line-height: 1.5;
|
|
8245
|
-
line-break: auto;
|
|
8246
|
-
text-align: left;
|
|
8247
|
-
text-align: start;
|
|
8248
|
-
text-decoration: none;
|
|
8249
|
-
text-shadow: none;
|
|
8250
|
-
text-transform: none;
|
|
8251
|
-
letter-spacing: normal;
|
|
8252
|
-
word-break: normal;
|
|
8253
|
-
word-spacing: normal;
|
|
8254
|
-
word-wrap: normal;
|
|
8255
|
-
white-space: normal;
|
|
8256
|
-
--link-color: #39870c;
|
|
8257
|
-
display: block;
|
|
8258
|
-
filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
|
|
8259
|
-
font-size: 14px;
|
|
8260
|
-
opacity: 0;
|
|
8261
|
-
position: absolute;
|
|
8262
|
-
transition: opacity 0.15s linear;
|
|
8263
|
-
z-index: 410;
|
|
8264
|
-
}
|
|
8265
|
-
.tooltip.in {
|
|
8266
|
-
opacity: 1;
|
|
8267
|
-
}
|
|
8268
|
-
.tooltip .tooltip-inner {
|
|
8269
|
-
background-color: #fff;
|
|
8270
|
-
border-radius: 4px;
|
|
8271
|
-
color: #191919;
|
|
8272
|
-
display: inline-block;
|
|
8273
|
-
font-size: 1rem;
|
|
8274
|
-
max-width: 640px;
|
|
8275
|
-
padding: 8px 16px;
|
|
8276
|
-
position: relative;
|
|
8277
|
-
}
|
|
8278
|
-
.tooltip .tooltip-inner.dso-small {
|
|
8279
|
-
max-width: 320px;
|
|
8280
|
-
}
|
|
8281
|
-
.tooltip .tooltip-arrow {
|
|
8282
|
-
border-color: transparent;
|
|
8283
|
-
border-style: solid;
|
|
8284
|
-
height: 0;
|
|
8285
|
-
width: 0;
|
|
8286
|
-
}
|
|
8287
|
-
.tooltip .tooltip-arrow {
|
|
8288
|
-
position: absolute;
|
|
8289
|
-
}
|
|
8290
|
-
.tooltip:not(.no-arrow).top {
|
|
8291
|
-
margin-top: -3px;
|
|
8292
|
-
padding: 6px 0;
|
|
8293
|
-
}
|
|
8294
|
-
.tooltip:not(.no-arrow).top .tooltip-arrow {
|
|
8295
|
-
border-top-color: #fff;
|
|
8296
|
-
border-width: 6px 6px 0;
|
|
8297
|
-
bottom: 0;
|
|
8298
|
-
}
|
|
8299
|
-
.tooltip:not(.no-arrow).top .tooltip-arrow {
|
|
8300
|
-
bottom: 0;
|
|
8301
|
-
left: 50%;
|
|
8302
|
-
margin-left: -6px;
|
|
8303
|
-
}
|
|
8304
|
-
.tooltip:not(.no-arrow).right {
|
|
8305
|
-
margin-left: 3px;
|
|
8306
|
-
padding: 0 6px;
|
|
8307
|
-
}
|
|
8308
|
-
.tooltip:not(.no-arrow).right .tooltip-arrow {
|
|
8309
|
-
border-right-color: #fff;
|
|
8310
|
-
border-width: 6px 6px 6px 0;
|
|
8311
|
-
left: 0;
|
|
8312
|
-
}
|
|
8313
|
-
.tooltip:not(.no-arrow).right .tooltip-arrow {
|
|
8314
|
-
left: 0;
|
|
8315
|
-
margin-top: -6px;
|
|
8316
|
-
top: 50%;
|
|
8317
|
-
}
|
|
8318
|
-
.tooltip:not(.no-arrow).left {
|
|
8319
|
-
margin-left: -3px;
|
|
8320
|
-
padding: 0 6px;
|
|
8321
|
-
}
|
|
8322
|
-
.tooltip:not(.no-arrow).left .tooltip-arrow {
|
|
8323
|
-
border-left-color: #fff;
|
|
8324
|
-
border-width: 6px 0 6px 6px;
|
|
8325
|
-
right: 0;
|
|
8326
|
-
}
|
|
8327
|
-
.tooltip:not(.no-arrow).left .tooltip-arrow {
|
|
8328
|
-
margin-top: -6px;
|
|
8329
|
-
right: 0;
|
|
8330
|
-
top: 50%;
|
|
8331
|
-
}
|
|
8332
|
-
.tooltip:not(.no-arrow).bottom {
|
|
8333
|
-
margin-top: 3px;
|
|
8334
|
-
padding: 6px 0;
|
|
8335
|
-
}
|
|
8336
|
-
.tooltip:not(.no-arrow).bottom .tooltip-arrow {
|
|
8337
|
-
border-bottom-color: #fff;
|
|
8338
|
-
border-width: 0 6px 6px;
|
|
8339
|
-
top: 0;
|
|
8340
|
-
}
|
|
8341
|
-
.tooltip:not(.no-arrow).bottom .tooltip-arrow {
|
|
8342
|
-
left: 50%;
|
|
8343
|
-
margin-left: -6px;
|
|
8344
|
-
top: 0;
|
|
8345
|
-
}
|
|
8346
|
-
|
|
8347
|
-
.fade {
|
|
8348
|
-
opacity: 0;
|
|
8349
|
-
transition: opacity 0.15s linear;
|
|
8350
|
-
}
|
|
8351
|
-
.fade.in {
|
|
8352
|
-
opacity: 1;
|
|
8353
|
-
}
|
|
8354
|
-
|
|
8355
8194
|
dso-viewer-grid .dso-filterblok {
|
|
8356
8195
|
margin-left: -16px;
|
|
8357
8196
|
margin-right: -16px;
|
package/package.json
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
@use "../../di";
|
|
1
2
|
@use "../../variables/scaffolding";
|
|
2
3
|
|
|
4
|
+
@use "../icon";
|
|
5
|
+
|
|
3
6
|
@use "anchor.variables" as anchor-variables;
|
|
4
7
|
|
|
5
8
|
@mixin pseudo() {
|
|
@@ -52,3 +55,32 @@
|
|
|
52
55
|
text-decoration: underline;
|
|
53
56
|
}
|
|
54
57
|
}
|
|
58
|
+
|
|
59
|
+
@mixin mode-base() {
|
|
60
|
+
&::after {
|
|
61
|
+
content: "";
|
|
62
|
+
display: inline-block;
|
|
63
|
+
margin-left: anchor-variables.$spacer-width;
|
|
64
|
+
vertical-align: icon.$vertical-align;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
@mixin mode-download($base-styling: false) {
|
|
69
|
+
@if ($base-styling) {
|
|
70
|
+
@include mode-base();
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&::after {
|
|
74
|
+
@include di.base("download");
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@mixin mode-extern($base-styling: false) {
|
|
79
|
+
@if ($base-styling) {
|
|
80
|
+
@include mode-base();
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&::after {
|
|
84
|
+
@include di.base("external-link");
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -1,30 +1,20 @@
|
|
|
1
|
-
@use "../anchor";
|
|
2
1
|
@use "../icon";
|
|
3
2
|
|
|
4
|
-
@use "
|
|
3
|
+
@use "anchor.mixins" as anchor-mixins;
|
|
5
4
|
|
|
6
5
|
a {
|
|
7
|
-
@include anchor.root();
|
|
6
|
+
@include anchor-mixins.root();
|
|
8
7
|
|
|
9
8
|
&.download,
|
|
10
9
|
&.extern {
|
|
11
|
-
|
|
12
|
-
content: "";
|
|
13
|
-
display: inline-block;
|
|
14
|
-
margin-left: anchor.$spacer-width;
|
|
15
|
-
vertical-align: icon.$vertical-align;
|
|
16
|
-
}
|
|
10
|
+
@include anchor-mixins.mode-base();
|
|
17
11
|
}
|
|
18
12
|
|
|
19
13
|
&.download {
|
|
20
|
-
|
|
21
|
-
@include di.base("download");
|
|
22
|
-
}
|
|
14
|
+
@include anchor-mixins.mode-download();
|
|
23
15
|
}
|
|
24
16
|
|
|
25
17
|
&.extern {
|
|
26
|
-
|
|
27
|
-
@include di.base("external-link");
|
|
28
|
-
}
|
|
18
|
+
@include anchor-mixins.mode-extern();
|
|
29
19
|
}
|
|
30
20
|
}
|
|
@@ -7,12 +7,7 @@
|
|
|
7
7
|
@use "banner.mixins" as banner-mixins;
|
|
8
8
|
@use "banner.variables" as banner-variables;
|
|
9
9
|
|
|
10
|
-
.banner {
|
|
11
|
-
background-color: colors.$invalid-color !important;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
10
|
// HTML/CSS
|
|
15
|
-
.banner,
|
|
16
11
|
.dso-banner:not(.row) {
|
|
17
12
|
@include banner-mixins.root();
|
|
18
13
|
@include banner-mixins.children();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@forward "delete.mixins";
|
|
@@ -30,20 +30,22 @@ dso-document-component[not-applicable] {
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
dso-responsive-element:not([small]) {
|
|
33
|
-
dso-document-component
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
dso-document-component {
|
|
34
|
+
dso-document-component {
|
|
35
|
+
--depth: var(--a, 1);
|
|
36
|
+
--b: calc(var(--depth) + 1);
|
|
36
37
|
|
|
37
|
-
|
|
38
|
+
margin-left: document-component-variables.$indent;
|
|
38
39
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
&[filtered] {
|
|
41
|
+
&::before {
|
|
42
|
+
left: calc((var(--depth) * #{document-component-variables.$indent} + 3px) * -1);
|
|
43
|
+
}
|
|
42
44
|
}
|
|
43
|
-
}
|
|
44
45
|
|
|
45
|
-
|
|
46
|
-
|
|
46
|
+
li {
|
|
47
|
+
--a: calc(var(--b));
|
|
48
|
+
}
|
|
47
49
|
}
|
|
48
50
|
}
|
|
49
51
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
@use "../../variables/colors";
|
|
2
|
+
|
|
3
|
+
@use "insert.variables" as insert-variables;
|
|
4
|
+
|
|
5
|
+
@mixin element() {
|
|
6
|
+
text-decoration: none;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@mixin root() {
|
|
10
|
+
background-color: colors.$success-bg-color;
|
|
11
|
+
box-shadow: insert-variables.$box-shadow;
|
|
12
|
+
color: colors.$zwart;
|
|
13
|
+
|
|
14
|
+
a {
|
|
15
|
+
color: colors.$zwart;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
@use "
|
|
2
|
-
|
|
3
|
-
$insert-box-shadow: 0 1px 3px 1px rgb(0 0 0 / 25%);
|
|
1
|
+
@use "insert.mixins" as insert-mixins;
|
|
4
2
|
|
|
5
3
|
ins {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
color: colors.$zwart;
|
|
9
|
-
text-decoration: none;
|
|
4
|
+
@include insert-mixins.element();
|
|
5
|
+
@include insert-mixins.root();
|
|
10
6
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
$box-shadow: 0 1px 3px 1px rgb(0 0 0 / 25%);
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.dso-dialog {
|
|
34
|
-
|
|
34
|
+
inline-size: modal-variables.$max-width;
|
|
35
35
|
|
|
36
36
|
background-color: modal-variables.$content-bg;
|
|
37
37
|
|
|
@@ -225,7 +225,7 @@
|
|
|
225
225
|
display: flex;
|
|
226
226
|
flex-direction: column;
|
|
227
227
|
|
|
228
|
-
|
|
228
|
+
inline-size: 100%;
|
|
229
229
|
block-size: 100%;
|
|
230
230
|
|
|
231
231
|
> dso-scrollable {
|
package/src/dso.scss
CHANGED
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
@use "../../variables/colors";
|
|
2
|
-
@use "../../variables/typography";
|
|
3
|
-
@use "../../variables/zindex";
|
|
4
|
-
|
|
5
|
-
@use "tooltip.variables" as tooltip-variables;
|
|
6
|
-
|
|
7
|
-
@mixin _reset-text() {
|
|
8
|
-
font-family: typography.$font-family-base;
|
|
9
|
-
// We deliberately do NOT reset font-size.
|
|
10
|
-
font-style: normal;
|
|
11
|
-
font-weight: 400;
|
|
12
|
-
line-height: typography.$line-height-base;
|
|
13
|
-
line-break: auto;
|
|
14
|
-
text-align: left; // Fallback for where `start` is not supported
|
|
15
|
-
text-align: start;
|
|
16
|
-
text-decoration: none;
|
|
17
|
-
text-shadow: none;
|
|
18
|
-
text-transform: none;
|
|
19
|
-
letter-spacing: normal;
|
|
20
|
-
word-break: normal;
|
|
21
|
-
word-spacing: normal;
|
|
22
|
-
word-wrap: normal;
|
|
23
|
-
white-space: normal;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@mixin root() {
|
|
27
|
-
@include _reset-text();
|
|
28
|
-
|
|
29
|
-
--link-color: #{colors.$grasgroen};
|
|
30
|
-
|
|
31
|
-
display: block;
|
|
32
|
-
filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
|
|
33
|
-
font-size: typography.$font-size-small;
|
|
34
|
-
opacity: 0;
|
|
35
|
-
position: absolute;
|
|
36
|
-
transition: opacity tooltip-variables.$transition-duration linear;
|
|
37
|
-
z-index: zindex.$tooltip;
|
|
38
|
-
|
|
39
|
-
&.in {
|
|
40
|
-
opacity: tooltip-variables.$opacity;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.tooltip-inner {
|
|
44
|
-
background-color: colors.$wit;
|
|
45
|
-
border-radius: tooltip-variables.$border-radius;
|
|
46
|
-
color: colors.$grijs-90;
|
|
47
|
-
display: inline-block;
|
|
48
|
-
font-size: typography.$root-font-size-base;
|
|
49
|
-
max-width: tooltip-variables.$max-width;
|
|
50
|
-
padding: tooltip-variables.$padding-horizontal tooltip-variables.$padding-vertical;
|
|
51
|
-
position: relative;
|
|
52
|
-
|
|
53
|
-
&.dso-small {
|
|
54
|
-
max-width: tooltip-variables.$max-width-small;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.tooltip-arrow {
|
|
59
|
-
border-color: transparent;
|
|
60
|
-
border-style: solid;
|
|
61
|
-
height: 0;
|
|
62
|
-
width: 0;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
@mixin arrowTop() {
|
|
67
|
-
margin-top: -3px;
|
|
68
|
-
padding: tooltip-variables.$arrow-width 0;
|
|
69
|
-
|
|
70
|
-
.tooltip-arrow {
|
|
71
|
-
border-top-color: tooltip-variables.$arrow-color;
|
|
72
|
-
border-width: tooltip-variables.$arrow-width tooltip-variables.$arrow-width 0;
|
|
73
|
-
bottom: 0;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
@mixin arrowRight() {
|
|
78
|
-
margin-left: 3px;
|
|
79
|
-
padding: 0 tooltip-variables.$arrow-width;
|
|
80
|
-
|
|
81
|
-
.tooltip-arrow {
|
|
82
|
-
border-right-color: tooltip-variables.$arrow-color;
|
|
83
|
-
border-width: tooltip-variables.$arrow-width tooltip-variables.$arrow-width tooltip-variables.$arrow-width 0;
|
|
84
|
-
left: 0;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
@mixin arrowLeft() {
|
|
89
|
-
margin-left: -3px;
|
|
90
|
-
padding: 0 tooltip-variables.$arrow-width;
|
|
91
|
-
|
|
92
|
-
.tooltip-arrow {
|
|
93
|
-
border-left-color: tooltip-variables.$arrow-color;
|
|
94
|
-
border-width: tooltip-variables.$arrow-width 0 tooltip-variables.$arrow-width tooltip-variables.$arrow-width;
|
|
95
|
-
right: 0;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
@mixin arrowBottom() {
|
|
100
|
-
margin-top: 3px;
|
|
101
|
-
padding: tooltip-variables.$arrow-width 0;
|
|
102
|
-
|
|
103
|
-
.tooltip-arrow {
|
|
104
|
-
border-bottom-color: tooltip-variables.$arrow-color;
|
|
105
|
-
border-width: 0 tooltip-variables.$arrow-width tooltip-variables.$arrow-width;
|
|
106
|
-
top: 0;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
@use "../tooltip";
|
|
2
|
-
|
|
3
|
-
.tooltip {
|
|
4
|
-
@include tooltip.root();
|
|
5
|
-
|
|
6
|
-
.tooltip-arrow {
|
|
7
|
-
position: absolute;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
&:not(.no-arrow) {
|
|
11
|
-
&.top {
|
|
12
|
-
@include tooltip.arrowTop();
|
|
13
|
-
|
|
14
|
-
.tooltip-arrow {
|
|
15
|
-
bottom: 0;
|
|
16
|
-
left: tooltip.$arrow-offset;
|
|
17
|
-
margin-left: tooltip.$arrow-margin * -2;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&.right {
|
|
22
|
-
@include tooltip.arrowRight();
|
|
23
|
-
|
|
24
|
-
.tooltip-arrow {
|
|
25
|
-
left: 0;
|
|
26
|
-
margin-top: tooltip.$arrow-margin * -2;
|
|
27
|
-
top: tooltip.$arrow-offset;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&.left {
|
|
32
|
-
@include tooltip.arrowLeft();
|
|
33
|
-
|
|
34
|
-
.tooltip-arrow {
|
|
35
|
-
margin-top: tooltip.$arrow-margin * -2;
|
|
36
|
-
right: 0;
|
|
37
|
-
top: tooltip.$arrow-offset;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&.bottom {
|
|
42
|
-
@include tooltip.arrowBottom();
|
|
43
|
-
|
|
44
|
-
.tooltip-arrow {
|
|
45
|
-
left: tooltip.$arrow-offset;
|
|
46
|
-
margin-left: tooltip.$arrow-margin * -2;
|
|
47
|
-
top: 0;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.fade {
|
|
54
|
-
opacity: 0;
|
|
55
|
-
transition: opacity 0.15s linear;
|
|
56
|
-
|
|
57
|
-
&.in {
|
|
58
|
-
opacity: 1;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
@use "../../variables/units";
|
|
2
|
-
@use "../../variables/colors";
|
|
3
|
-
|
|
4
|
-
$arrow-width: 6px;
|
|
5
|
-
$opacity: 1;
|
|
6
|
-
$padding-vertical: units.$u2;
|
|
7
|
-
$padding-horizontal: units.$u1;
|
|
8
|
-
$border-radius: units.$u1 * 0.5;
|
|
9
|
-
$arrow-color: colors.$wit;
|
|
10
|
-
$arrow-margin: $arrow-width * 0.5;
|
|
11
|
-
$arrow-offset: 50%;
|
|
12
|
-
$max-width: 80 * units.$u1;
|
|
13
|
-
$max-width-small: 40 * units.$u1;
|
|
14
|
-
|
|
15
|
-
// Keep var in sync with const transitionDuration in @dso-toolkit/core/tooltip.scss
|
|
16
|
-
$transition-duration: 0.15s;
|