claritas-web-framework 8.5.6 → 8.5.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claritas-web-framework",
3
- "version": "8.5.6",
3
+ "version": "8.5.8",
4
4
  "description": "The CSS framework built for Claritas front end.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -23,11 +23,11 @@
23
23
  "sass-loader": "^16.0.5",
24
24
  "webpack": "^5.99.9",
25
25
  "webpack-cli": "^6.0.1",
26
- "webpack-dev-server": "^5.2.1"
26
+ "webpack-dev-server": "^5.2.2"
27
27
  },
28
28
  "dependencies": {
29
29
  "modern-normalize": "^3.0.1",
30
30
  "rfs": "^10.0.0",
31
- "sass": "^1.89.0"
31
+ "sass": "^1.89.1"
32
32
  }
33
33
  }
package/sass/_reboot.scss CHANGED
@@ -25,7 +25,6 @@ hr {
25
25
 
26
26
  %heading {
27
27
  margin: 0 0 0.5rem;
28
- font-family: $headings-font-family;
29
28
  font-style: $headings-font-style;
30
29
  font-weight: $headings-font-weight;
31
30
  line-height: $headings-line-height;
@@ -207,7 +207,6 @@ $text-wraps: (normal, nowrap) !default;
207
207
  $font-styles: (italic, oblique, normal) !default;
208
208
 
209
209
  /* -------------------------------- headings -------------------------------- */
210
- $headings-font-family: null !default;
211
210
  $headings-font-style: null !default;
212
211
  $headings-font-weight: $font-weight-bold !default;
213
212
  $headings-line-height: 1.2 !default;
@@ -322,7 +321,6 @@ $label-color: $body-color !default;
322
321
  $input-button-font-size: $font-size-base !default;
323
322
  $input-button-large-font-size: $font-size-4 !default;
324
323
  $input-button-small-font-size: $font-size-small !default;
325
- $input-button-font-family: $font-family-sans-serif !default;
326
324
  $input-button-line-height: $line-height-base !default;
327
325
  $input-button-padding-y: calc($spacer * 0.375) !default;
328
326
  $input-button-padding-x: calc($spacer * 0.75) !default;
@@ -336,7 +334,6 @@ $input-button-small-border-radius: $border-radius-small !default;
336
334
  $input-button-round-border-radius: $border-radius-round !default;
337
335
 
338
336
  // Input
339
- $input-font-family: $input-button-font-family !default;
340
337
  $input-font-weight: $font-weight-normal !default;
341
338
  $input-font-size: $input-button-font-size !default;
342
339
  $input-large-font-size: $input-button-large-font-size !default;
@@ -355,7 +352,6 @@ $input-small-border-radius: $input-button-small-border-radius !default;
355
352
  $input-round-border-radius: $input-button-round-border-radius !default;
356
353
 
357
354
  // Button
358
- $button-font-family: $input-button-font-family !default;
359
355
  $button-font-weight: $font-weight-normal !default;
360
356
  $button-font-size: $input-button-font-size !default;
361
357
  $button-large-font-size: $input-button-large-font-size !default;
@@ -8,11 +8,9 @@
8
8
  justify-content: flex-start;
9
9
  position: relative;
10
10
 
11
- @if $enable-margins {
12
- margin-bottom: var(--spacer);
13
- } @else {
14
- margin-bottom: 0;
15
- }
11
+ $group-margin-fallback: if($enable-margins, var(--spacer), 0);
12
+
13
+ margin-bottom: var(--group-margin-bottom, #{$group-margin-fallback});
16
14
  }
17
15
 
18
16
  @mixin make-group-column($gap: calc(var(--spacer) * 0.5)) {
@@ -6,11 +6,9 @@
6
6
  margin: 0;
7
7
  padding: 0;
8
8
 
9
- @if $enable-margins {
10
- margin-bottom: var(--spacer);
11
- } @else {
12
- margin-bottom: 0;
13
- }
9
+ $list-margin-fallback: if($enable-margins, var(--spacer), 0);
10
+
11
+ margin-bottom: var(--list-margin-bottom, #{$list-margin-fallback});
14
12
  }
15
13
 
16
14
  @mixin make-list-inline($gap: calc(var(--spacer) * 0.5)) {
@@ -20,11 +20,9 @@
20
20
  background: var(--alert-background);
21
21
  position: relative;
22
22
 
23
- @if $enable-margins {
24
- margin-bottom: var(--spacer);
25
- } @else {
26
- margin-bottom: 0;
27
- }
23
+ $alert-margin-fallback: if($enable-margins, var(--spacer), 0);
24
+
25
+ margin-bottom: var(--alert-margin-bottom, #{$alert-margin-fallback});
28
26
 
29
27
  @each $key in (1, 2, 3, 4, 5, 6) {
30
28
  h#{$key},
@@ -38,7 +38,6 @@
38
38
  --button-small-border-radius: #{$button-small-border-radius};
39
39
  --button-large-border-radius: #{$button-large-border-radius};
40
40
  --button-round-border-radius: #{$button-round-border-radius};
41
- --button-font-family: #{$button-font-family};
42
41
  --button-font-weight: #{$button-font-weight};
43
42
  --button-line-height: #{$button-line-height};
44
43
  --button-text-decoration: none;
@@ -55,7 +54,6 @@
55
54
  border: var(--button-border-width) var(--button-border-style) var(--button-border-color);
56
55
  box-shadow: var(--button-box-shadow);
57
56
  color: var(--button-color);
58
- font-family: var(--button-font-family);
59
57
  font-weight: var(--button-font-weight);
60
58
  line-height: var(--button-line-height);
61
59
  padding: var(--button-padding-y) var(--button-padding-x);
@@ -24,11 +24,9 @@
24
24
  flex: 1 1 auto;
25
25
  position: relative;
26
26
 
27
- @if $enable-margins {
28
- margin-bottom: var(--spacer);
29
- } @else {
30
- margin-bottom: 0;
31
- }
27
+ $card-margin-fallback: if($enable-margins, var(--spacer), 0);
28
+
29
+ margin-bottom: var(--card-margin-bottom, #{$card-margin-fallback});
32
30
 
33
31
  & > * {
34
32
  &:first-child {
@@ -4,11 +4,9 @@
4
4
  details {
5
5
  transition: $details-transition;
6
6
 
7
- @if $enable-margins {
8
- margin-bottom: var(--spacer);
9
- } @else {
10
- margin-bottom: 0;
11
- }
7
+ $details-margin-fallback: if($enable-margins, var(--spacer), 0);
8
+
9
+ margin-bottom: var(--details-margin-bottom, #{$details-margin-fallback});
12
10
 
13
11
  & summary {
14
12
  position: relative;
@@ -56,7 +56,6 @@
56
56
  --input-small-border-radius: #{$input-small-border-radius};
57
57
  --input-large-border-radius: #{$input-large-border-radius};
58
58
  --input-round-border-radius: #{$input-round-border-radius};
59
- --input-font-family: #{$input-font-family};
60
59
  --input-font-weight: #{$input-font-weight};
61
60
  --input-line-height: #{$input-line-height};
62
61
  --input-white-space: #{$input-white-space};
@@ -73,7 +72,6 @@
73
72
  box-shadow: var(--input-box-shadow);
74
73
  padding: var(--input-padding-y) var(--input-padding-x);
75
74
  border-radius: var(--input-border-radius);
76
- font-family: var(--input-font-family);
77
75
  font-weight: var(--input-font-weight);
78
76
  line-height: var(--input-line-height);
79
77
  white-space: var(--input-white-space);
@@ -122,7 +120,6 @@
122
120
  border-color: var(--input-disabled-border-color);
123
121
  background: var(--input-disabled-background);
124
122
  box-shadow: var(--input-disabled-box-shadow);
125
- pointer-events: none;
126
123
  opacity: 1;
127
124
  }
128
125
 
@@ -12,11 +12,9 @@
12
12
  }
13
13
 
14
14
  dl {
15
- @if $enable-margins {
16
- margin-bottom: var(--spacer);
17
- } @else {
18
- margin-bottom: 0;
19
- }
15
+ $dl-margin-fallback: if($enable-margins, var(--spacer), 0);
16
+
17
+ margin-bottom: var(--dl-margin-bottom, #{$dl-margin-fallback});
20
18
 
21
19
  & > *:last-child {
22
20
  margin-bottom: 0;
@@ -53,11 +51,9 @@ dl {
53
51
  border-radius: var(--border-radius-medium);
54
52
  border: 1px solid var(--border-color-main);
55
53
 
56
- @if $enable-margins {
57
- margin-bottom: var(--spacer);
58
- } @else {
59
- margin-bottom: 0;
60
- }
54
+ $li-margin-fallback: if($enable-margins, var(--spacer), 0);
55
+
56
+ margin-bottom: var(--li-margin-bottom, #{$li-margin-fallback});
61
57
 
62
58
  & .list__item {
63
59
  padding: calc(calc(var(--spacer) * 0.625) - 1px) var(--spacer);
@@ -77,7 +77,6 @@
77
77
  }
78
78
 
79
79
  & .nav__title {
80
- font-family: $headings-font-family;
81
80
  font-style: $headings-font-style;
82
81
  font-weight: $headings-font-weight;
83
82
  color: $headings-color;
@@ -7,11 +7,9 @@
7
7
  --tabs-border-color: var(--border-color-main);
8
8
  --tabs-background: var(--white);
9
9
 
10
- @if $enable-margins {
11
- margin-bottom: var(--spacer);
12
- } @else {
13
- margin-bottom: 0;
14
- }
10
+ $tabs-margin-fallback: if($enable-margins, var(--spacer), 0);
11
+
12
+ margin-bottom: var(--tabs-margin-bottom, #{$tabs-margin-fallback});
15
13
 
16
14
  & .nav--tabs {
17
15
  margin-bottom: 0;
@@ -28,11 +28,9 @@
28
28
  flex: 1 1 auto;
29
29
  position: relative;
30
30
 
31
- @if $enable-margins {
32
- margin-bottom: var(--spacer);
33
- } @else {
34
- margin-bottom: 0;
35
- }
31
+ $tile-margin-fallback: if($enable-margins, var(--spacer), 0);
32
+
33
+ margin-bottom: var(--tile-margin-bottom, #{$tile-margin-fallback});
36
34
 
37
35
  & > * {
38
36
  &:first-child {
@@ -3,6 +3,4 @@
3
3
 
4
4
  output {
5
5
  --input-background: color-mix(in oklab, var(--body-color), #fff 95%);
6
-
7
- pointer-events: none;
8
6
  }