claritas-web-framework 6.4.24 → 6.4.25

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><div class="container padding-y--5"><div class="alert alert--danger">Hello <a href="/">Click</a></div><hr/><div class="grid--tight"><div class="col--desktop-fit"><div class="card margin--0"><div class="card--body">Column</div></div></div><div class="col--desktop-fit"><div class="card margin--0"><div class="card--body">Column</div></div></div><div class="col--desktop-fit"><div class="card margin--0"><div class="card--body">Column</div></div></div></div><button type="button" class="close"></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 padding-y--5"><button type="button" class="button button--unstyled">A button</button><div class="alert alert--danger">Some text<br/><button type="button" class="button button--unstyled">A button</button><br/><a href="/" class="display--inline-block">A link</a></div></div></body></html>
package/index.html CHANGED
@@ -9,27 +9,12 @@
9
9
 
10
10
  <body>
11
11
  <div class="container padding-y--5">
12
- <div class="alert alert--danger">Hello <a href="/">Click</a></div>
13
- <hr />
14
-
15
- <div class="grid--tight">
16
- <div class="col--desktop-fit">
17
- <div class="card margin--0">
18
- <div class="card--body">Column</div>
19
- </div>
20
- </div>
21
- <div class="col--desktop-fit">
22
- <div class="card margin--0">
23
- <div class="card--body">Column</div>
24
- </div>
25
- </div>
26
- <div class="col--desktop-fit">
27
- <div class="card margin--0">
28
- <div class="card--body">Column</div>
29
- </div>
30
- </div>
12
+ <button type="button" class="button button--unstyled">A button</button>
13
+ <div class="alert alert--danger">
14
+ Some text<br />
15
+ <button type="button" class="button button--unstyled">A button</button><br />
16
+ <a href="/" class="display--inline-block">A link</a>
31
17
  </div>
32
- <button type="button" class="close"></button>
33
18
  </div>
34
19
  </body>
35
20
  </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claritas-web-framework",
3
- "version": "6.4.24",
3
+ "version": "6.4.25",
4
4
  "updated": "26/05/2023",
5
5
  "description": "The CSS framework built for Claritas front end.",
6
6
  "main": "index.js",
@@ -189,6 +189,7 @@
189
189
 
190
190
  &:hover,
191
191
  .button--switch + &:hover {
192
+ --button-text-decoration: underline;
192
193
  --button-color: hsl(
193
194
  var(--#{$color-title}-h) var(--#{$color-title}-s) calc(var(--#{$color-title}-l) - #{$shade}) /
194
195
  var(--#{$color-title}-a)
@@ -41,7 +41,8 @@
41
41
  }
42
42
  }
43
43
 
44
- & a:not(.button) {
44
+ & a:not(.button),
45
+ & .button--unstyled {
45
46
  color: var(--alert-link-color);
46
47
  font-weight: $font-weight-semibold;
47
48
 
@@ -22,6 +22,7 @@
22
22
  --button-font-weight: #{$button-font-weight};
23
23
  --button-line-height: #{$button-line-height};
24
24
  --button-text-decoration: none;
25
+ --button-hover-text-decoration: none;
25
26
  --button-white-space: #{$button-white-space};
26
27
 
27
28
  @include rfs($button-font-size, --button-font-size);