@utrecht/component-library-css 1.0.0-alpha.358 → 1.0.0-alpha.359

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.
Files changed (2) hide show
  1. package/dist/index.css +82 -0
  2. package/package.json +2 -2
package/dist/index.css CHANGED
@@ -87,6 +87,88 @@
87
87
  --_utrecht-alert-color: var(--utrecht-alert-error-color);
88
88
  }
89
89
 
90
+ /**
91
+ * @license EUPL-1.2
92
+ * Copyright (c) 2020-2022 Gemeente Utrecht
93
+ * Copyright (c) 2020-2022 Frameless B.V.
94
+ */
95
+ /**
96
+ * @license EUPL-1.2
97
+ * Copyright (c) 2020-2022 Gemeente Utrecht
98
+ * Copyright (c) 2020-2022 Frameless B.V.
99
+ */
100
+ /**
101
+ * @license EUPL-1.2
102
+ * Copyright (c) 2020-2022 Gemeente Utrecht
103
+ * Copyright (c) 2020-2022 Frameless B.V.
104
+ */
105
+ /**
106
+ * @license EUPL-1.2
107
+ * Copyright (c) 2020-2022 Gemeente Utrecht
108
+ * Copyright (c) 2020-2022 Frameless B.V.
109
+ */
110
+ /* No good use case for `--ok` yet */
111
+ .utrecht-alert-dialog {
112
+ background-color: var(--_utrecht-alert-background-color, var(--utrecht-alert-background-color));
113
+ color: var(--_utrecht-alert-color, var(--utrecht-alert-color));
114
+ display: grid;
115
+ gap: var(--utrecht-alert-icon-gap);
116
+ grid-template-areas: "icon message";
117
+ grid-template-columns: 0fr 100fr;
118
+ margin-block-end: calc(var(--utrecht-space-around, 0) * var(--utrecht-alert-margin-block-end, 0));
119
+ margin-block-start: calc(var(--utrecht-space-around, 0) * var(--utrecht-alert-margin-block-start, 0));
120
+ padding-block-end: var(--utrecht-alert-padding-block-end);
121
+ padding-block-start: var(--utrecht-alert-padding-block-start);
122
+ padding-inline-end: var(--utrecht-alert-padding-inline-end);
123
+ padding-inline-start: var(--utrecht-alert-padding-inline-start);
124
+ border-style: none; /* reset <dialog> element */
125
+ max-block-size: var(--utrecht-alert-dialog-max-block-size);
126
+ max-inline-size: var(--utrecht-alert-dialog-max-inline-size);
127
+ min-block-size: var(--utrecht-alert-dialog-min-block-size);
128
+ min-inline-size: var(--utrecht-alert-dialog-min-inline-size);
129
+ }
130
+
131
+ .utrecht-alert-dialog::backdrop {
132
+ background-color: var(--utrecht-backdrop-background-color);
133
+ bottom: 0;
134
+ color: var(--utrecht-backdrop-color);
135
+ display: block;
136
+ left: 0;
137
+ opacity: var(--utrecht-backdrop-opacity);
138
+ position: absolute;
139
+ right: 0;
140
+ top: 0;
141
+ user-select: none;
142
+ z-index: var(--utrecht-backdrop-z-index);
143
+ }
144
+
145
+ .utrecht-alert-dialog__icon {
146
+ --utrecht-icon-color: var(--_utrecht-alert-icon-color, var(--utrecht-alert-icon-color));
147
+ grid-area: icon;
148
+ }
149
+
150
+ .utrecht-alert-dialog__message {
151
+ grid-area: message;
152
+ }
153
+
154
+ .utrecht-alert-dialog--error {
155
+ --_utrecht-alert-icon-color: var(--utrecht-alert-icon-error-color);
156
+ --_utrecht-alert-background-color: var(--utrecht-alert-error-background-color);
157
+ --_utrecht-alert-color: var(--utrecht-alert-error-color);
158
+ }
159
+
160
+ .utrecht-alert-dialog--info {
161
+ --_utrecht-alert-icon-color: var(--utrecht-alert-icon-info-color);
162
+ --_utrecht-alert-background-color: var(--utrecht-alert-info-background-color);
163
+ --_utrecht-alert-color: var(--utrecht-alert-info-color);
164
+ }
165
+
166
+ .utrecht-alert-dialog--warning {
167
+ --_utrecht-alert-icon-color: var(--utrecht-alert-icon-warning-color);
168
+ --_utrecht-alert-background-color: var(--utrecht-alert-warning-background-color);
169
+ --_utrecht-alert-color: var(--utrecht-alert-warning-color);
170
+ }
171
+
90
172
  /**
91
173
  * @license EUPL-1.2
92
174
  * Copyright (c) 2020-2022 Gemeente Utrecht
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0-alpha.358",
2
+ "version": "1.0.0-alpha.359",
3
3
  "author": "Community for NL Design System",
4
4
  "description": "Component library bundle for the Municipality of Utrecht based on the NL Design System architecture",
5
5
  "license": "EUPL-1.2",
@@ -26,5 +26,5 @@
26
26
  "clean": "rimraf dist/"
27
27
  },
28
28
  "main": "dist/index.css",
29
- "gitHead": "12f79709a38e54d3bad3942d34dd3c802553fa1e"
29
+ "gitHead": "e2ed9faf6a3b3eb4a924e2d4ef50e698ef972f06"
30
30
  }