claritas-web-framework 8.0.17 → 8.0.19

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/dist/index.html CHANGED
@@ -1 +1 @@
1
- <!doctype html><html lang="en"><head><meta charset="UTF-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title>Claritas Web Framework</title><script defer="defer" src="index.js"></script><link href="./index.css" rel="stylesheet"></head><body class="background--primary"><div class="container"><button type="button" class="button button--large button--white button--outline">Click me</button> <button type="button" class="button button--large button--white">Click me</button> <button type="button" class="button button--large button--red">Click me</button> <button type="button" class="button button--large button--cyan">Click me</button> <button type="button" class="button button--large button--light">Click me</button></div></body></html>
1
+ <!doctype html><html lang="en"><head><meta charset="UTF-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title>Claritas Web Framework</title><script defer="defer" src="index.js"></script><link href="./index.css" rel="stylesheet"></head><body><div class="container"><p class="color--danger">Hello</p></div></body></html>
package/index.html CHANGED
@@ -7,13 +7,9 @@
7
7
  <title><%= htmlWebpackPlugin.options.title %></title>
8
8
  </head>
9
9
 
10
- <body class="background--primary">
10
+ <body>
11
11
  <div class="container">
12
- <button type="button" class="button button--large button--white button--outline">Click me</button>
13
- <button type="button" class="button button--large button--white">Click me</button>
14
- <button type="button" class="button button--large button--red">Click me</button>
15
- <button type="button" class="button button--large button--cyan">Click me</button>
16
- <button type="button" class="button button--large button--light">Click me</button>
12
+ <p class="color--danger">Hello</p>
17
13
  </div>
18
14
  </body>
19
15
  </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claritas-web-framework",
3
- "version": "8.0.17",
3
+ "version": "8.0.19",
4
4
  "description": "The CSS framework built for Claritas front end.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -393,6 +393,7 @@ $card-header-footer-padding: calc($input-button-padding-y - 0.5px) $spacer !defa
393
393
  /* ----------------------------------- nav ---------------------------------- */
394
394
  $nav-item-padding-y: $input-button-padding-y !default;
395
395
  $nav-item-padding-x: $input-button-padding-x !default;
396
+ $nav-item-line-height: $input-button-line-height !default;
396
397
 
397
398
  /* ------------------------------- breadcrumbs ------------------------------ */
398
399
  $breadcrumb-color: $medium !default;
@@ -4,9 +4,7 @@
4
4
 
5
5
  .card {
6
6
  --card-background: var(--white);
7
- --card-hover-background: hsl(
8
- var(--body-color-h) var(--body-color-s) calc(var(--body-color-l) - #{$link-shade-percentage}) / 100%
9
- );
7
+ --card-hover-background: hsl(var(--body-color-h) var(--body-color-s) var(--body-color-l) / 10%);
10
8
  --card-border-width: 1px;
11
9
  --card-border-style: solid;
12
10
  --card-border-color: hsl(var(--border-color-h) var(--border-color-s) var(--border-color-l) / #{$border-opacity});
@@ -9,6 +9,7 @@
9
9
  --nav-item-border-color: transparent;
10
10
  --nav-item-active-border-color: transparent;
11
11
  --nav-item-border-radius: 0;
12
+ --nav-item-line-height: #{$nav-item-line-height};
12
13
 
13
14
  --nav-item-padding-x: #{$nav-item-padding-x};
14
15
  --nav-item-padding-y: #{$nav-item-padding-y};
@@ -67,6 +68,7 @@
67
68
  padding: var(--nav-item-padding-y) var(--nav-item-padding-x);
68
69
  color: var(--nav-item-color);
69
70
  background-color: var(--nav-item-background);
71
+ line-height: var(--nav-item-line-height);
70
72
  white-space: nowrap;
71
73
  display: inline-flex;
72
74
  text-align: center;