@baloise/ds-styles 17.4.0-snapshot.1609-d2bcc38d3 → 17.4.1

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 (75) hide show
  1. package/css/all.css +1058 -651
  2. package/css/all.css.map +1 -1
  3. package/css/all.min.css +1 -1
  4. package/css/baloise-design-system.css +1058 -651
  5. package/css/baloise-design-system.css.map +1 -1
  6. package/css/baloise-design-system.min.css +1 -1
  7. package/css/basic.css +127 -53
  8. package/css/basic.css.map +1 -1
  9. package/css/basic.min.css +1 -1
  10. package/css/core.css +53 -53
  11. package/css/core.css.map +1 -1
  12. package/css/core.min.css +1 -1
  13. package/css/structure.css.map +1 -1
  14. package/css/utilities/all.css +600 -600
  15. package/css/utilities/all.css.map +1 -1
  16. package/css/utilities/all.min.css +1 -1
  17. package/css/utilities/background.css.map +1 -1
  18. package/css/utilities/border.css.map +1 -1
  19. package/css/utilities/elevation.css.map +1 -1
  20. package/css/utilities/flex.css.map +1 -1
  21. package/css/utilities/grid.css.map +1 -1
  22. package/css/utilities/interaction.css.map +1 -1
  23. package/css/utilities/layout.css.map +1 -1
  24. package/css/utilities/sizing.css.map +1 -1
  25. package/css/utilities/spacing.css +600 -600
  26. package/css/utilities/spacing.css.map +1 -1
  27. package/css/utilities/spacing.min.css +1 -1
  28. package/css/utilities/typography.css.map +1 -1
  29. package/package.json +3 -3
  30. package/sass/all.sass +6 -6
  31. package/sass/baloise-design-system.sass +1 -1
  32. package/sass/basic.sass +5 -5
  33. package/sass/core.sass +4 -3
  34. package/sass/font.sass +1 -1
  35. package/sass/mixins.sass +3 -1
  36. package/sass/structure.sass +1 -1
  37. package/sass/utilities/all.sass +9 -9
  38. package/sass/utilities/background.sass +2 -2
  39. package/sass/utilities/border.sass +2 -2
  40. package/sass/utilities/elevation.sass +2 -2
  41. package/sass/utilities/flex.sass +2 -2
  42. package/sass/utilities/grid.sass +2 -2
  43. package/sass/utilities/interaction.sass +2 -2
  44. package/sass/utilities/layout.sass +2 -2
  45. package/sass/utilities/sizing.sass +2 -2
  46. package/sass/utilities/spacing.sass +2 -2
  47. package/sass/utilities/typography.sass +2 -2
  48. package/src/core/_all.sass +8 -8
  49. package/src/core/container.sass +0 -2
  50. package/src/core/form/_all.sass +6 -6
  51. package/src/core/form/button.sass +0 -2
  52. package/src/core/form/file.sass +0 -3
  53. package/src/core/form/input-textarea.sass +0 -2
  54. package/src/core/form/select.sass +0 -3
  55. package/src/core/form/shared.sass +0 -2
  56. package/src/core/form/tools.sass +0 -2
  57. package/src/core/grid.sass +0 -1
  58. package/src/core/link.sass +0 -2
  59. package/src/core/list.sass +0 -2
  60. package/src/core/table.sass +0 -2
  61. package/src/core/typography.sass +0 -2
  62. package/src/core/vars/_all.sass +7 -7
  63. package/src/generated/background.sass +0 -3
  64. package/src/generated/border.sass +0 -3
  65. package/src/generated/elevation.sass +0 -3
  66. package/src/generated/flex.sass +0 -3
  67. package/src/generated/interaction.sass +0 -3
  68. package/src/generated/layout.sass +0 -3
  69. package/src/generated/sizing.sass +0 -3
  70. package/src/generated/spacing.sass +600 -603
  71. package/src/generated/typography.sass +0 -3
  72. package/src/mixins/_all.sass +6 -6
  73. package/src/mixins/breakpoint.mixin.sass +0 -2
  74. package/src/mixins/extends.sass +0 -2
  75. package/src/mixins/general.mixin.sass +0 -1
package/css/basic.css CHANGED
@@ -1,4 +1,4 @@
1
- .table:not(:last-child), .table-container:not(:last-child) {
1
+ .table-container:not(:last-child), .table:not(:last-child) {
2
2
  margin-bottom: 0.25rem;
3
3
  }
4
4
 
@@ -10,9 +10,9 @@
10
10
  }
11
11
 
12
12
  @media (hover: hover) and (pointer: fine) {
13
- a.link:not(.button).is-inverted:focus-visible,
14
- a.is-link:not(.button).is-inverted:focus-visible, a.link:not(.button).is-light:focus-visible,
15
- a.is-link:not(.button).is-light:focus-visible, .button.is-light:focus-visible:not(:active), .button.is-light.is-focused:not(:active), .button.is-inverted:focus-visible:not(:active), .button.is-inverted.is-focused:not(:active), .button.is-inverted.is-light:focus-visible:not(:active), .button.is-inverted.is-light.is-focused:not(:active) {
13
+ a.link:not(.button).is-light:focus-visible,
14
+ a.is-link:not(.button).is-light:focus-visible, a.link:not(.button).is-inverted:focus-visible,
15
+ a.is-link:not(.button).is-inverted:focus-visible, .button.is-inverted.is-light:focus-visible:not(:active), .button.is-inverted.is-light.is-focused:not(:active), .button.is-inverted:focus-visible:not(:active), .button.is-inverted.is-focused:not(:active), .button.is-light:focus-visible:not(:active), .button.is-light.is-focused:not(:active) {
16
16
  box-shadow: var(--bal-focus-shadow-inverted) !important;
17
17
  }
18
18
  }
@@ -386,6 +386,43 @@ template {
386
386
  display: none;
387
387
  }
388
388
 
389
+ .table-container:not(:last-child), .table:not(:last-child) {
390
+ margin-bottom: 0.25rem;
391
+ }
392
+
393
+ @media (hover: hover) and (pointer: fine) {
394
+ a.link:not(.button):focus-visible,
395
+ a.is-link:not(.button):focus-visible, .button:focus-visible:not(:active), .button.is-focused:not(:active) {
396
+ box-shadow: var(--bal-focus-shadow) !important;
397
+ }
398
+ }
399
+
400
+ @media (hover: hover) and (pointer: fine) {
401
+ a.link:not(.button).is-light:focus-visible,
402
+ a.is-link:not(.button).is-light:focus-visible, a.link:not(.button).is-inverted:focus-visible,
403
+ a.is-link:not(.button).is-inverted:focus-visible, .button.is-inverted.is-light:focus-visible:not(:active), .button.is-inverted.is-light.is-focused:not(:active), .button.is-inverted:focus-visible:not(:active), .button.is-inverted.is-focused:not(:active), .button.is-light:focus-visible:not(:active), .button.is-light.is-focused:not(:active) {
404
+ box-shadow: var(--bal-focus-shadow-inverted) !important;
405
+ }
406
+ }
407
+
408
+ .button.is-disabled.is-inverted, .button.is-disabled, .button.is-disabled:hover, .button.is-disabled:active, .button.is-disabled:focus, .button.is-inverted:disabled, .button:disabled, .file.is-disabled .file-label,
409
+ .file.is-disabled .file-cta {
410
+ cursor: default !important;
411
+ pointer-events: none !important;
412
+ }
413
+
414
+ .button, .file {
415
+ -webkit-touch-callout: none;
416
+ -webkit-user-select: none;
417
+ -moz-user-select: none;
418
+ user-select: none;
419
+ }
420
+
421
+ .button {
422
+ -moz-osx-font-smoothing: grayscale;
423
+ -webkit-font-smoothing: antialiased;
424
+ }
425
+
389
426
  html {
390
427
  background-color: var(--bal-body-background);
391
428
  font-size: var(--bal-body-font-size);
@@ -563,7 +600,7 @@ fieldset {
563
600
  }
564
601
  /**
565
602
  * Do not edit directly
566
- * Generated on Thu, 06 Feb 2025 21:52:18 GMT
603
+ * Generated on Fri, 07 Feb 2025 09:32:44 GMT
567
604
  */
568
605
  :root {
569
606
  --bal-text-shadow-normal: 0px 0px 4px rgba(0, 0, 0, 0.15), 0px 4px 12px rgba(0, 0, 0, 0.25), 0px 0px 80px rgba(0, 0, 0, 0.5); /* Increases readability when used on a image background. */
@@ -831,6 +868,76 @@ fieldset {
831
868
  --bal-color-background-primary: var(--bal-color-primary-5); /* Blue is our accent color and it is present on every touchpoint. Our logo, text, buttons and links are blue. */
832
869
  }
833
870
 
871
+ :root {
872
+ --bal-line-height-x-small: 1.125rem;
873
+ --bal-line-height-small: 1.25rem;
874
+ --bal-line-height-normal: 1.5rem;
875
+ --bal-line-height-medium: 1.5rem;
876
+ --bal-line-height-large: 1.5rem;
877
+ --bal-line-height-x-large: 2rem;
878
+ --bal-line-height-xx-large: 2rem;
879
+ --bal-line-height-xxx-large: 2rem;
880
+ --bal-line-height-xxxx-large: 2.5rem;
881
+ --bal-line-height-xxxxx-large: 3.5rem;
882
+ --bal-line-height-tablet-x-small: 1.125rem;
883
+ --bal-line-height-tablet-small: 1.25rem;
884
+ --bal-line-height-tablet-normal: 1.5rem;
885
+ --bal-line-height-tablet-medium: 1.625rem;
886
+ --bal-line-height-tablet-large: 2rem;
887
+ --bal-line-height-tablet-x-large: 2rem;
888
+ --bal-line-height-tablet-xx-large: 2.5rem;
889
+ --bal-line-height-tablet-xxx-large: 3rem;
890
+ --bal-line-height-tablet-xxxx-large: 3.5rem;
891
+ --bal-line-height-tablet-xxxxx-large: 6rem;
892
+ --bal-line-height-desktop-x-small: 1.125rem;
893
+ --bal-line-height-desktop-small: 1.25rem;
894
+ --bal-line-height-desktop-normal: 1.5rem;
895
+ --bal-line-height-desktop-medium: 1.625rem;
896
+ --bal-line-height-desktop-large: 2rem;
897
+ --bal-line-height-desktop-x-large: 2rem;
898
+ --bal-line-height-desktop-xx-large: 2.5rem;
899
+ --bal-line-height-desktop-xxx-large: 3rem;
900
+ --bal-line-height-desktop-xxxx-large: 3.5rem;
901
+ --bal-line-height-desktop-xxxxx-large: 6rem;
902
+ }
903
+
904
+ .table-container:not(:last-child), .table:not(:last-child) {
905
+ margin-bottom: 0.25rem;
906
+ }
907
+
908
+ @media (hover: hover) and (pointer: fine) {
909
+ a.link:not(.button):focus-visible,
910
+ a.is-link:not(.button):focus-visible, .button:focus-visible:not(:active), .button.is-focused:not(:active) {
911
+ box-shadow: var(--bal-focus-shadow) !important;
912
+ }
913
+ }
914
+
915
+ @media (hover: hover) and (pointer: fine) {
916
+ a.link:not(.button).is-light:focus-visible,
917
+ a.is-link:not(.button).is-light:focus-visible, a.link:not(.button).is-inverted:focus-visible,
918
+ a.is-link:not(.button).is-inverted:focus-visible, .button.is-inverted.is-light:focus-visible:not(:active), .button.is-inverted.is-light.is-focused:not(:active), .button.is-inverted:focus-visible:not(:active), .button.is-inverted.is-focused:not(:active), .button.is-light:focus-visible:not(:active), .button.is-light.is-focused:not(:active) {
919
+ box-shadow: var(--bal-focus-shadow-inverted) !important;
920
+ }
921
+ }
922
+
923
+ .button.is-disabled.is-inverted, .button.is-disabled, .button.is-disabled:hover, .button.is-disabled:active, .button.is-disabled:focus, .button.is-inverted:disabled, .button:disabled, .file.is-disabled .file-label,
924
+ .file.is-disabled .file-cta {
925
+ cursor: default !important;
926
+ pointer-events: none !important;
927
+ }
928
+
929
+ .button, .file {
930
+ -webkit-touch-callout: none;
931
+ -webkit-user-select: none;
932
+ -moz-user-select: none;
933
+ user-select: none;
934
+ }
935
+
936
+ .button {
937
+ -moz-osx-font-smoothing: grayscale;
938
+ -webkit-font-smoothing: antialiased;
939
+ }
940
+
834
941
  /**
835
942
  * * @prop --bal-body-background: Body background color
836
943
  * * @prop --bal-body-font-family: Body font family
@@ -1363,7 +1470,7 @@ fieldset {
1363
1470
  --bal-table-striped-row-even-background-color-hover: var(--bal-color-grey-2);
1364
1471
  }
1365
1472
 
1366
- .select select, .input, .textarea {
1473
+ .select select, .textarea, .input {
1367
1474
  justify-content: flex-start;
1368
1475
  background-color: var(--bal-form-field-control-background);
1369
1476
  border-color: var(--bal-form-field-control-border-color);
@@ -1371,48 +1478,48 @@ fieldset {
1371
1478
  border-radius: var(--bal-form-field-control-radius);
1372
1479
  color: var(--bal-form-field-control-color);
1373
1480
  }
1374
- .select select::-moz-placeholder, .input::-moz-placeholder, .textarea::-moz-placeholder {
1481
+ .select select::-moz-placeholder, .textarea::-moz-placeholder, .input::-moz-placeholder {
1375
1482
  color: var(--bal-form-field-control-placeholder-color);
1376
1483
  }
1377
- .select select::-webkit-input-placeholder, .input::-webkit-input-placeholder, .textarea::-webkit-input-placeholder {
1484
+ .select select::-webkit-input-placeholder, .textarea::-webkit-input-placeholder, .input::-webkit-input-placeholder {
1378
1485
  color: var(--bal-form-field-control-placeholder-color);
1379
1486
  }
1380
- .select select:-moz-placeholder, .input:-moz-placeholder, .textarea:-moz-placeholder {
1487
+ .select select:-moz-placeholder, .textarea:-moz-placeholder, .input:-moz-placeholder {
1381
1488
  color: var(--bal-form-field-control-placeholder-color);
1382
1489
  }
1383
- .select select:-ms-input-placeholder, .input:-ms-input-placeholder, .textarea:-ms-input-placeholder {
1490
+ .select select:-ms-input-placeholder, .textarea:-ms-input-placeholder, .input:-ms-input-placeholder {
1384
1491
  color: var(--bal-form-field-control-placeholder-color);
1385
1492
  }
1386
1493
  @media (hover: hover) and (pointer: fine) {
1387
- .select select:hover, .input:hover, .textarea:hover, .select select.is-hovered, .is-hovered.input, .is-hovered.textarea {
1494
+ .select select:hover, .textarea:hover, .input:hover, .select select.is-hovered, .is-hovered.textarea, .is-hovered.input {
1388
1495
  border-color: var(--bal-form-field-control-border-color-hover);
1389
1496
  background-color: var(--bal-form-field-control-background-hover);
1390
1497
  }
1391
1498
  }
1392
- .select select.bal-focused, .bal-focused.input, .bal-focused.textarea, .select select:focus, .input:focus, .textarea:focus, .select select.is-focused, .is-focused.input, .is-focused.textarea, .select select:active, .input:active, .textarea:active, .select select.is-active, .is-active.input, .is-active.textarea {
1499
+ .select select.bal-focused, .bal-focused.textarea, .bal-focused.input, .select select:focus, .textarea:focus, .input:focus, .select select.is-focused, .is-focused.textarea, .is-focused.input, .select select:active, .textarea:active, .input:active, .select select.is-active, .is-active.textarea, .is-active.input {
1393
1500
  border-color: var(--bal-form-field-control-border-color-active);
1394
1501
  background-color: var(--bal-form-field-control-background-active);
1395
1502
  }
1396
- .select select[disabled], [disabled].input, [disabled].textarea, fieldset[disabled] .select select, .select fieldset[disabled] select, fieldset[disabled] .input, fieldset[disabled] .textarea {
1503
+ .select select[disabled], [disabled].textarea, [disabled].input, fieldset[disabled] .select select, .select fieldset[disabled] select, fieldset[disabled] .textarea, fieldset[disabled] .input {
1397
1504
  background-color: var(--bal-form-field-control-disabled-background);
1398
1505
  border-color: var(--bal-form-field-control-disabled-border-color);
1399
1506
  box-shadow: none;
1400
1507
  color: var(--bal-form-field-control-disabled-color);
1401
1508
  }
1402
- .select select[disabled]::-moz-placeholder, [disabled].input::-moz-placeholder, [disabled].textarea::-moz-placeholder, fieldset[disabled] .select select::-moz-placeholder, .select fieldset[disabled] select::-moz-placeholder, fieldset[disabled] .input::-moz-placeholder, fieldset[disabled] .textarea::-moz-placeholder {
1509
+ .select select[disabled]::-moz-placeholder, [disabled].textarea::-moz-placeholder, [disabled].input::-moz-placeholder, fieldset[disabled] .select select::-moz-placeholder, .select fieldset[disabled] select::-moz-placeholder, fieldset[disabled] .textarea::-moz-placeholder, fieldset[disabled] .input::-moz-placeholder {
1403
1510
  color: var(--bal-form-field-control-disabled-color);
1404
1511
  }
1405
- .select select[disabled]::-webkit-input-placeholder, [disabled].input::-webkit-input-placeholder, [disabled].textarea::-webkit-input-placeholder, fieldset[disabled] .select select::-webkit-input-placeholder, .select fieldset[disabled] select::-webkit-input-placeholder, fieldset[disabled] .input::-webkit-input-placeholder, fieldset[disabled] .textarea::-webkit-input-placeholder {
1512
+ .select select[disabled]::-webkit-input-placeholder, [disabled].textarea::-webkit-input-placeholder, [disabled].input::-webkit-input-placeholder, fieldset[disabled] .select select::-webkit-input-placeholder, .select fieldset[disabled] select::-webkit-input-placeholder, fieldset[disabled] .textarea::-webkit-input-placeholder, fieldset[disabled] .input::-webkit-input-placeholder {
1406
1513
  color: var(--bal-form-field-control-disabled-color);
1407
1514
  }
1408
- .select select[disabled]:-moz-placeholder, [disabled].input:-moz-placeholder, [disabled].textarea:-moz-placeholder, fieldset[disabled] .select select:-moz-placeholder, .select fieldset[disabled] select:-moz-placeholder, fieldset[disabled] .input:-moz-placeholder, fieldset[disabled] .textarea:-moz-placeholder {
1515
+ .select select[disabled]:-moz-placeholder, [disabled].textarea:-moz-placeholder, [disabled].input:-moz-placeholder, fieldset[disabled] .select select:-moz-placeholder, .select fieldset[disabled] select:-moz-placeholder, fieldset[disabled] .textarea:-moz-placeholder, fieldset[disabled] .input:-moz-placeholder {
1409
1516
  color: var(--bal-form-field-control-disabled-color);
1410
1517
  }
1411
- .select select[disabled]:-ms-input-placeholder, [disabled].input:-ms-input-placeholder, [disabled].textarea:-ms-input-placeholder, fieldset[disabled] .select select:-ms-input-placeholder, .select fieldset[disabled] select:-ms-input-placeholder, fieldset[disabled] .input:-ms-input-placeholder, fieldset[disabled] .textarea:-ms-input-placeholder {
1518
+ .select select[disabled]:-ms-input-placeholder, [disabled].textarea:-ms-input-placeholder, [disabled].input:-ms-input-placeholder, fieldset[disabled] .select select:-ms-input-placeholder, .select fieldset[disabled] select:-ms-input-placeholder, fieldset[disabled] .textarea:-ms-input-placeholder, fieldset[disabled] .input:-ms-input-placeholder {
1412
1519
  color: var(--bal-form-field-control-disabled-color);
1413
1520
  }
1414
1521
 
1415
- .file-cta, .select select, .input, .textarea {
1522
+ .file-cta, .select select, .textarea, .input {
1416
1523
  -moz-appearance: none !important;
1417
1524
  -webkit-appearance: none !important;
1418
1525
  align-items: center;
@@ -1430,10 +1537,10 @@ fieldset {
1430
1537
  position: relative;
1431
1538
  vertical-align: top;
1432
1539
  }
1433
- .file-cta:focus, .select select:focus, .input:focus, .textarea:focus, .is-focused.file-cta, .select select.is-focused, .is-focused.input, .is-focused.textarea, .file-cta:active, .select select:active, .input:active, .textarea:active, .is-active.file-cta, .select select.is-active, .is-active.input, .is-active.textarea {
1540
+ .file-cta:focus, .select select:focus, .textarea:focus, .input:focus, .is-focused.file-cta, .select select.is-focused, .is-focused.textarea, .is-focused.input, .file-cta:active, .select select:active, .textarea:active, .input:active, .is-active.file-cta, .select select.is-active, .is-active.textarea, .is-active.input {
1434
1541
  outline: none;
1435
1542
  }
1436
- [disabled].file-cta, .select select[disabled], [disabled].input, [disabled].textarea, fieldset[disabled] .file-cta, fieldset[disabled] .select select, .select fieldset[disabled] select, fieldset[disabled] .input, fieldset[disabled] .textarea {
1543
+ [disabled].file-cta, .select select[disabled], [disabled].textarea, [disabled].input, fieldset[disabled] .file-cta, fieldset[disabled] .select select, .select fieldset[disabled] select, fieldset[disabled] .textarea, fieldset[disabled] .input {
1437
1544
  cursor: default;
1438
1545
  }
1439
1546
 
@@ -5005,37 +5112,4 @@ table.table td.has-buttons .buttons {
5005
5112
  .has-sticky-footer footer.footer {
5006
5113
  margin-top: auto;
5007
5114
  }
5008
-
5009
- :root {
5010
- --bal-line-height-x-small: 1.125rem;
5011
- --bal-line-height-small: 1.25rem;
5012
- --bal-line-height-normal: 1.5rem;
5013
- --bal-line-height-medium: 1.5rem;
5014
- --bal-line-height-large: 1.5rem;
5015
- --bal-line-height-x-large: 2rem;
5016
- --bal-line-height-xx-large: 2rem;
5017
- --bal-line-height-xxx-large: 2rem;
5018
- --bal-line-height-xxxx-large: 2.5rem;
5019
- --bal-line-height-xxxxx-large: 3.5rem;
5020
- --bal-line-height-tablet-x-small: 1.125rem;
5021
- --bal-line-height-tablet-small: 1.25rem;
5022
- --bal-line-height-tablet-normal: 1.5rem;
5023
- --bal-line-height-tablet-medium: 1.625rem;
5024
- --bal-line-height-tablet-large: 2rem;
5025
- --bal-line-height-tablet-x-large: 2rem;
5026
- --bal-line-height-tablet-xx-large: 2.5rem;
5027
- --bal-line-height-tablet-xxx-large: 3rem;
5028
- --bal-line-height-tablet-xxxx-large: 3.5rem;
5029
- --bal-line-height-tablet-xxxxx-large: 6rem;
5030
- --bal-line-height-desktop-x-small: 1.125rem;
5031
- --bal-line-height-desktop-small: 1.25rem;
5032
- --bal-line-height-desktop-normal: 1.5rem;
5033
- --bal-line-height-desktop-medium: 1.625rem;
5034
- --bal-line-height-desktop-large: 2rem;
5035
- --bal-line-height-desktop-x-large: 2rem;
5036
- --bal-line-height-desktop-xx-large: 2.5rem;
5037
- --bal-line-height-desktop-xxx-large: 3rem;
5038
- --bal-line-height-desktop-xxxx-large: 3.5rem;
5039
- --bal-line-height-desktop-xxxxx-large: 6rem;
5040
- }
5041
5115
  /*# sourceMappingURL=basic.css.map */