@utrecht/component-library-css 1.0.0-alpha.539 → 1.0.0-alpha.540

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 +22 -2
  2. package/package.json +2 -2
package/dist/index.css CHANGED
@@ -386,7 +386,13 @@ so do not apply these styles to an HTML `<dialog>` element without `open` attrib
386
386
  * Copyright (c) 2020-2022 Frameless B.V.
387
387
  */
388
388
  .utrecht-badge-data {
389
- /* `line-height` has a default value, so `line-height` can be used on a parent element to add vertical space between badges */
389
+ /*
390
+ * `line-height` has a default value, so `line-height` can be used on a parent element to add vertical space between badges
391
+ *
392
+ * Configure maximum size to prevent stretching badges inside a flexbox.
393
+ *
394
+ * Configure minumum size to have space to type in when displaying badges in a WYSIWYG editor.
395
+ */
390
396
  background-color: var(--utrecht-badge-background-color, hsl(0, 0%, 0%));
391
397
  border-radius: var(--utrecht-badge-border-radius, 0.5ch);
392
398
  color: var(--utrecht-badge-color, hsl(0, 0%, 100%));
@@ -396,6 +402,10 @@ so do not apply these styles to an HTML `<dialog>` element without `open` attrib
396
402
  font-style: var(--utrecht-badge-font-style, normal); /* no inheritance */
397
403
  font-weight: var(--utrecht-badge-font-weight, bold); /* no inheritance */
398
404
  line-height: var(--utrecht-badge-line-height, 1em);
405
+ max-block-size: max-content;
406
+ max-inline-size: max-content;
407
+ min-block-size: 1em;
408
+ min-inline-size: 1em;
399
409
  padding-block-end: var(--utrecht-badge-padding-block, 0.5ex);
400
410
  padding-block-start: var(--utrecht-badge-padding-block, 0.5ex);
401
411
  padding-inline-end: var(--utrecht-badge-padding-inline, 0.5ch);
@@ -445,7 +455,13 @@ so do not apply these styles to an HTML `<dialog>` element without `open` attrib
445
455
  * Copyright (c) 2020-2022 Frameless B.V.
446
456
  */
447
457
  .utrecht-badge-status {
448
- /* `line-height` has a default value, so `line-height` can be used on a parent element to add vertical space between badges */
458
+ /*
459
+ * `line-height` has a default value, so `line-height` can be used on a parent element to add vertical space between badges
460
+ *
461
+ * Configure maximum size to prevent stretching badges inside a flexbox.
462
+ *
463
+ * Configure minumum size to have space to type in when displaying badges in a WYSIWYG editor.
464
+ */
449
465
  background-color: var(--utrecht-badge-background-color, hsl(0, 0%, 0%));
450
466
  border-radius: var(--utrecht-badge-border-radius, 0.5ch);
451
467
  color: var(--utrecht-badge-color, hsl(0, 0%, 100%));
@@ -455,6 +471,10 @@ so do not apply these styles to an HTML `<dialog>` element without `open` attrib
455
471
  font-style: var(--utrecht-badge-font-style, normal); /* no inheritance */
456
472
  font-weight: var(--utrecht-badge-font-weight, bold); /* no inheritance */
457
473
  line-height: var(--utrecht-badge-line-height, 1em);
474
+ max-block-size: max-content;
475
+ max-inline-size: max-content;
476
+ min-block-size: 1em;
477
+ min-inline-size: 1em;
458
478
  padding-block-end: var(--utrecht-badge-padding-block, 0.5ex);
459
479
  padding-block-start: var(--utrecht-badge-padding-block, 0.5ex);
460
480
  padding-inline-end: var(--utrecht-badge-padding-inline, 0.5ch);
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0-alpha.539",
2
+ "version": "1.0.0-alpha.540",
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": "96d5a2fcfba0f5110030a550f7f35db4e281f3e5"
29
+ "gitHead": "06683fc38ce74fdae7ce1e12a2fc3b0ee14ee7ba"
30
30
  }