@pushengineering/umg-web-components 3.1.9 → 3.1.10

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.
@@ -15,11 +15,11 @@ const buttonPlain = css `
15
15
  padding: 0;
16
16
  height: auto;
17
17
  background-color: transparent;
18
- color: var(--umg-color-button-background, var(--umg-color-base-text, rgb(0,0,0)));
18
+ color: var(--umg-color-base-text, inherit);
19
19
  }
20
20
  @supports (color: rgb(from white r g b)) {
21
21
  .btn--plain, .btn--plain-underline {
22
- color: rgb(from var(--umg-color-button-background, var(--umg-color-base-text, rgb(0,0,0))) r g b / alpha);
22
+ color: rgb(from var(--umg-color-base-text, inherit) r g b / alpha);
23
23
  }
24
24
  }
25
25
  .btn--plain:focus-visible {
@@ -40,7 +40,12 @@ const buttonPlain = css `
40
40
  transition: text-decoration-color 0.2s;
41
41
  }
42
42
  .btn--plain-underline:not([disabled]):hover {
43
- text-decoration-color: var(--umg-color-button-background, var(--umg-color-base-text, rgb(0,0,0, 0.5)));
43
+ text-decoration-color: var(--umg-color-base-text, inherit);
44
+ }
45
+ @supports (color: rgb(from white r g b)) {
46
+ .btn--plain-underline:not([disabled]):hover {
47
+ text-decoration-color: rgb(from var(--umg-color-base-text, ) r g b / 0.5)
48
+ }
44
49
  }
45
50
  .btn--plain-underline:not([disabled]):focus-visible {
46
51
  outline: none;
@@ -48,11 +53,6 @@ const buttonPlain = css `
48
53
  text-decoration-thickness: 0.125rem;
49
54
  text-underline-offset: 0.25rem;
50
55
  }
51
- @supports (color: rgb(from white r g b)) {
52
- .btn--plain-underline:not([disabled]):hover {
53
- text-decoration-color: rgb(from var(--umg-color-button-background, var(--umg-color-base-text, rgb(0,0,0,0.5))) r g b / alpha)
54
- }
55
- }
56
56
  `;
57
57
 
58
58
  export { buttonPlain };
@@ -1,5 +1,10 @@
1
1
  declare const designTokens: {
2
2
  primary: {
3
+ 'umg-color-base-text': {
4
+ value: string;
5
+ description: string;
6
+ category: string;
7
+ };
3
8
  'umg-color-button-text': {
4
9
  value: string;
5
10
  description: string;
@@ -1 +1 @@
1
- {"version":3,"file":"designTokens.d.ts","sourceRoot":"","sources":["../../../src/docs/button/designTokens.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;CAkBjB,CAAA;AAED,eAAe,YAAY,CAAA"}
1
+ {"version":3,"file":"designTokens.d.ts","sourceRoot":"","sources":["../../../src/docs/button/designTokens.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;CAuBjB,CAAA;AAED,eAAe,YAAY,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushengineering/umg-web-components",
3
- "version": "3.1.9",
3
+ "version": "3.1.10",
4
4
  "type": "module",
5
5
  "module": "dist/components/index.js",
6
6
  "types": "dist/components/index.d.ts",